Examples
Each example is its own project (package.json / go.mod / pyproject.toml) so you can copy any one of them out of the repo and run it standalone.
TypeScript
Section titled “TypeScript” oneshot-local-tool Minimal one-shot run with a local tool.
session-chat Interactive REPL on top of a session.
mixed-tools Combines local, MANTYX, and plugin tools.
a2a-tools Remote (mantyxA2A) + local (defineLocalA2A) Agent2Agent peers.
mcp-tools Remote (mantyxMcp) + local (defineLocalMcp) MCP servers.
streaming Token streaming to stdout.
list-models Model catalog plus pick-and-run.
agent-by-id Trigger a persisted MANTYX agent by id.
oneshot Minimal one-shot run with a local tool.
session-chat Interactive REPL on top of a session.
mixed-tools Combines local, MANTYX, and plugin tools.
a2a-tools Remote (MantyxA2A) + local (LocalA2A) Agent2Agent peers.
mcp-tools Remote (MantyxMcp) + local (LocalMcp) MCP servers.
streaming Token streaming via channel.
list-models Model catalog plus pick-and-run.
agent-by-id Trigger a persisted MANTYX agent by id.
Python
Section titled “Python” oneshot-local-tool Minimal one-shot run with a local tool.
session-chat Interactive REPL on top of a session.
mixed-tools Combines local, MANTYX, and plugin tools.
a2a-tools Remote (mantyx_a2a) + local (define_local_a2a) Agent2Agent peers.
mcp-tools Remote (mantyx_mcp) + local (define_local_mcp) MCP servers.
streaming Token streaming via async iterator.
list-models Model catalog plus pick-and-run.
agent-by-id Trigger a persisted MANTYX agent by id.