DEV Community

Jeffrey Hicks
Jeffrey Hicks

Posted on

Minimal CopilotKit + LangGraph with AG-UI

Image description

https://github.com/jrhicks/minimal-copilotkit-langgraph

  • CopilitKit React without NextJS (Vite)
  • Self Hosted CopilotKit Runtime with Node.js HTTP
  • Self Hosted LangGraph Agent with FastAPI (LangGraph)

CopilotKit UI

  • [ ] NextJS
  • [x] Vite

CopilotKit Connection

  • [ ] Copilot Cloud
  • [x] Self-Hosted Copilot Runtime

Self Hosted Copilot Runtime

  • [ ] Next.js App Router
  • [ ] Next.js Page Router
  • [ ] Node.js Express
  • [x] Node.js HTTP
  • [ ] NestJS

LangGraph Language

  • [x] Python
  • [ ] Typescript

LangGraph Agent

  • [ ] Local (LangGraph Studio)
  • [x] Self hosted (FastAPI)
  • [ ] LangGraph Platform

AG-UI Features Completed

  • [x] 🤖 Agentic Chat
    • [x] Natural Conversation: Chat with your Copilot in a familiar chat interface,
    • [x] Frontend Tool Execution: The Copilot can directly interacts with your UI by calling frontend functions,
    • [x] Seamless Integration: Tools defined in the frontend and automatically discovered and made available to the agent,
    • [x] Tool Based Generative UI - Frontend Rendering of Tool Calls: Backend tool calls are automatically rendered in the UI
    • [x] Pause and Resume Control: Frontend tools can pause agent and agent resumes after user input

Top comments (0)