CopilotKit is a typescript library for adding a hackable copilot to any react app.
You can let the copilot interact with your app via plain typescript closures, and give it (explicit) read access to app data.
An example user interaction could look like: - "Which of these travel destinations has a rich architecture history?" - [Copilot answers] - "Great. Add these to my august trip folder, except the ones where it's typically rainy then" - [Added]
Recursive agent integration (via Langchain) is in the works - if you have ideas I'd love to hear them here or on the discord.