当前位置: 首页 > news >正文

ag-ui

ag-ui

https://github.com/ag-ui-protocol/ag-ui?tab=readme-ov-file

AG-UI: The Agent-User Interaction Protocol

AG-UI is an open, lightweight, event-based protocol that standardizes how AI agents connect to user-facing applications. Built for simplicity and flexibility, it enables seamless integration between AI agents, real time user context, and user interfaces.

Features

  • 💬 Real-time agentic chat with streaming
  • 🔄 Bi-directional state synchronization
  • 🧩 Generative UI and structured messages
  • 🧠 Real-time context enrichment
  • 🛠️ Frontend tool integration
  • 🧑‍💻 Human-in-the-loop collaboration

 

https://docs.ag-ui.com/introduction

AG-UI Overview

 
​https://docs.ag-ui.com/sdk/python/core/overview
https://docs.ag-ui.com/sdk/python/encoder/overview
 

The Agent–User Interaction (AG-UI) Protocol

AG-UI is an open, lightweight, event-based protocol that standardizes how AI agents connect to user-facing applications. Built for simplicity and flexibility, it standardizes how agent state, UI intents, and user interactions flow between your model/agent runtime and user-facing frontend applications—to allow application developers to ship reliable, debuggable, user‑friendly agentic features fast while focusing on application needs and avoding complex ad-hoc wiring.

AG-UI Overview

 

Building blocks (today & upcoming)

Streaming chat
Live token and event streaming for responsive multi turn sessions, with cancel and resume.
Multimodality
Typed attachments and real time media (files, images, audio, transcripts); supports voice, previews, annotations, provenance.
Generative UI, static
Render model output as stable, typed components under app control.
Generative UI, declarative
Small declarative language for constrained yet open-ended agent UIs; agents propose trees and constraints, the app validates and mounts.
Shared state
(Read-only & read-write). Typed store shared between agent and app, with streamed event-sourced diffs and conflict resolution for snappy collaboration.
Thinking steps
Visualize intermediate reasoning from traces and tool events; no raw chain of thought.
Frontend tool calls
Typed handoffs from agent to frontend-executed actions, and back.
Backend tool rendering & side effects
Visualize backend tool outputs in app and chat, emit side effects as first-class events.
Interrupts (human in the loop)
Pause, approve, edit, retry, or escalate mid flow without losing state.
Sub-agents and composition
Nested delegation with scoped state, tracing, and cancellation.
Agent steering
Dynamically redirect agent execution with real-time user input to guide behavior and outcomes.
Tool output streaming
Stream tool results and logs so UIs can render long-running effects in real time.
Custom events
Open-ended data exchange for needs not covered by the protocol.

 

视频讲解

https://www.bilibili.com/video/BV1k6EPzjECG/?vd_source=57e261300f39bf692de396b55bf8c41b

 

在线体验

https://dojo.ag-ui.com/langgraph-fastapi/feature/shared_state

 

http://www.gsyq.cn/news/15717.html

相关文章:

  • SCCPC2021重现赛
  • 图的计数问题没做
  • 如何设计量子密钥管理系统?——面向后量子时代的密钥管理架构与核心特性探讨
  • 完整教程:MindsDB在金融领域的应用:智能风险评估系统
  • 使用 chrome 调试 android webview 前端 dom script
  • windows安全中心
  • 开源 C# 飞快开发(十六)数据库--sqlserver增删改查
  • 英语语法填空
  • 从涌现到戏台:AI元人文构想的演进历程
  • 详细介绍:FileProvider 配置必须针对 Android 7.0+(API 24+)做兼容
  • pdf翻译
  • Microsoft Access SQL 查询中的通配符 - 详解
  • 洛谷P11738 [集训队互测 2015] 未来程序改
  • 实用指南:[创业之路-645]:手机属于通信?还是属于消费类电子?还是移动互联网?
  • ai提交消息常用的 chore,原来是个单词(琐事/零散任务)+约定,用于非功能性提交
  • 多项式定理
  • 详细介绍:Kafka09-速答-尚硅谷
  • 前端安全障碍深度解析:从原理到实践的全方位防护指南
  • node菜单服务引起的后台异常表象到运维释放从库的数据库连接及驱动修改配置,重新部署生效
  • 深入解析:从零起步学习Redis || 第四章:Cache Aside Pattern(旁路缓存模式)以及优化策略
  • 详细介绍:SpringCloud API Gateway2.0如何解决docker中应用间IP漂移的正确手法
  • 251004
  • gradle Cause: zip END header not found
  • 【性质】CF689D Friends and Subsequences
  • Arduino+数码管 = 量电压 | A+B problem | alphabet
  • 详细介绍:【数据库知识】TxSQL 主从数据库同步底层原理深度解析
  • 完整教程:AI时代如何高效学习Python:从零基础到项目实战de封神之路(2025升级版)
  • cannot resolve method add in T 及 T 泛型类型生成Excel文件,区别是数据Model不同
  • 测试环境elasticSearch数据泄露排查
  • PocoEmit遥遥领先于AutoMapper之打通充血模型的任督二脉