Expand description
A terminal client for any AG-UI agent — and the awkward agent it is aimed at.
Round two of dogfooding this SDK, from the consuming side. task-board was
an agent with a client attached; this is a client, and the server here
exists only to give it something hostile to read.
watchis the application: send a line, render the run, answer what it pauses on, draw the board.viewis what it prints, including a small A2UI renderer.traceis the same conversation one level down — events exactly as they arrived, and a resume built without a session.fakeis the backend: chunked text, tool arguments split mid-escape, parallel calls, a run that never finishes, and hand-framed streams the protocol forbids.boardis the client’s own model of the agent’s state, declared independently of the server’s.
Nothing needs a key or a network beyond loopback.
Re-exports§
Modules§
- board
- The client’s own view of the agent’s state.
- fake
- The awkward agent: a backend that produces the shapes real providers do.
- trace
- The low level: events exactly as the agent sent them.
- view
- Turning what the client assembled into lines a person reads.
- watch
- The driver: one line in, one run out, and everything the client assembled printed as it arrives.
Functions§
- load_
tools - Reads the tools this client is willing to have called.
- replay_
fixture - Reads a recorded run — a JSON array of events — into a transport.