Skip to content

feat: Add Elixir community SDK (ag_ui_ex v0.1.0)#1293

Open
peguesj wants to merge 4 commits intoag-ui-protocol:mainfrom
peguesj:feat/elixir-community-sdk
Open

feat: Add Elixir community SDK (ag_ui_ex v0.1.0)#1293
peguesj wants to merge 4 commits intoag-ui-protocol:mainfrom
peguesj:feat/elixir-community-sdk

Conversation

@peguesj
Copy link
Copy Markdown

@peguesj peguesj commented Mar 12, 2026

Summary

  • Adds ag_ui_ex as a community Elixir SDK under sdks/community/elixir/
  • Full source mirror of peguesj/ag_ui_ex v0.1.0
  • Adds docs/sdk/elixir/overview.mdx with installation, quick start examples, and module reference
  • Inserts Elixir row (Supported) in README.md SDKs table (after Ruby)
  • Inserts Ruby (previously missing) + Elixir rows in docs/introduction.mdx SDKs table

What's in the SDK

ag_ui_ex is a complete Elixir implementation of the AG-UI protocol:

  • 30+ typed event structs — All AG-UI event types as Elixir structs with validation
  • SSE transport — Plug-compatible Server-Sent Events for Phoenix/Plug applications
  • Channel transport — Phoenix Channel macros for WebSocket-based event streaming
  • Middleware pipeline — Composable event processing with built-in middleware
  • State management — GenServer with snapshot/delta pattern and full RFC 6902 JSON Patch
  • HTTP client — GenServer for consuming AG-UI event streams over SSE
  • Encoder — SSE and JSON encoding/decoding with camelCase <-> snake_case conversion

Package

Test plan

  • Verify sdks/community/elixir/ contains full SDK source
  • Verify docs/sdk/elixir/overview.mdx renders correctly in docs site
  • Verify Elixir row appears in README.md SDKs table
  • Verify Ruby + Elixir rows appear in docs/introduction.mdx SDKs table
  • Run mix test in sdks/community/elixir/ (all tests pass on Elixir 1.15+)

Fixes #1291

@peguesj peguesj requested a review from a team as a code owner March 12, 2026 07:57
peguesj added 2 commits March 12, 2026 04:59
Adds the ag_ui_ex Elixir SDK as a community SDK for the AG-UI protocol.

- Copy full ag_ui_ex v0.1.0 source into sdks/community/elixir/
- Add docs/sdk/elixir/overview.mdx with installation, quick start, and module reference
- Add Elixir row (✅ Supported) to README.md SDKs table after Ruby
- Add Ruby (missing) + Elixir rows to docs/introduction.mdx SDKs table

ag_ui_ex provides:
- 30+ typed event structs with validation
- SSE transport (Plug-compatible) and Phoenix Channel transport
- Composable middleware pipeline
- GenServer state manager with RFC 6902 JSON Patch
- HTTP client for consuming AG-UI event streams

Hex.pm: https://hex.pm/packages/ag_ui_ex
Source:  https://github.com/peguesj/ag_ui_ex

Fixes ag-ui-protocol#1291
@peguesj peguesj force-pushed the feat/elixir-community-sdk branch from 744df42 to 7f13b6a Compare March 12, 2026 09:00
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 12, 2026

@peguesj is attempting to deploy a commit to the CopilotKit Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add Elixir community SDK (ag_ui_ex)

1 participant