copilotkit_hackathon
View on GitHub βπ Architectural Vision & System Design
The system is designed around the paradigm of Agentic UI/UX, where the user interface is not merely a static display of data, but a dynamic, living canvas that an AI agent can read from, reason about, and mutate in real-time.
Instead of treating the AI as an isolated chat widget, this architecture integrates the LLM directly into the applicationβs state loop. The application acts as a state machine where the AI agent is granted scoped, permissioned access to execute state transitions on behalf of the user.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Client Browser (UI) β
β β
β ββββββββββββββββββββ State Sync (useCopilotReadable) ββββββββ β
β β React State ββββββββββββββββββββββββββββββββββββββββββΊβ β β
β ββββββββββ²ββββββββββ β β β
β β β β β
β β State Mutation (useCopilotAction) βCopilotβ β
β ββββββββββ΄ββββββββββ β Kit β β
β β Action Handlers βββββββββββββββββββββββββββββββββββββββββββ€Contextβ β
β ββββββββββββββββββββ β β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€ ββββ
β β
β β
ββββ²ββββ
β
Secure SSE Stream