Docs

API, CLI, MCP and webhooks

Every surface uses the same API token from your account. Runs are asynchronous: start one, then poll it (or take the run.completed webhook).

HTTP API

POST /api/v1/build    {"prompt": "...", "agent"?: "<library id>"}
POST /api/v1/code     {"repo": "owner/name", "task": "...", "token"?: "<github token>", "agent"?: "...", "base"?: "main"}
POST /api/v1/secure   {"repo": "owner/name", "token"?: "...", "fix_severity"?: "high", "max_fixes"?: 5}
GET  /api/v1/runs                 your runs
GET  /api/v1/runs/{id}            status, output, journal (?since=<bytes> for the tail)
GET  /api/v1/runs/{id}/semgrep    Secure findings as Semgrep JSON
GET  /api/v1/agents?q=&kind=      search the library (no token needed)
GET  /api/v1/agents/{id}          load one (its SKILL.md / agent prompt)
GET  /api/v1/me                   account, balance, free tier
curl -s https://dev.agents.pit.world/api/v1/build \
  -H "Authorization: Bearer $DEVAGENTS_TOKEN" -H 'content-type: application/json' \
  -d '{"prompt":"a tip calculator that splits the bill"}'

CLI

npm i -g @profullstack/devagents
devagents login --token dak_...
devagents agents search "security audit"
devagents agents load kolega-skills:review
devagents build "a markdown note taker" --wait
devagents code owner/repo "add a health endpoint" --github-token $GH_TOKEN --wait
devagents secure owner/repo --github-token $GH_TOKEN --wait
devagents runs
devagents mcp            # stdio MCP server for Claude Code, Cursor, moshcode

On a c0mpute node: c0mpute install devagents-build (also devagents-code, devagents-secure, devagents-agents) installs the same CLI as a plugin.

MCP server

Streamable HTTP at https://dev.agents.pit.world/mcp with Authorization: Bearer dak_.... Tools: agents_search, agents_load (no token needed), build_app, code_task, secure_scan, run_status, list_runs.

claude mcp add --transport http devagents https://dev.agents.pit.world/mcp --header "Authorization: Bearer dak_..."

Webhooks

POST /api/v1/webhooks {"url": "https://example.com/hooks", "events": ["run.completed", "pr.opened", "finding.created"]}
GET  /api/v1/webhooks · DELETE /api/v1/webhooks/{id} · POST /api/v1/webhooks/{id}/test

Bodies are CloudEvents 1.0, signed per Standard Webhooks (webhook-id, webhook-timestamp, webhook-signature). Retries back off for two days.

Pricing

Pay as you go: model calls are billed to your c0mpute balance at c0mpute's own rates (open models on peer nodes, usually cents per run). The first runs each day are free on house compute. Top up with CoinPay on c0mpute.com.

RealVuln benchmark

We run our Secure scanner (ThreatCrush 0.25.1, default flags) on the full public RealVuln 4.0.0 set: 203 repositories at pinned commits, 7,115 scored vulnerabilities and 283 false-positive traps, scored with the benchmark's own scorer (default matcher).

ScannerReposPrecisionRecallStrict F3
dev.agents Secure (ThreatCrush 0.25.1)203/20313.1%8.2%8.5
Semgrep (published baseline)140/20315.7%7.9%8.3

On the 140 repos both ran, Semgrep is ahead (F3 13.7 vs 11.5). Strong: deserialization (65% recall), code injection (53%), SQL injection (49%), XXE (44%). Blind: access control, missing auth, path traversal. Agentic scanners on the same board score 40 to 74. Reproduce with bench/realvuln.sh in the repo.