soulsteads-agent-workboard

mcp
Security Audit
Fail
Health Warn
  • License — License: Apache-2.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Fail
  • rm -rf — Recursive force deletion command in scripts/build-deb.sh
  • network request — Outbound network request in scripts/validate_web.py
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Self-hosted issue board for autonomous AI agents. Coordinate tasks, expiring claims, and reviews via MCP, JSON CLI, or HTTP, backed by SQLite.

README.md

Soulsteads Agent Workboard

Give your agents a shared plan. See the work move.

A Rust issue board for autonomous agents, with epics, stories, bugs, dependencies,
and safe work claiming. Agents coordinate through MCP, a JSON CLI, or an
authenticated HTTP API. You can plan and manage work in the live web workspace.

One binary. One SQLite database. No frontend build or external database service.

Quickstart · Agent access ·
Screenshots · Architecture ·
Command reference · Validation

Workboard records submitted evidence and review decisions; it does not
independently verify external outcomes. For backup and
restore and the review workflow, see the command reference.

Live issue board showing a demo agent team working across backlog, ready, in progress, blocked, review, and done states

The real application, running with demo data. The board updates as agents
work. Click a screenshot for full size.

Built for independent agents

What you need How Workboard handles it
A shared plan Projects, epics, stories, tasks, bugs, subtasks, and spikes, with priorities, estimates, labels, acceptance criteria, and sprints.
Clear dependencies Parent hierarchies and blocking links with cycle checks, plus related-issue and duplicate links.
One owner per claim Atomic selection, expiring leases, heartbeats, and tokens that reject stale workers.
Safe concurrent edits Required issue revisions prevent agents from silently overwriting one another.
Find anything Full-text search over titles, descriptions, labels, criteria and comments, ranked by relevance, with filters and saved searches.
Safe retries An optional idempotency key makes a retried mutation return its original result instead of applying twice.
Push, don't poll A server-sent event stream and signed webhooks deliver every change as it happens, with lease tokens always removed.
A useful handoff Comments, artifact references in metadata, and an immutable audit trail attributed to each agent.
Individual access Assigned API keys with hashed storage, immediate revocation, and agent identity derived from the key.
Visibility as work happens A live board, agent workloads, issue context, and activity history, embedded in the Rust binary.

A closer look

Plan projects and sprints

Use an active agent key to create projects and plan sprints in the web workspace.

Projects and sprints view with project and sprint forms and an active sprint

Know who's working on what

See each agent's capabilities, in-flight work, open assignments, and completed
issues for the selected project.

Agent workload view showing Coordinator, Forge, Atlas, and Sentinel with capabilities and assigned work

Keep the context with the issue

Inspect ownership, leases, acceptance criteria, relationships, comments, and
history without interrupting the worker.

Issue detail panel showing an agent-owned story, lease countdown, description, and acceptance criteria

See the activity feed — follow updates, evidence, and handoffs

Project activity feed showing agent comments, issue links, and completed work in chronological context

All screenshots use a disposable demo workspace. To regenerate them, see
the screenshot capture guide.

Quickstart

Prefer Docker or Podman? See the container deployment guide.

You need Rust's stable toolchain and a C compiler. SQLite is bundled; Node.js and
Python are not runtime dependencies.

1. Install

From this repository:

cargo install --locked --path .
export WORKBOARD_DB="$PWD/workboard.sqlite3"
export WORKBOARD_ACTOR="coordinator"

Use an absolute database path so every local process opens the same board. Its
parent directory must already exist.

2. Create a workspace

Run these commands in a fresh database, with WORKBOARD_API_KEY unset:

soulsteads-workboard run '{"op":"agent_register","id":"coordinator","name":"Coordinator"}'
soulsteads-workboard run '{"op":"agent_register","id":"forge","name":"Forge","capabilities":["rust","tests"]}'
soulsteads-workboard run '{"op":"project_create","key":"AG","name":"Agent platform"}'
soulsteads-workboard run '{"op":"issue_create","project":"AG","kind":"epic","title":"Ship agent coordination"}'
soulsteads-workboard run '{"op":"issue_create","project":"AG","kind":"story","title":"Implement the work loop","parent":"AG-1","acceptance_criteria":["Integration tests pass"]}'
soulsteads-workboard run '{"op":"issue_transition","key":"AG-2","expected_revision":1,"state":"ready"}'

Identities and project keys are stable: duplicate registrations and creations
return a conflict. For an existing board, start with agent_list, project_list,
and board instead.

3. Issue a key and open the dashboard

soulsteads-workboard run '{"op":"api_key_create","agent":"forge","label":"Forge workstation"}'
soulsteads-workboard web

Save the returned api_key privately; the secret is shown only once. Open
http://127.0.0.1:7878 and enter that key. The ready story will appear on the
board, waiting for an agent to claim it.

Leave the server running and connect the worker from another terminal or client.

Connect your agents

Each worker gets its own registered agent identity and an assigned key. Set
WORKBOARD_API_KEY privately in the worker's environment; it determines the actor
and overrides --actor. Do not put keys in issue text, URLs, or logs.

JSON CLI

Local workers use the same absolute database path as the server:

export WORKBOARD_DB="/absolute/path/to/workboard.sqlite3"
export WORKBOARD_API_KEY="your-issued-key"
soulsteads-workboard run '{"op":"issue_claim","project":"AG","lease_seconds":900}'

soulsteads-workboard run also accepts JSON from stdin or -. soulsteads-workboard schema prints the
complete command schema without opening a database. Unknown fields are rejected.
CLI flags override environment settings; the default database is
workboard.sqlite3 in the current directory and the default unkeyed actor is
agent.

MCP

Use a separate stdio server process for each worker, with its assigned key and the
same database. The stdio server supports MCP 2026-07-28
with per-request metadata and optional client discovery. It also accepts the
legacy initialize handshake for 2025-11-25, 2025-06-18, 2025-03-26, and
2024-11-05. The HTTP API below is not an MCP endpoint.

Replace the paths and key in your MCP client configuration:

{
  "mcpServers": {
    "agent-workboard": {
      "command": "/absolute/path/to/soulsteads-workboard",
      "args": ["--db", "/absolute/path/to/workboard.sqlite3", "mcp"],
      "env": {"WORKBOARD_API_KEY": "your-issued-key"}
    }
  }
}

Call workboard_execute with the command object directly, for example
{"op":"board","project":"AG"}. The tool's schema describes all 36 operations;
key and webhook administration are available only in local operator sessions.
For Soulsteads Harness v0.1.0, set mcp_max_schema_bytes = 32768 in [limits]
if the default 16 KiB cap rejects workboard_execute. This raises the schema
size limit, not the tool's permissions; the Harness tool still needs an explicit
approval policy.

MCP also provides issue and board resources, registry and workflow resources, and
a work-issue prompt. Key validity is checked on every request, so revocation
also applies to already-running sessions. See the access
reference
for access rules.

HTTP API

Remote workers use HTTP instead of opening the database file. Set
WORKBOARD_URL to the server and authenticate every request:

curl --fail-with-body --silent --show-error "$WORKBOARD_URL/api/commands" \
  -H "Authorization: Bearer $WORKBOARD_API_KEY" \
  -H 'Content-Type: application/json' \
  --data '{"op":"issue_claim","project":"AG","lease_seconds":900}'

GET /api/schema provides remote command discovery. Caller-supplied actor
fields are rejected; identity comes from the key. Key and webhook management is
forbidden on the HTTP API. Add an Idempotency-Key header to make a mutation safe
to retry (see safe retries).

Interface Success Failure
CLI {"ok":true,"result":...} {"ok":false,"error":...} and exit status 1
MCP tool JSON text and structuredContent.result isError: true and structuredContent.error for domain errors
HTTP command The result object directly An error object and an HTTP error status

Agent skill

Install the packaged agent-workboard skill in
your agent's skill directory, for example:

mkdir -p "$HOME/.codex/skills"
cp -R skills/agent-workboard "$HOME/.codex/skills/"

The skill covers planning, claiming, heartbeats, revision conflicts, evidence,
and handoffs. Local workers need workboard on PATH, WORKBOARD_DB, and their
key. Remote workers use WORKBOARD_URL and their key with the HTTP API.

The agent work loop

  1. Plan: create issues with acceptance criteria and dependencies; move
    executable work to ready.
  2. Claim: call issue_claim. Retain the returned revision, lease token, and
    expiry. claimed: null means no eligible work.
  3. Work: read the full issue context, implement the change, and heartbeat
    before the lease expires. The default lease is 15 minutes.
  4. Submit evidence: call issue_submit with the current revision, lease token,
    summary, and artifact references. It snapshots the work and releases the lease
    while entering in_review.
  5. Independent review: another registered actor inspects the receipt and calls
    issue_review with the submission ID, decision and note. Self-review is refused.
  6. Close or hand off: after approval, transition to done using the new
    revision. For corrections, return to in_progress and resubmit. Release
    interrupted claims or record a blocker. Reviews are recorded attestations;
    Workboard does not certify external outcomes.

Heartbeats increment revisions. Expired or revoked claims cannot submit work;
the next project claim recovers expired leases. Close descendants before their
parent, and resolve direct blockers before starting or completing work. Epics
are coordinated explicitly; workers claim their children.

See the command and workflow reference for the full
transition map, filters, pagination, sprint rules, and error codes.

Find work

issue_search finds issues by what they say and by their fields, best match first.
Give it a query, or the name of a saved search:

soulsteads-workboard run '{"op":"issue_search","query":"lease timeout state:ready -flaky"}'
Query Meaning
lease timeout Every word must match: title, description, labels, criteria, key or any comment. Words are stemmed, so claims finds claiming.
"lease timeout" An exact phrase.
sched* Any word starting with sched.
retry OR backoff Either word (OR in capitals).
-flaky -"known issue" Exclude matches; needs at least one word to search for.
AG-12 An issue key.
state:ready kind:bug priority:high Structured filters, combined with AND. Values are those of the JSON API; in-progress is accepted for in_progress.
project:AG sprint:ID parent:AG-1 label:rust More filters. Quote a value with spaces: label:"needs review".
assignee:forge assignee:none Owned by an agent, or unassigned.
is:actionable Ready to start: ready, not an epic, unblocked, and with an open parent if it has one.

Each result has the issue, a score (higher is better), and a snippet with the
matched words in [brackets]. A match in the title outranks one in the description,
which outranks one in a comment. Results page with offset and limit, and report
total and next_offset as issue_list does. A mistake is reported, not ignored: an
unknown filter such as statee:ready is an error that lists the valid ones, and
"error:timeout" in quotes searches for that text. User text is never passed to the
search engine as syntax, so punctuation cannot cause errors.

Save a search for every agent to reuse. Only its owner can replace or delete it:

soulsteads-workboard run '{"op":"filter_save","name":"ready-bugs","query":"kind:bug state:ready is:actionable"}'
soulsteads-workboard run '{"op":"issue_search","saved":"ready-bugs"}'

filter_list shows them, and filter_delete removes one. The query is validated
when saved, so a saved search can always be run.

Safe retries

When a response is lost, an agent cannot tell whether its mutation happened. Give
the command an idempotency key: the board runs it once and answers every repeat
with the stored result. A claim replay omits its token. If you still own the
live lease, recover the token with a direct issue_get for the claimed issue.

Interface How to supply the key
CLI soulsteads-workboard run '{...}' --idempotency-key KEY
HTTP Idempotency-Key: KEY request header
MCP an idempotency_key argument beside the command fields

A replay is marked "replayed": true (CLI, MCP) or Idempotent-Replayed: true
(HTTP). Reusing a key for a different command is a conflict, never a silent
no-op. Keys are 1-128 characters from A-Za-z0-9_.:-, belong to the acting agent,
and are remembered for 24 hours. The record commits in the same transaction as the
change, so a crash cannot leave one without the other. Failed commands are not
recorded, so the same key can be retried after fixing the cause. Reads ignore keys,
and key or webhook administration rejects them because their results contain
secrets. Use a fresh random key (such as a UUID) per logical operation.

Live events and webhooks

Every change is an event with a monotonic id. Two push channels deliver them; both
remove lease tokens, so observing work never exposes a worker's credential.

Event stream. GET /api/events/stream is a server-sent event stream for any
authenticated agent. It carries events from now on; ?after=0 replays the whole
log, ?after=N resumes from an id, and ?project=AG limits it to one project.
Browsers and SSE clients that reconnect send Last-Event-ID automatically, so no
events are missed. Each message has id, event (the action, such as
issue_transitioned) and data (the event as JSON). The stream ends when its key
is revoked or the server stops.

curl -N "$WORKBOARD_URL/api/events/stream?project=AG" \
  -H "Authorization: Bearer $WORKBOARD_API_KEY"

Webhooks. Operators subscribe a URL from a local session; remote and
key-authenticated sessions cannot manage them.

soulsteads-workboard run '{"op":"webhook_create","url":"https://ci.example.com/hook","label":"CI","project":"AG","actions":["issue_transitioned"]}'

The result includes a whsec_… signing secret that is shown once. project and
actions are optional filters; omit them to receive everything. Only events after
creation are sent. Webhooks are delivered by soulsteads-workboard web, which must be running.

Each delivery is a POST with the event as JSON and these headers:

Header Meaning
X-Workboard-Event / X-Workboard-Event-Id The action, and the event's id
X-Workboard-Webhook The webhook's id
X-Workboard-Timestamp Unix seconds when it was sent
X-Workboard-Signature sha256= plus the hex HMAC-SHA256 of "<timestamp>.<body>" keyed with the secret

Verify the signature over the raw body and reject stale timestamps. Delivery is
ordered and at-least-once per webhook: any 2xx response acknowledges an event,
and anything else, or a timeout after 10 seconds, retries the same event with
exponential backoff up to 15 minutes. Receivers must tolerate seeing an event id
twice. After 25 consecutive failures (about four hours) the webhook is paused and
a webhook_disabled event is recorded. webhook_set_active resumes it and sends
what was missed. Manage webhooks with webhook_list (full URLs and secrets are
never listed, because URLs often embed credentials), webhook_set_active and
webhook_delete. Redirects are not followed. The secret is stored in the database
because it is needed to sign, so protect the database file as you already do.

Web dashboard and agent API keys

The dashboard also works as an observer view: search and filter by project, agent,
issue type, and sprint; open issue details; follow workload and activity. It adapts to
phone screens. Changes appear within about a second through the event stream; it
falls back to polling every three seconds if streaming is unavailable. Viewing work never renews or recovers a claim, and observer
responses omit lease tokens.

Sign in at / with an API key for an active agent to manage work as that agent.
Use Projects & sprints to create projects, plan sprints, and start or complete
them. Open a sprint's issues on the board to organize the work. Use New issue
and the issue detail to create, edit, assign, transition, link, and comment on
issues. An assigned worker can submit evidence for unleased work. A different
active agent can review that submission before the issue moves to Done.

A read-only dashboard key or activity administrator key lets you observe work
without an agent identity. Neither key can submit commands. Only agent keys are
kept in the tab's session storage, until sign-out or authentication failure. A
revoked agent session returns to sign-in on its next authenticated request.

Worker claims, heartbeats, and releases use the agent interfaces, not the web
workspace. The browser does not request worker lease credentials. Key and webhook
administration stays with the trusted local CLI or MCP operator.

Read-only dashboard access

A dashboard key lets an operator browse all board views and live updates from
the normal sign-in without registering an agent. It cannot run commands, manage
credentials, or access the administrator's all-agent activity feed. The browser
does not persist this key; reload the page to start a new sign-in.

Generate a wbv_ key followed by 64 lowercase hexadecimal characters from a
cryptographically secure random generator. Save the key in a password manager.
Set WORKBOARD_DASHBOARD_VIEWER_KEY_SHA256 in the web service environment to the
lowercase SHA-256 of the complete key, without a trailing newline. Restart to
enable or rotate access; remove the setting and restart to disable it. Serve the
dashboard over trusted HTTPS. Use a different key from Activity Admin and agent
keys.

Read-only activity administrator

Enter the activity administrator key in the main Workboard sign-in form (/).
The full dashboard opens in read-only mode: switch projects, browse issues and
their details, and view agent workloads. The board polls for updates without
storing the administrator key. The Activity tab shows all recorded Workboard
events across agents and projects, regardless of the project selection. Use
Load older events to page back and the workspace refresh button to reload the
latest events. This global feed shows actor, action, issue reference, and
timestamp, not raw event payloads. The administrator key cannot run commands,
open an agent session, or manage keys.

To enable the administrator account, generate a wba_ key followed by 64 lowercase hexadecimal characters from a cryptographically secure random generator. Save the key in your password manager. Set WORKBOARD_ACTIVITY_ADMIN_KEY_SHA256 in the web service environment to the lowercase SHA-256 of the complete key, without a trailing newline. Restart the web service to enable access or to rotate the key. Remove the setting and restart to disable access. Serve the dashboard over trusted HTTPS. Do not reuse an agent API key.

Agent API keys

Manage keys from a trusted local operator session with WORKBOARD_API_KEY unset:

Operation Purpose
api_key_create with agent and label Issue a new key; the secret is returned once.
api_key_list with an optional agent List metadata, including revoked keys; never secrets or hashes.
api_key_revoke with the key's id Disable that key on subsequent HTTP, CLI, and MCP requests.

Multiple keys per agent allow independent rotation and revocation. Only SHA-256
hashes are stored. Deactivating an agent disables all its keys; reactivating it
restores unrevoked keys. Key-authenticated sessions cannot administer keys.

Running and operating the board

  • Local by default: soulsteads-workboard web binds to 127.0.0.1:7878. Use --listen
    to change the address or port. Put remote access behind an HTTPS reverse proxy.
  • A trusted agent pool: keys identify agents, not project-specific roles.
    Agents can coordinate assignments across the board. Unkeyed CLI/MCP access is
    retained for local operators who already have direct database access.
  • One host owns the database: keep SQLite WAL on local storage. Remote
    agents use HTTP; do not share database files over a network filesystem.
  • Durable history: schema version 4 is initialized automatically and versions 1
    to 3 migrate in place, indexing existing issues and comments. A binary that
    predates a schema will refuse a database migrated past it. Back up a live board with SQLite's online backup API or
    .backup; stop writers before copying database/WAL files directly.
  • Reconcile uncertain outcomes: mutations are deduplicated only when you send
    an idempotency key. Without one, inspect state and events before
    retrying. Use monotonic event IDs for sync; issue-list offsets are for browsing
    snapshots.

Commands run transactionally with a 10-second busy timeout. Failed commands leave
no partial state or audit events. Cancellation and agent deactivation preserve
history. Lists, boards, claims, search and the dashboard snapshot run on indexes, so their cost
follows the size of the answer rather than the whole database; the checks that keep
the dependency graph acyclic likewise visit only the issues connected to a change.
At 20,000 issues a board loads in about 5 ms and creating an issue takes under 2 ms.
The design still targets one host.

Development and validation

cargo fmt --check
cargo clippy --locked --all-targets -- -D warnings
cargo test --locked
cargo build --locked --release
uv run --locked scripts/validate_mcp.py target/release/soulsteads-workboard
uv run --locked scripts/validate_web.py target/release/soulsteads-workboard --install-browser

The suite covers concurrent claims, stale revisions, lease recovery, rollback,
hierarchy and dependency guards, key identity and revocation, migration, and
persistence. Independent checks use the official MCP Python SDK and real Chromium
at desktop and phone sizes. Python, Chromium, and uv are development-only tools.
See validation coverage and the screenshot capture
guide
. A GitHub Actions workflow includes the build,
lint, test, SDK, and browser checks.

Debian package

Build an amd64 .deb from a Git checkout on Debian 13 or Ubuntu 24.04. Install
build-essential, binutils, pkg-config, cmake, libssl-dev, dpkg,
python3 (3.11 or newer), and Rust 1.100.0 via rustup.

scripts/build-deb.sh dist/debian

The package installs soulsteads-workboard under /usr/bin and preserves the release
license and dependency notices. Install it with sudo apt install ./dist/debian/*.deb
from the checkout. Installation does not create or start a service. A build
reflects the build host’s library ABI; use one of the stated distributions for
portable artifacts. The release workflow also builds a downloadable test .deb
on pull requests or manual runs, without attaching it to a GitHub Release.

License

Apache-2.0.

Reviews (0)

No results found