qmetrics.net

AG-UI

Event-based protocol linking AI agents to user-facing applications

AG-UI screenshot

AG-UI standardizes bi-directional event streams between agent backends and frontends so chat, tools, shared state, and human approvals work consistently across frameworks and clients.

Overview

AG-UI (Agent–User Interaction) is an event-based wire protocol that connects any agent runtime to any client application. Instead of bespoke request/response APIs per framework, agents emit typed lifecycle, message, tool, state, and reasoning events that web, mobile, terminal, or chat clients can render uniformly.

Runs begin with a structured input carrying conversation history, frontend-exposed tools, shared state, and context. The agent responds with a stream from eight event families covering text streaming, tool calls, JSON Patch state deltas, human-in-the-loop interrupts, subagent delegation, multimodal attachments, and custom payloads. Transports include HTTP with Server-Sent Events and a binary Protobuf binding; middleware can adapt other sources.

Official client and server SDKs exist for TypeScript, Python, and .NET, with community ports in several other languages. A scaffolding CLI can generate Next.js or terminal starter apps wired to supported agent frameworks such as LangChain, CrewAI, Google ADK, Microsoft Agent Framework, and AWS Strands.

AG-UI complements MCP for tool access and A2A for agent-to-agent work. Generative UI specs like A2UI can ride on AG-UI as payload types. CopilotKit originated the protocol and ships React and other UI clients; demos in the Dojo illustrate each building block interactively.

Key features

  • Typed bidirectional agent event streams
  • Streaming multi-turn chat with cancel and resume
  • Shared JSON state with patch sync
  • Frontend-executed tools and human interrupts
  • Subagent delegation with traced events
  • Multimodal user and tool I/O
  • HTTP SSE and Protobuf transports
  • CLI project scaffolding for agents

Use cases

  • Embedding agents in web or mobile apps
  • Terminal or Slack-style agent clients
  • Cross-framework agent UI portability
  • Human approval flows mid-run
  • Showing reasoning and tool progress live

Tags

Similar software

Langflow

Visual low-code builder for AI agents and workflows

Langflow is a visual builder for AI agents and workflows. Flows can be customized in Python and deployed as an API or as an MCP server, with support for major LLMs and vector databases.

  • Visual drag-and-drop flow builder
  • Python source access for customizing components
  • Interactive playground for testing flows
PythonmacOS, Windows, DockerDetails →
★ 157.1k⟳ todayMIT
Open Source Alternative to:Google AI StudioRelevance AI+1

LangChain

Framework for agents and LLM-powered applications

LangChain helps developers chain interoperable components and integrations to build agents and LLM-powered applications. It offers a standard interface for models, embeddings, vector stores, and related pieces.

  • Interoperable LLM and tool components
  • Model and provider swap support
  • Vector store and retriever integrations
PythonDetails →
★ 150.4k⟳ todayMIT

Paperclip

Open-source orchestration platform for teams of AI agents

Node.js server and React UI for managing a team of AI agents like a company. Assign goals, build an org chart, set budgets, and track tasks and costs from one dashboard.

  • Org chart of human and AI agent roles
  • Bring-your-own agent adapters
  • Goal-linked task management
TypeScriptWebDetails →
★ 119.4k⟳ todayMIT
Open Source Alternative to:Dust

Agent Reach

CLI toolkit for AI agents to search and read many web platforms

Agent Reach installs platform connectors so AI agents can search and read sites such as GitHub, YouTube, Reddit, Bilibili, and Xiaohongshu from one command line, without relying on paid APIs for default channels.

  • One CLI install for many web channels
  • Default channels without paid APIs
  • Ordered fallback tools per platform action
PythonCLIDetails →
★ 117.1k⟳ 10 days agoMIT

RAGFlow

Open-source RAG engine and agent context platform

RAGFlow ingests heterogeneous documents, builds retrievable knowledge, and supports agent workflows with citations. It can run on your own hardware with Docker or a from-source server stack.

  • Multi-format document ingestion
  • Template-based explainable chunking
  • Knowledge compilation artifacts
GoWeb, Linux, DockerDetails →
★ 95.2k⟳ todayApache-2.0

MiroFish

Multi-agent swarm intelligence prediction engine

MiroFish builds parallel digital worlds from real-world seed material so multi-agent simulations can explore future outcomes. Users upload seeds and state prediction needs in natural language.

  • Seed-to-graph world construction
  • Multi-agent social simulation
  • GraphRAG and persona setup
PythonDockerDetails →
★ 87.6k⟳ 2 months agoAGPL-3.0