Skip to content

The agent kit — bring your own agent - #4

Merged
srivtx merged 1 commit into
mainfrom
feat/agent-kit
Sep 3, 2026
Merged

The agent kit — bring your own agent#4
srivtx merged 1 commit into
mainfrom
feat/agent-kit

Conversation

@srivtx

@srivtx srivtx commented Sep 3, 2026

Copy link
Copy Markdown
Owner

What

  • GET /api/agent/kit — the counter's machine-readable contract, generated from the same constants the product runs on (cannot drift).
  • make kit — the reference client: no in-repo state, pure HTTP, walks the golden path and asserts every verdict. Verified locally: 10/10 gate checks, captured on razorpay-test rails, receipt issued, chain verifies after.
  • AGENT_KIT.md — the human twin (endpoint, protocol, schemas, curl, honesty notes).
  • Why page: work-order 02 → shipped; work order is now 3 items.

Verification

bun run lint + bun run typecheck + make verify green; make kit walks end-to-end against the dev server.

- GET /api/agent/kit: the machine-readable contract, generated from the
  running constants (TOOL_SCHEMAS, TRUST_TIERS, rail, brain) — the kit
  cannot drift from the code because it IS the code, serialized
- scripts/agent-kit-demo.ts + make kit: the reference client — a process
  with no in-repo state walks search → add → attest → checkout →
  approve over pure HTTP, asserts every verdict (gate ALLOW, captured,
  receipt, chain intact) and exits non-zero on deviation
- AGENT_KIT.md: the human twin — endpoint, message protocol, tool
  schemas, curl golden path, honesty notes (protocol-shaped adapters,
  test rails, integer paise)
- why page: work-order 02 clears into shipped; the work order is three
  now (persistent desk, second counter, refunds as spans)
- registered everywhere the tree is told: verify.mjs REQUIRED, README
  filemap, llms.txt, JUDGE.md desk ledger
@srivtx
srivtx merged commit 15f4d7c into main Sep 3, 2026
4 of 5 checks passed
@vercel

vercel Bot commented Sep 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
customs Building Building Preview Sep 3, 2026 7:59pm UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant