This repository was archived by the owner on Feb 19, 2026. It is now read-only.
feat: Add Composio integration with Toolbox UI and connection management#5
Merged
Conversation
- Add collapsible Toolbox UI component for managing AI tools - Implement OAuth connection flow for third-party services - Add connection management with delete functionality - Track and send connection status with chat requests - Update chat API to use only enabled toolkit tools - Add responsive design for desktop and mobile - Include keyboard shortcut (⌘T) for quick access Co-authored-by: Claude <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 Add Composio Integration with Toolbox UI and Connection Management
Summary
This PR introduces a comprehensive Composio integration for the AI chatbot, featuring a new Toolbox UI that allows users to enable/disable AI tools and manage their third-party service connections.
Key Features
1. Toolbox UI Component 🧰
2. Connection Management 🔌
3. Enhanced Tool Integration ⚡
Technical Implementation
API Changes
/api/toolkits: Fetches toolkit metadata and connection status for the authenticated user/api/connections/initiate: Initiates OAuth connection flow for a toolkit/api/connections: Removes an existing toolkit connectionState Management
Type Safety
File Changes
components/toolbar.tsx- Main toolbar component with connection managementapp/api/toolkits/route.ts- Endpoint for fetching toolkits with connection statusapp/api/connections/route.ts- New endpoint for deleting connectionsapp/api/connections/initiate/route.ts- OAuth flow initiationcomponents/chat.tsx- Updated to pass enabled toolkits to chat APIapp/(chat)/api/chat/route.ts- Integrated Composio tools based on enabled toolkitslib/ai/tools/composio.ts- Service layer for fetching Composio toolsUser Experience
Future Enhancements
Testing Notes