Skip to content

You are currently viewing documentation for0.1.0-alpha.3

Saved documentation for 0.1.0-alpha.3 (npm) / 0.1.0a2 (PyPI). Interactive tools use the current release. View latest documentation.

AGINDOW agent surface

Local interface preview

Dependabot for agents. At runtime. Detect API drift as agents run, apply reviewed and verified runtime repairs, and turn drift evidence into validated source fixes and draft pull requests. Pre-alpha. Detection requires configured windows. Runtime repair is opt-in for supported changes. Source-fix tooling is available locally; hosted PR automation is not yet qualified. The statistical guest is default; configure windows to detect. Without a selection it emits no findings. Coverage describes observed evidence and cannot prove every API change is safe. The local MCP interface exposes lookup_contract, query_drift, fetch_audit, simulate_repair and coverage_report. Requests require authorization; simulations never execute writes. A hosted endpoint is not available yet.

Runnable example

For a configured local endpoint, set AGINDOW_SURFACE to its origin and AGINDOW_KEY to your authorized credential, then run the example below. No hosted endpoint or API key issuance is available yet.

sh
curl -sS "$AGINDOW_SURFACE/mcp" \
  -H "Authorization: Bearer $AGINDOW_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -H 'MCP-Protocol-Version: 2025-03-26' \
  --data '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"coverage_report","arguments":{"tools":["vendor.read"]}}}'

Read the result

The coverage_report tool returns evidence and explicit unavailable or unvalidated states, not a vendor response or permission to repair. Check transport/JSON-RPC errors and the tool isError flag before interpreting structuredContent. This read-only command cannot execute a vendor write.

Verify the API description

Get /openapi.json and verify its x-agindow-signature with an independently trusted Ed25519 public key and key_id. Remove the signature field, encode using agindow.canonical-json/1 (recursively sorted keys, JSON primitives), then verify the exact UTF-8 bytes. The signed tools contain the input and output schemas served by MCP. Never trust a public key merely because the response includes it.