💬 Let us know how we can improve our documentation.
The idea is that we create an adapter where you input an url and this opens a StreamResponse which sends back the AG-UI events and then we can use this adapter at /api/copilotkit, or we can inport the adapter and just use it immediately with our own url as long as it follows the AG-UI protocol.
Then the Copilotkit just sends the RunAgentInput to the python endpoint and than it receives the Events and needs to display them correctly. And then we can also still edit how those events are displayed or what they do.
This way copilotkit becomes easy to fit into your own full stack, and this takes away problems at the Copilotkit team as now they just need to create one adapter other people can expand and apply in all kinds of agents.