当前位置: 首页 > 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.jsqmd.com/news/8197/

相关文章:

  • SCCPC2021重现赛
  • 图的计数问题没做
  • 如何设计量子密钥管理系统?——面向后量子时代的密钥管理架构与核心特性探讨
  • 11_linux镜像下载
  • CF2152 Squarepoint Challenge (Codeforces Round 1055, Div. 1 + Div. 2) 游记
  • 使用 chrome 调试 android webview 前端 dom script
  • 框架系统在自然语言处理深度语义分析中的作用、挑战与未来展望 - 实践
  • 10_windows11安装virtualbox
  • 9_windows11安装docker
  • 【Redis 集群】Redis集群扩容时如何避免全量数据迁移 - 教程
  • 深入解析:Qwen-Image:开源图像生成新突破 —— 聚焦复杂文本渲染与精准图像编辑
  • windows安全中心
  • 详细介绍:深度学习入门:从神经网络基础到模型训练优化
  • 开源 C# 飞快开发(十六)数据库--sqlserver增删改查
  • 英语语法填空
  • 深入解析:基于Java的springboot/SSM+vue.js+uniapp小程序的农产品溯源系统附带文章源码部署视频讲解等
  • 从涌现到戏台:AI元人文构想的演进历程
  • 详细介绍:FileProvider 配置必须针对 Android 7.0+(API 24+)做兼容
  • 题解:P14124 [SCCPC 2021] Nihongo wa Muzukashii Desu
  • 上位机知识篇---服务器脚本一直运行方法 - 详解
  • QBXT2025S Day3题
  • python+vue在线视频课程学习系统设计(源码+文档+调试+基础修改+答疑) - 详解
  • DeepSeek V3.1-Terminus、阿里 Qwen3-Max、ChatGPT Pulse 同周登场!| AI Weekly 9.22-9.28 - 实践
  • 【做题记录】CF2600左右有趣的思维题1
  • pdf翻译
  • OpenEuler 25.03 installed UKUI but cant run msedge and chrome
  • 实用指南:iPhone美区账号登录指南:轻松下载ChatGPT应用
  • 网络调整config.xml的android.mk解析
  • 【Android】RuntimeShader 应用
  • 【Rive】rive-android源码分析