todos.md
Are you an agent?

todos.md documentation

Run shared task work with agents.

Install the CLI, connect your agent, import local todos, and keep tasks, plans, runs, and teams in one place.

CLI Reference

The todos CLI is the local control surface for projects, tasks, plans, and runs.

Setup

CommandPurpose
todos statusShow local project health.
todos projectsList known projects.
todos project-bootstrap . --name <slug>Register the current repo as a project.
todos focus <project>Focus an agent on one project.
Status
todos status

Tasks

CommandPurpose
todos listList tasks.
todos show <id>Show one task.
todos add <title>Create work.
todos start <id>Claim work.
todos done <id>Complete work.
todos deps <id>Inspect dependency blockers for a task.
todos blockedList tasks blocked by incomplete dependencies.
todos readyList tasks that are pending, unlocked, and unblocked.
todos nextPick the best ready task for an agent.
platform-todos tasks list --ready --overdueList hosted scheduled tasks ready for agents.
platform-todos tasks add <title> --due <date> --start-after <date> --recurrence weekly --sla-minutes 120Create a hosted scheduled task.
platform-todos tasks claim --worker <agent>Worker-safe claim of the next hosted task.
Add
todos add "Review launch checklist"

Offline Queue

Use the hosted CLI queue when an agent needs to record write intent while the network is unavailable, then replay those writes with idempotency when connectivity returns.

CommandPurpose
platform-todos tasks add <title> --offlineQueue a hosted task create without calling the API.
platform-todos tasks start <id> --offlineQueue a hosted task start.
platform-todos tasks done <id> --offlineQueue a hosted task completion.
platform-todos queue listShow pending and conflicted queued writes.
platform-todos queue syncReplay pending writes with idempotency keys.
Sync queue
platform-todos queue sync --json

Dependencies

Use dependencies when a plan has work that must happen in order. Agents should claim ready work, not blocked work.

CommandPurpose
todos deps <task-id> --needs <blocked-by-id>Mark a task as waiting on another task.
todos deps <task-id> --remove <blocked-by-id>Clear a blocker after the prerequisite is done.
todos blockedReview blocked tasks and missing prerequisites.
todos readyShow unblocked tasks safe for agents to claim.
Ready work
todos ready

Agent Flow

CommandPurpose
todos agentsList registered agents.
todos init <name>Register an agent.
todos heartbeat <agent>Mark an agent as active.
todos comment <id> <text>Add progress or verification notes.

Notifications

CommandPurpose
platform-todos notifications listList org-scoped webhook subscriptions.
platform-todos notifications create <url> --events task.done,run.completedCreate an outbound agent webhook.
platform-todos notifications disable <id>Disable a webhook subscription.
platform-todos notifications deliveriesReview delivery attempts and dead letters.
Webhook
platform-todos notifications create https://agent.example.test/hook --events task.blocked,task.done,run.completed

Billing

CommandPurpose
platform-todos billing statusShow plan and quota state when hosted mode is configured.
platform-todos billing checkoutStart Pro upgrade from the CLI.
platform-todos billing portalOpen billing settings for a hosted account.

Hosted Runs

The paid remote CLI is platform-todos. Use it for hosted queue, logs, artifacts, and cancellation without opening a browser.

CommandPurpose
platform-todos runs listList hosted runs visible to the configured organization.
platform-todos runs create <slug> --body <json>Queue a hosted run.
platform-todos runs show <id>Inspect status, worker lease, sandbox, and attempt metadata.
platform-todos runs logs <id>Read redacted run logs.
platform-todos runs artifacts <id>List run artifact records.
platform-todos runs cancel <id>Cancel queued or running work.
Queue hosted run
platform-todos runs create website-launch --body '{"goal":"ship"}' --max-attempts 2 --timeout-ms 900000
Inspect hosted run
platform-todos runs show <run-id>

Hosted Credentials

Use the paid remote CLI as platform-todos for hosted service accounts and scoped API keys.

CommandPurpose
platform-todos service-accounts listList service accounts in the configured organization.
platform-todos service-accounts create <name> --scopes tasks:read,runs:createCreate an agent service account with least-privilege scopes.
platform-todos service-accounts key <id> --name codex-ciMint a one-time API key for a service account.
platform-todos api-keys listList API key metadata without secret material.
platform-todos api-keys create --name ci --scopes tasks:read --selectCreate a scoped key and store it for the active profile with redacted output.
platform-todos api-keys select --key <key>Store an existing scoped key for the active profile.
platform-todos api-keys revoke <id>Revoke a key by ID.
platform-todos api-keys rotate <id> --selectRevoke a key and store the replacement for the active profile.

Raw API

Use raw API commands when a new endpoint is not wrapped yet.

Health
platform-todos api get /api/health
Capabilities
platform-todos api get /api/v1/capabilities
bun install -g @hasna/todos