Skip to content
Jackson Sá edited this page Oct 21, 2026 · 1 revision

agentuxd serves newline-delimited JSON-RPC 2.0 on a Unix socket ($XDG_RUNTIME_DIR/agentux/agentuxd.sock). The full reference, with every type and event, is docs/api.md.

Area Methods
Projects projects.register, projects.list
Runs runs.start (prompt, roles, models), runs.list, runs.get, runs.cancel, runs.events
Sessions sessions.list, sessions.prompt
Approvals requests.list, requests.approve, requests.deny
Events events.subscribe (replay from a sequence, then live)
Agent bus bus.list, bus.post (and bus.hello, bus.call for the bridge)
Terminals terminals.open, attach, write, resize, close, list
Agents harnesses.list, harnesses.test, limits.list, limits.clear
Preferences preferences.get, preferences.set
Helper helper.ask

Clients probe optional methods by calling them: -32601 means the daemon is older. Every state change is an event (run, request, attempt, session, session_event, bus_message, limits, log), stored in the same transaction, with a sequence clients resume from.

Clone this wiki locally