This repository is a demonstration of the AGUI protocol featuring three interactive demo applications:
- Research Canvas: An AI-powered research assistant.
- Planner Canvas: An AI-driven project planner.
- Haiku Canvas: A creative haiku generator and editor.
The project is organized into two main parts:
frontend/
: A Next.js/React-based UI for interacting with the canvases and agents.agent/
: A Python FastAPI backend implementing the AGUI protocol, providing agent logic for research, planning, and haiku generation.
.
├── agent/ # Python FastAPI backend with AGUI protocol agents
├── frontend/ # Next.js frontend for the canvas applications and Mastra Agent
└── README.md
- Purpose: Helps users gather, analyze, and structure research with AI assistance.
- Features:
- Research document editor with agent suggestions.
- Source management and annotation.
- Real-time agent insights and progress tracking.
- Purpose: Assists in project planning, task management, and team coordination.
- Features:
- Project and task creation, assignment, and prioritization.
- AI-powered suggestions for planning and task breakdown.
- Team and deadline management.
- Purpose: A creative space for generating and editing haikus with AI.
- Features:
- Edit and translate haikus (Japanese/English).
- Visual selection of haiku-related images.
- Interactive, editable haiku lines.
- Frontend: Node.js (v18+ recommended), pnpm
- Agent: Python 3.12+, Poetry
git clone https://github.com/ag-ui-protocol/open-ag-ui-canvas
cd open-ag-ui-canvas
cd frontend
pnpm install
pnpm run dev
cd agent
poetry install
pip install crewai
poetry run python main.py
//Need to be inside frontend directory
cd frontend
pnpm run dev:agent
- AGUI Protocol: This demo showcases the AGUI protocol for agent-driven UI applications.
- Tech Stack:
- Frontend: Next.js, React, TailwindCSS, CopilotKit, Mastra AGUI
- Backend: FastAPI, LangGraph, CrewAI, CopilotKit Python SDK
Feel free to open issues or pull requests for improvements, bug fixes, or new features!
MIT (or specify your license here)
Note: This is a demo repository. For production use, review security, environment variables, and deployment best practices.