Purpose of this project
April 12, 2025 ยท View on GitHub
This is a small project where I try to integrate Copilotkit project with Agno framework. I want copilitkit to work with Agno, as it works with CrewAI and Langraph, so that developers can enable applications with Agno based ai agents.
Project Structure
Backend
The backend is implemented in Python and consists of the following key components:
backend/copilotkit_integration/: Contains the core integration logic between Copilotkit and Agnoagno_agent_adapter.py: Adapter for Agno agentsagno_workflow_adapter.py: Workflow integration with Agnoutils.py: Utility functions for the integration
backend/main.py: Main application entry pointbackend/sample_agent.py: Example implementation of an Agno agent
Frontend (UI)
The frontend is built using modern web technologies:
- Framework: Next.js with TypeScript
- Styling: Tailwind CSS
- Key files:
ui/app/: Contains the Next.js application pages and componentsui/public/: Static assetsui/components.json: UI component configurations
Installation and Setup
Backend Setup
-
Navigate to the backend directory:
cd backend -
Install Python dependencies:
uv pip install -r requirements.txt -
Start the backend server:
uvicorn main:app --host 0.0.0.0 --port 8000 --reloadThe backend will be available at http://localhost:8000
Frontend Setup
-
Navigate to the UI directory:
cd ui -
Install frontend dependencies:
pnpm install -
Start the development server:
pnpm run devThe frontend will be available at http://localhost:3000
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request