Skip to main content

Crate task_board

Crate task_board 

Source
Expand description

A workshop task board, spoken over AG-UI.

Two halves of one protocol in one crate, built the way an outside consumer builds them — against the published crates, with nothing reached into:

  • agent is the server half: an impl Agent that streams a reply, executes tools, publishes the board as state, ships it as an A2UI surface, and pauses for a human before the one destructive command.
  • chat is the client half: a terminal that folds the run back into messages, state and a drawn surface, and answers the pause.

src/main.rs is the CLI over both. The tests under tests/ drive the same code paths without a terminal, so what the README shows is what CI runs.

Re-exports§

pub use agent::TaskBoard;
pub use board::Board;

Modules§

agent
The agent: one impl Agent, and the command parser it runs on.
board
The board: the shared state, the tools that change it, and the A2UI surface that draws it.
chat
The terminal client: one line in, one run out.
llm
Optional: let a model phrase the reply.

Constants§

ROUTE
Where the agent is mounted.

Functions§

router
The whole server: an AG-UI endpoint and a health check.