The original post: /r/selfhosted by /u/Darkstar4125 on 2025-02-18 19:59:15.

Hey, self hosters!

I’m a maintainer at CopilotKit, a self hostable, open-source framework for building in-app, UI for agents. Think about it like this: you can embed a chat interface that doesn’t just respond but actively interacts with your app’s frontend functions based on LLM outputs.

If you want to build an app that stands apart and streams application state updates to the user, allowing immediate UI reflection of LLM responses, with bidirectional communication between the user, LLM, and agent, CopilotKit now makes this possible.

As AI-driven experiences (or ‘Agentic Experiences’) become more sophisticated, developers need finer control over how agents make decisions. This is where specialized frameworks like LangGraph become essential.

What is LangGraph:

LangGraph is a product of LangChain that uses a graph-based approach where each step in an agent’s decision-making process is represented, IE, anode, providing granular control over AI interactions.

The end result? It’s called CoAgents, a framework that lets you build applications that truly stand apart – with intelligent, responsive, and deeply integrated AI capabilities.

Copilot + LangGraph Agents = CoAgents

Here’s a few things you’ll get when building with CoAgents:

CoAgents Documentation: https://docs.copilotkit.ai/coagents

We’ve just improved the developer experience in our latest release.

Key features in v0.5 include:

  • Enhanced persistence to retrieve closed session messages by a LangGraph threadId
  • LangGraph interrupt hook support
  • Revised and improved documentation for all levels of developers

Resources:

If you’re interested in learning how to add a frontend to your agent, please check out this 2 minute walkthrough: https://x.com/CopilotKit/status/1891878034556215497

And join this free live coding session!

https://lu.ma/xeep0e29