agui-cross-sdk-parity
Skill16k starsChanged 9 months agoMITView on GitHub
Keep the AG-UI .NET SDK at feature and wire-format PARITY with the canonical reference SDKs (TypeScript is the source of truth; Python is types/encoder only). USE FOR: porting a feature/event/behavior that landed in the TS (or Python) SDK into .NET, verifying the .NET wire format (JSON, SSE, protobuf) matches the reference, locating where the reference implementation and compatibility fixtures live, mapping a TS concept to the .NET event/client/encoder model, resolving an upstream protocol fix (e.g. a Microsoft.Extensions.AI / Microsoft Agent Framework issue) that needs a .NET counterpart, deciding which .NET package owns a change. DO NOT USE FOR: the mechanics of writing a specific test (use agui-dotnet-unit-tests for serialization round-trips, agui-dotnet-integration-tests for cross-language / E2E harness mechanics, agui-dotnet-wire-types for JSON/proto type rules, agui-dotnet-transport for SSE/HTTP transport details). This skill is about the PARITY PROCESS and where the reference lives, not test authoring.
Trending
More talk lately.about the whole repository
Who's talking about ag-ui-protocol/ag-ui
- strands-agents/harness-sdk“[FEATURE] AG-UI”GitHub · May 29, 2025 · 44 reactions
- A Hacker News story“Show HN: AG-UI Protocol – Bring Agents into Frontend Applications”Hacker News · May 13, 2025 · 36 points
- NousResearch/hermes-agent“Feature: Web UI Gateway — Local Browser-Based Interface with Streaming, Artifacts & Rich Rendering”GitHub · Mar 6, 2026 · 10 reactions
- langchain-ai/deepagents“AG-UI integration/demo”GitHub · Nov 5, 2025 · 8 reactions
- Effect-TS/effect“Feature request: AG-UI protocol support for effect/ai”GitHub · Jun 15, 2026 · 7 reactions
The biggest 5 of 56 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 56
Talked about on GitHub, Bluesky and Hacker News (56 times).
On GitHub · 50
- May 29, 2025[FEATURE] AG-UI — strands-agents/harness-sdk44 reactions · 4 comments
- Mar 6, 2026Feature: Web UI Gateway — Local Browser-Based Interface with Streaming, Artifacts & Rich Rendering — NousResearch/hermes-agent10 reactions · 15 comments
- Nov 5, 2025AG-UI integration/demo — langchain-ai/deepagents8 reactions · 5 comments
- Jun 15, 2026Feature request: AG-UI protocol support for effect/ai — Effect-TS/effect7 reactions
- Aug 22, 2025Feature Request: Add AG-UI Protocol Support — HolmesGPT/holmesgpt7 reactions · 5 comments
45 more on GitHub
- Aug 12, 2026Make Copilot SDK consumable for end-users by adding first-class AG-UI protocol support — github/copilot-sdk5 reactions
- Apr 10, 2026FR : Integrations with the A2UI and AG‑UI Protocols — Chainlit/chainlit4 reactions · 2 comments
- Jun 27, 2025support agui protocol — langgenius/dify4 reactions · 3 comments
- Sep 14, 2026IPI-1211 · PLANNER-RELIABILITY — Upgrade the Mastra Bridge to 1.1.4 Before Re-Testing Intelligence — amoai-tech/ipixaisays it tested it3 reactions · 11 comments
- Aug 17, 2026[Question / Feature Request] Any plans or built-in support for AG-UI protocol integration? — google/adk-go3 reactions · 2 comments
- Sep 27, 2026IPI-1363 · Prevent malformed workspace context from crashing the Planner — amoai-tech/ipixai2 reactions · 6 comments
- Sep 20, 2026IPI-1259 · Show a visible Production Copilot error when an AI run drops — amoai-tech/ipixai2 reactions · 14 comments
- Jul 22, 2026fix(deps): bump @ag-ui/mastra to stable, prevent HITL interrupt strand (IPI-760) — amo-tech-ai/lumina-studio2 reactions · 14 comments
- Nov 16, 2025docs: pluralize add_langgraph_fastapi_endpoint due to ag-ui-protocol/ag-ui/pull/701 — CopilotKit/CopilotKit2 reactions · 4 comments
- Oct 17, 2025🚀 Feature Request: Agno shared state as adk-middleware — CopilotKit/CopilotKit2 reactions · 2 comments
- Jun 30, 2025feat: AG-UI adapter (toolsets) — pydantic/pydantic-ai2 reactions · 6 comments
- Nov 1, 2026chore(deps): bump @ag-ui/core from 1.0.2 to 1.0.3 — dungsil/keundal1 reaction · 1 comment
- Aug 31, 2026Bump jsondiffpatch, @ag-ui/mastra and @mastra/client-js — ovabor/worksync-frontend1 reaction · 2 comments
- Aug 20, 2026Tracking: our upstream comments on A2A #1992 and AG-UI #2148 — hukaichun/funduq1 reaction · 1 comment
- Apr 10, 2026🐛 Bug: [sdk-python] Intermediate messages from subgraphs appear in final MessagesSnapshotEvent — CopilotKit/CopilotKit1 reaction · 2 comments
- Mar 15, 2026Ensure glasses client is written correctly and perform gap analysis of design document and implement missing features — companionintelligence/CI-Mentra1 reaction
- Feb 22, 2026[FEAT] add Agno (AgnoOS) as a supported agent provider — tambo-ai/tambo1 reaction · 1 comment
- Oct 7, 2025为BotSharp添加AGUI兼容插件 — GreenShadeZhang/BotSharp1 reaction
- Jul 25, 2025https://github.com/ag-ui-protocol/ag-ui — mikkihugo/claude-code-zen1 reaction
- Jun 23, 2025[FEAT] Support AGUI — VoltAgent/voltagent1 reaction · 5 comments
- May 25, 2025AG-UI — mudler/LocalAGI1 reaction
- Nov 2, 2026chore(deps): bump the ag-ui-updates group across 1 directory with 2 updates — 46ki75/elmethis0 reactions
- Nov 2, 2026Bump @ag-ui/client from 0.0.59 to 1.0.3 — govuk-once/govuk-chat-v20 reactions
- Nov 1, 2026Bump zod and @ag-ui/core in /chatbot-app/frontend — aws-samples/sample-reconciliation-agent0 reactions
- Nov 1, 2026Bump @ag-ui/client from 0.0.59 to 1.0.1 in /web — cfokit/cfokit0 reactions · 1 comment
- Oct 24, 2026Bump @ag-ui/client from 1.0.2 to 1.0.3 in /extensions/conversationalbi/runtime — sanderdw/iceberg-data-platform0 reactions
- Oct 23, 2026DEV: Bump @ag-ui/client from 0.0.59 to 1.0.3 in /architect-html — origam/origam0 reactions
- Oct 22, 2026[TASK] Progressive A2UI over AG-UI via a render_a2ui system tool — yaalalabs/agent-kernel0 reactions
- Oct 20, 2026chore: bump @ag-ui/client from 0.0.59 to 1.0.3 — 46ki75/internal0 reactions · 1 comment
- Oct 19, 2026build(deps): bump @ag-ui/client from 1.0.2 to 1.0.3 in /harness/web — roboalchemist/kicad-agent0 reactions
- Oct 15, 2026deps: bump @ag-ui/client from 0.0.59 to 1.0.2 — d2k-klin/reelhive0 reactions · 1 comment
- Oct 15, 2026deps: bump ag-ui-protocol from 0.1.22 to 1.0.0 — d2k-klin/reelhive0 reactions · 1 comment
- Oct 12, 2026Bump @ag-ui/client from 0.0.59 to 1.0.2 in /apps/portal — ovsec/agent-platform0 reactions
- Oct 11, 2026chore(deps): bump @ag-ui/client from 0.0.59 to 1.0.2 in /apps/admin — karthictu/casepilot0 reactions
- Oct 9, 2026build(deps): Bump @ag-ui/client from 0.0.59 to 1.0.2 in /src/web — devkimchi/battle-school-lunch0 reactions
- Oct 8, 2026ag-ui — hmafridy1-sketch/Hemel0 reactions
- Oct 5, 2026chore(deps): Bump @ag-ui/core from 0.0.57 to 1.0.1 in /server — dineshreddymeka/Agent-Marko0 reactions · 1 comment
- Oct 4, 2026build(deps): Bump ag-ui-protocol from 0.1.19 to 1.0.0 in /services/form-agent — angelmtenor/ai-circus-framework0 reactions
- Oct 4, 2026build(deps): Bump ag-ui-protocol from 0.1.19 to 1.0.0 in /services/rag-agent — angelmtenor/ai-circus-framework0 reactions
- Oct 4, 2026build(deps): Bump ag-ui-protocol from 0.1.19 to 1.0.0 in /services/assistant — angelmtenor/ai-circus-framework0 reactions
- Oct 4, 2026chore(deps): bump @ag-ui/core from 1.0.0 to 1.0.1 — c10366956/cyrene-cda0 reactions
- Oct 2, 2026Bump ag-ui-protocol from 0.1.19 to 1.0.0 — sidhasadhak/aughor0 reactions
- Sep 29, 2026chore(deps): bump @ag-ui/client from 0.0.59 to 1.0.2 in /chatbot-app/frontend — aws-samples/sample-strands-agent-with-agentcore0 reactions
- Sep 29, 2026chore(deps): bump @ag-ui/core from 0.0.59 to 1.0.2 in /chatbot-app/frontend — aws-samples/sample-strands-agent-with-agentcore0 reactions
- Sep 28, 2026build(deps): bump ag-ui-protocol from 0.1.22 to 1.0.0 — srtab/daiv0 reactions
On Bluesky · 5
- Aug 6, 2025with the emergence of early MCP-UI and AG-UI standards, the 2013 perspective of "cards are the future of the web" is set to ring true for a… — @ronan.design3 likes and reposts · 1 reply
- Oct 2, 2026📦 ag-ui-protocol / ag-ui ⭐ 16,187 (+68) 🗒 TypeScript AG-UI: the Agent-User Interaction Protocol. Bring Agents into Frontend Applications. — @github-trending-js.bsky.social1 likes and repost
- Jul 29, 2026📦 ag-ui-protocol / ag-ui ⭐ 15,003 (+48) 🗒 TypeScript AG-UI: the Agent-User Interaction Protocol. Bring Agents into Frontend Applications. — @github-trending-js.bsky.social1 likes and repost
- Jul 22, 2026github.com/ag-ui-protoc... [Related post:https://javapro.io/2026/07/16/solving-spring-ais-ui-challenge-with-ag-uis-java-sdk/] << ...open,… — @stefanofago.bsky.social1 likes and repost
- May 14, 2025github.com/ag-ui-protoc... — @detroitpro.bsky.social1 likes and repost
On Hacker News · 1
- May 13, 2025Show HN: AG-UI Protocol – Bring Agents into Frontend Applications36 points · 5 comments
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agui-dojoSkill
- agui-dotnet-agents-syncSkill
- agui-dotnet-code-reviewSkill
- agui-dotnet-cross-language-testsSkill
- agui-dotnet-feature-workflowSkill
- agui-dotnet-integration-testsSkill
- agui-dotnet-sample-stepSkill
- agui-dotnet-sdk-docsSkill
- agui-dotnet-transportSkill
- agui-dotnet-unit-testsSkill
- agui-dotnet-wire-typesSkill
- agui-playwright-validateSkill
- ag-ui-a2ui-integrationSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 101
throw
NotSupportedException: when mapped — see ProtoEventMapper.cs (the default case lists the 16 supported events: … - Very specific: line 110
Never treat .NET as the source of truth: If the .NET behavior differs from TS, the .NET side is the candidate for change — confirm against …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AG-UI Cross-SDK Parity
The .NET SDK implements an upstream, multi-language protocol. This skill encodes the parity process: which SDK is authoritative, where its reference and fixtures live, how to map reference concepts onto the .NET model, and how parity is guarded.
Parity Principle
- TypeScript is canonical for wire format AND client run-loop behavior. When two SDKs disagree, match TS.
- Python is types + encoder only. It has
core(types/events) and anencoder, but no client run-loop and no protobuf (sdks/python/ag_ui/hascore/andencoder/but noclient/orproto/). Use it only as a secondary check on type/JSON shape — never for run-loop or proto questions. - Upstream protocol or SDK fixes (in the TS client run-loop, or in Microsoft.Extensions.AI / Microsoft Agent Framework) sometimes need a .NET counterpart; treat the TypeScript change as the contract to match.
Where the Reference Lives
| Concern | TypeScript reference (source of truth) | .NET package it maps to |
| Event & type definitions | sdks/typescript/packages/core/src/events.ts, types.ts, event-factories.ts | sdks/dotnet/src/AGUI.Abstractions/Events/, Messages/ |
| Client run-loop / transport | sdks/typescript/packages/client/src/run/, apply/, agent/, transform/ | sdks/dotnet/src/AGUI.Client/ (AGUIChatClient.cs, AGUIHttpTransport.cs, EventStreamConverter.cs, ToolCallBuilder.cs) |
| SSE / JSON wire framing | sdks/typescript/packages/encoder/src/encoder.ts | sdks/dotnet/src/AGUI.Formatting/, AGUI.Abstractions/Serialization/ |
| Protobuf wire format | sdks/typescript/packages/proto/src/proto/events.proto, types.proto, patch.proto | sdks/dotnet/src/AGUI.Protobuf/ (ProtoEventMapper.cs, ProtoMessageMapper.cs) |
The src/ packages are AGUI.Abstractions, AGUI.Formatting, AGUI.Protobuf, AGUI.Client,
AGUI.Server; sdks/dotnet/AGENTS.md and docs/architecture.md are the canonical
description of the layout and conventions.
Porting Workflow
- Locate the feature in TS. Find the change in
packages/core(a new event/type),packages/client(run-loop / event-application behavior), orpackages/proto+encoder(wire framing). Read the TS implementation and its tests to capture the exact contract — field names, ordering, optionality, coalescing rules. - Identify the wire contract. Determine the JSON shape, the proto schema impact
(if any), and whether client run-loop state changes. Cross-check the JSON property
names against
packages/core/src/events.ts. - Map to the .NET model and the right package (table above). Events/types →
AGUI.Abstractions; run-loop →AGUI.Client; SSE/JSON framing →AGUI.Formatting; protobuf →AGUI.Protobuf. Follow the .NET conventions inAGENTS.md(one class per file,sealed, source-generated JSON context,PublicAPI.Unshipped.txt). - Implement the .NET change. For a new event, follow the "Adding a new event type"
checklist in
AGENTS.md(class inEvents/,AGUIEventTypesconstant,[JsonSerializable],BaseEventJsonConvertercase, PublicAPI entry). - Add parity assets (see next section): a TS-produced JSON fixture under
tests/AGUI.Abstractions.UnitTests/Compatibility/and/or a cross-language test intests/CrossLanguage.Vitest/tests/. - Verify byte/semantic parity — run the compatibility and cross-language tests.
- Update docs. Refresh
sdks/dotnet/AGENTS.md,docs/architecture.md, anddocs/cross-language-testing.mdif the change alters the model, package layout, or the set of wire-supported events.
How Parity Is Guarded
Four independent layers catch drift; add to whichever layer the change touches.
- Compatibility fixtures (catch JSON drift).
tests/AGUI.Abstractions.UnitTests/Compatibility/holds TS-produced JSON fixtures (*-events.json) loaded viaFixtureLoaderand deserialized into .NET types ({Category}CompatibilityTest.cs, e.g.RunEventsCompatibilityTest,ToolCallEventsCompatibilityTest). A new/changed event shape needs a fixture entry. - Cross-language tests (catch end-to-end drift). The harness in
tests/CrossLanguage.TestServer/(C# server) andtests/CrossLanguage.Vitest/(TS client driving it) proves real interop — seesdks/dotnet/docs/cross-language-testing.md. Scenario specs live intests/CrossLanguage.Vitest/tests/(e.g.parallel-tool-calls.test.ts,state-events.test.ts,protobuf-parity.test.ts). - Protobuf byte-parity tests.
protobuf-parity.test.tsplustests/AGUI.Protobuf.UnitTests/verify the binary encoding matches the TS proto output. - Shared cross-language fixtures (catch three-way drift).
sdks/fixtures/holds language-neutral JSON that more than one SDK is held to, so an expectation is written down once instead of three times.null-omission.jsonis the first: TypeScript, Python and .NET each deserialize itsinputevents, re-serialize through their own producer path, and assert the result equalsexpected. A wire rule that all three must agree on belongs here rather than in one SDK's test tree — seesdks/fixtures/README.md.
Known Parity Boundary: Proto Is a Subset
The protobuf schema covers a subset of events by design. .NET-only events
(Reasoning*, Activity*, ToolCallResult) are not in the proto wire format and
throw NotSupportedException when mapped — see ProtoEventMapper.cs (the default
case lists the 16 supported events: RUN_STARTED/FINISHED/ERROR, STEP_STARTED/FINISHED,
TEXT_MESSAGE_START/CONTENT/END, TOOL_CALL_START/ARGS/END, STATE_SNAPSHOT/DELTA,
MESSAGES_SNAPSHOT, RAW, CUSTOM) and ProtoMessageMapper.cs. This is a deliberate,
documented boundary — do not "fix" it by inventing proto messages that don't exist in
events.proto. JSON/SSE remains the full-fidelity wire; protobuf is the constrained one.
Critical Anti-patterns
- Never treat .NET as the source of truth. If the .NET behavior differs from TS,
the .NET side is the candidate for change — confirm against
packages/core/packages/clientfirst. - Never consult Python for run-loop or proto parity. Python has neither. Use it only as a type/JSON cross-check.
- Never add a proto mapping for a
.NET-only event (Reasoning*,Activity*,ToolCallResult). TheNotSupportedExceptionis intentional. - Never land a wire change without a parity asset. A JSON-shape change needs a Compatibility fixture; an interop/behavioral change needs a cross-language test.
Routing to Sibling Skills
This skill governs what to port and where the reference is — delegate test mechanics:
- agui-dotnet-unit-tests — serialization round-trips and Compatibility fixture tests.
- agui-dotnet-integration-tests — cross-language / E2E harness (TestServer + Vitest).
- agui-dotnet-wire-types — JSON/proto type and serialization-context rules.
- agui-dotnet-transport — SSE / HTTP transport details.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

