Local ledger client. Record sessions, tasks, checklists and review pings on this machine, then pair the device to the agent-core hub with GitHub.
Product decisions (visibility, pairing, sync, restore, what we will not build) are in DESIGN.md.
This device is the write owner of its own rows. The hub holds a full copy. agent sync pushes and pulls every event. agent restore rebuilds a wiped database from the hub.
python3 -m venv .venv
. .venv/bin/activate
pip install -e ".[test]"
agent initData lives in $AGENT_HOME or, if that is unset, ~/.local/share/agent.
agent pair --hub https://agent.example
# confirm in the browser after GitHub sign-in
agent sync
agent sync --follow # stay on the hub WebSocket; a dead socket is a loud error
agent restore # after a wiped laptopAGENT_HUB may replace --hub. There is no default hub URL.
agent session register --id <session-id> --kind human
agent task create --session <session-id> --workflow implement --title "…"
agent round start --task <uuid>
agent agent start --session <session-id> --task <uuid> --role implementer --vendor grok --round 1
agent agent finish --id <implementer-uuid> --verdict done
agent agent start --session <session-id> --task <uuid> --role pr-reviewer-quality --vendor grok
agent agent finish --id <reviewer-uuid> --verdict approved
agent check record --task <uuid> --name lint --command "pytest" --result pass
agent gate record --task <uuid> --stage grok-pr --dimension quality --vendor grok \
--verdict approved --head <sha> --agent <reviewer-uuid>
agent work add --session <session-id> --key standing --closable-by human
agent work set --session <session-id> --key standing --status done --source human --actor-session <session-id>
agent work list --session <session-id>
agent checklist set --task <uuid> --key spec_written --status ja --source human --evidence "spec.md"
agent ping send --to some-login --kind review-request --task <uuid> --note "ready"
agent status
agent dashboardKind is human, runner, or other.
pytestThe integration test talks to agent-core when that package is importable (install it next to this checkout).
MIT. See LICENSE.