Skip to content

Commit 57c2bf0

Browse files
committed
Merge branch 'main' into mme/concurrent-messages
2 parents e10622b + 8388399 commit 57c2bf0

File tree

26 files changed

+1478
-337
lines changed

26 files changed

+1478
-337
lines changed

README.md

Lines changed: 37 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11

2-
# <img src="https://github.com/user-attachments/assets/ebc0dd08-8732-4519-9b6c-452ce54d8058" alt="ag-ui Logo" width="45"/> AG-UI: The Agent-User Interaction Protocol
2+
# <img src="https://github.com/user-attachments/assets/ebc0dd08-8732-4519-9b6c-452ce54d8058" alt="ag-ui Logo" width="22"/> AG-UI: The Agent-User Interaction Protocol
33

44
AG-UI is a lightweight, event-based protocol that standardizes how AI agents connect to user-facing applications.
5-
Built for simplicity and flexibility, it enables seamless integration between AI agents, realtime user context, and user interfaces.
5+
Built for simplicity and flexibility, it enables seamless integration between AI agents, real time user context, and user interfaces.
6+
7+
---
8+
9+
[📅 Upcoming Event: July 24 - San Francisco AG-UI workshop with AI Tinkerers in person (Feat. CopilotKit & Mastra)](https://lu.ma/ai-tinkerers-workshop?tk=JeUCY5)
10+
11+
<br>
12+
613

714
[![Version](https://img.shields.io/npm/v/@ag-ui/core?label=Version&color=6963ff&logo=npm&logoColor=white)](https://www.npmjs.com/package/@ag-ui/core)
815
![MIT](https://img.shields.io/github/license/copilotkit/copilotkit?color=%236963ff&label=License)
@@ -18,8 +25,7 @@ Built for simplicity and flexibility, it enables seamless integration between AI
1825
Follow us →
1926
</a>
2027

21-
<img width="4096" height="1816" alt="Readme 3 - Redesign" src="https://github.com/user-attachments/assets/af15b751-a72a-434f-a93c-9103f2a17006" />
22-
28+
<img width="4096" height="1752" alt="Your application-AG-UI protocol" src="https://github.com/user-attachments/assets/dc58c64c-3257-490a-b827-e163475f4166" />
2329

2430
## 🚀 Getting Started
2531
Create a new AG-UI application in seconds:
@@ -77,33 +83,37 @@ AG-UI is complementary to the other 2 top agentic protocols
7783

7884
### 1st party integrations with top agentic frameworks
7985

80-
## 🛠 Supported Frameworks
8186

87+
## 🛠 Supported Frameworks
8288

8389
AG-UI integrates with many popular agent frameworks
8490

85-
| Framework | Status | AG-UI Resources |
86-
| ------------------------------------------------------------------ | ------------------------ | ---------------------------------------------------------------------------- |
87-
| No-framework | ✅ Supported | ➡️ Docs coming soon |
88-
| [LangGraph](https://www.langchain.com/langgraph) | ✅ Supported | ➡️ [Demo](https://v0-langgraph-land.vercel.app/) |
89-
| [Mastra](https://mastra.ai/) | ✅ Supported | ➡️ [Demo](https://v0-mastra-land.vercel.app/) |
90-
| [CrewAI](https://crewai.com/) | ✅ Supported | ➡️ [Demo](https://v0-crew-land.vercel.app/) |
91-
| [AG2](https://ag2.ai/) | ✅ Supported | ➡️ [Demo](https://v0-ag2-land.vercel.app/) |
92-
| [Agno](https://github.com/agno-agi/agno) | ✅ Supported | ➡️ [Docs](https://docs.copilotkit.ai/agno) | |
93-
| [LlamaIndex](https://github.com/run-llama/llama_index) | ✅ Supported | ➡️ [Docs](https://docs.copilotkit.ai/llamaindex) | |
94-
| [Pydantic AI](https://github.com/pydantic/pydantic-ai) | 🛠️ In Progress ||
95-
| [Vercel AI SDK](https://github.com/vercel/ai) | 🛠️ In Progress ||
96-
| [Google ADK](https://google.github.io/adk-docs/get-started/) | 🛠️ In Progress ||
97-
| [OpenAI Agent SDK](https://openai.github.io/openai-agents-python/) | 💡 Open to Contributions ||
98-
| [AWS Bedrock Agents](https://aws.amazon.com/bedrock/agents/) | 💡 Open to Contributions ||
99-
| [Cloudflare Agents](https://developers.cloudflare.com/agents/) | 💡 Open to Contributions ||
100-
| [Strands Agents SDK](https://github.com/strands-agents/sdk-python) | 💡 Open to Contributions ||
101-
102-
| Language SDK | Status | AG-UI Resources |
91+
| Framework | Status | AG-UI Resources | ✅ 1st Party Integration |
92+
| ------------------------------------------------------------------ | ------------------------ | ---------------------------------------------------------------------------- | ------------------------ |
93+
| No-framework | ✅ Supported | ➡️ Docs coming soon ||
94+
| [LangGraph](https://www.langchain.com/langgraph) | ✅ Supported | ➡️ [Demo](https://v0-langgraph-land.vercel.app/) ||
95+
| [Mastra](https://mastra.ai/) | ✅ Supported | ➡️ [Demo](https://v0-mastra-land.vercel.app/) ||
96+
| [CrewAI](https://crewai.com/) | ✅ Supported | ➡️ [Demo](https://v0-crew-land.vercel.app/) ||
97+
| [AG2](https://ag2.ai/) | ✅ Supported | ➡️ [Demo](https://v0-ag2-land.vercel.app/) ||
98+
| [Agno](https://github.com/agno-agi/agno) | ✅ Supported | ➡️ [Docs](https://docs.copilotkit.ai/agno) ||
99+
| [LlamaIndex](https://github.com/run-llama/llama_index) | ✅ Supported | ➡️ [Docs](https://docs.copilotkit.ai/llamaindex) ||
100+
| [Pydantic AI](https://github.com/pydantic/pydantic-ai) | ✅ Supported | ➡️ [Docs](https://docs.copilotkit.ai/pydantic-ai) ||
101+
| [Vercel AI SDK](https://github.com/vercel/ai) | 🛠️ In Progress |||
102+
| [Google ADK](https://google.github.io/adk-docs/get-started/) | 🛠️ In Progress |||
103+
| [OpenAI Agent SDK](https://openai.github.io/openai-agents-python/) | 💡 Open to Contributions |||
104+
| [AWS Bedrock Agents](https://aws.amazon.com/bedrock/agents/) | 💡 Open to Contributions |||
105+
| [Cloudflare Agents](https://developers.cloudflare.com/agents/) | 💡 Open to Contributions |||
106+
| [Strands Agents SDK](https://github.com/strands-agents/sdk-python) | 💡 Open to Contributions |||
107+
108+
[View all supported frameworks →](https://ag-ui.com/frameworks)
109+
110+
111+
| Language SDK | Status | AG-UI Resources |
103112
| ------------------------------------------------------------------ | ------------------------ | ---------------------------------------------------------------------------- |
104-
| [.NET]() | 🛠️ In Progress | ➡️ [PR](https://github.com/ag-ui-protocol/ag-ui/pull/38) |
105-
| [Nim]() | 🛠️ In Progress | ➡️ [PR](https://github.com/ag-ui-protocol/ag-ui/pull/29) |
106-
| [Rust]() | 🛠️ In Progress | |
113+
| [Kotlin]() | 🛠️ In Progress | ➡️ [GitHub Source](https://github.com/Contextable/ag-ui-4k) |
114+
| [.NET]() | 🛠️ In Progress | ➡️ [PR](https://github.com/ag-ui-protocol/ag-ui/pull/38) |
115+
| [Nim]() | 🛠️ In Progress | ➡️ [PR](https://github.com/ag-ui-protocol/ag-ui/pull/29) |
116+
| [Golang]() | 🛠️ In Progress | ➡️ [Issue](https://github.com/ag-ui-protocol/ag-ui/issues/156) |
107117

108118

109119
[View all supported frameworks →](https://ag-ui.com/frameworks)
@@ -133,7 +143,7 @@ https://github.com/user-attachments/assets/a67d3d54-36b2-4c7a-ac69-a0ca01365d5b
133143
Check out the [Contributing guide](https://github.com/ag-ui-protocol/ag-ui/blob/main/CONTRIBUTING.md)
134144

135145
- **[Weekely AG-UI Working Group](https://lu.ma/CopilotKit?k=c)**
136-
📅 Follow the CopilotKit Luma Events Page
146+
📅 Follow the CopilotKit Luma Events Calendar
137147

138148
## Roadmap
139149

docs/sdk/js/core/types.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ type ToolMessage = {
143143
content: string
144144
role: "tool"
145145
toolCallId: string
146+
error?: string
146147
}
147148
```
148149
@@ -152,6 +153,7 @@ type ToolMessage = {
152153
| `content` | `string` | Text content of the message |
153154
| `role` | `"tool"` | Role of the message sender, fixed as "tool" |
154155
| `toolCallId` | `string` | ID of the tool call this message responds to |
156+
| `error` | `string` | Error message if the tool call failed |
155157
156158
### Message
157159

docs/sdk/python/core/types.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ class ToolMessage(ConfiguredBaseModel):
144144
role: Literal["tool"]
145145
content: str
146146
tool_call_id: str
147+
error: Optional[str] = None
147148
```
148149

149150
| Property | Type | Description |
@@ -152,6 +153,7 @@ class ToolMessage(ConfiguredBaseModel):
152153
| `content` | `str` | Text content of the message |
153154
| `role` | `Literal["tool"]` | Role of the message sender, fixed as "tool" |
154155
| `tool_call_id` | `str` | ID of the tool call this message responds to |
156+
| `error` | `Optional[str]` | Error message if the tool call failed |
155157

156158
### Message
157159

docs/tutorials/debugging.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ in mind:
8080
To start using the AG-UI Dojo:
8181

8282
1. Clone the repository from
83-
[github.com/ag-ui-protocol/dojo](https://github.com/ag-ui-protocol/dojo)
83+
[github.com/ag-ui-protocol/ag-ui](https://github.com/ag-ui-protocol/ag-ui)
8484
2. Follow the setup instructions in the README
8585
3. Start working through the demonstrations in order
8686
4. Use the provided test cases to validate your implementation

python-sdk/ag_ui/core/types.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ class ToolMessage(ConfiguredBaseModel):
8686
role: Literal["tool"] = "tool"
8787
content: str
8888
tool_call_id: str
89+
error: Optional[str] = None
8990

9091

9192
Message = Annotated[

typescript-sdk/apps/client-cli-example/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
"@ag-ui/client": "workspace:*",
1313
"@ag-ui/core": "workspace:*",
1414
"@ag-ui/mastra": "workspace:*",
15-
"@ai-sdk/openai": "^1.3.22",
16-
"@mastra/client-js": "^0.10.9",
17-
"@mastra/core": "^0.10.10",
18-
"@mastra/libsql": "^0.11.0",
19-
"@mastra/loggers": "^0.10.3",
20-
"@mastra/memory": "^0.11.1",
15+
"@ai-sdk/openai": "1.3.22",
16+
"@mastra/client-js": "0.10.9",
17+
"@mastra/core": "0.10.10",
18+
"@mastra/libsql": "0.11.0",
19+
"@mastra/loggers": "0.10.3",
20+
"@mastra/memory": "0.11.1",
2121
"open": "^10.1.2",
2222
"zod": "^3.22.4"
2323
},

typescript-sdk/apps/dojo/next.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const withMDX = createMDX({
1616

1717
const nextConfig: NextConfig = {
1818
/* config options here */
19+
output: "standalone",
1920
// Configure pageExtensions to include md and mdx
2021
pageExtensions: ["ts", "tsx", "js", "jsx", "md", "mdx"],
2122
webpack: (config, { isServer }) => {

typescript-sdk/apps/dojo/package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,14 @@
2121
"@ag-ui/server-starter-all-features": "workspace:*",
2222
"@ag-ui/vercel-ai-sdk": "workspace:*",
2323
"@ai-sdk/openai": "^1.3.22",
24-
"@copilotkit/react-core": "1.8.14-next.4",
25-
"@copilotkit/react-ui": "1.8.14-next.4",
26-
"@copilotkit/runtime": "1.8.14-next.4",
27-
"@copilotkit/runtime-client-gql": "1.8.14-next.4",
28-
"@copilotkit/shared": "1.8.14-next.4",
24+
"@copilotkit/react-core": "1.9.2",
25+
"@copilotkit/react-ui": "1.9.2",
26+
"@copilotkit/runtime": "1.9.2",
27+
"@copilotkit/runtime-client-gql": "1.9.2",
28+
"@copilotkit/shared": "1.9.2",
2929
"@mastra/client-js": "^0.10.9",
3030
"@mastra/core": "^0.10.10",
31+
"@mastra/dynamodb": "^0.13.0",
3132
"@mastra/libsql": "^0.11.0",
3233
"@mastra/loggers": "^0.10.3",
3334
"@mastra/memory": "^0.11.1",

0 commit comments

Comments
 (0)