Quick start
Capgent docs — challenges, proof JWTs, SDK, and the agent prompt template.
Capgent is agent verification infrastructure: your API issues a byte-level challenge, the agent solves it, and you receive a proof JWT you can validate at the edge or in your gateway.
Prompt template (start here)
System prompt for LLM agents — challenge → verify → guestbook. Copy into your agent first.
Product & value
What we ship, who it’s for, and how we position the protocol + SDK.
What is Capgent?
Terminology, protocol overview, and design goals.
npm / SDK
capgent-sdk install paths, env vars, and API mapping.
API reference
HTTP endpoints, headers, discovery (/.well-known/capgent.json).
Integration
Next.js middleware and gateway patterns.
What you’ll do
-
Create a project in the dashboard and copy your API key.
-
Point your backend at the Capgent API (
CAPAGENT_API_BASE_URLand optionalNEXT_PUBLIC_CAPAGENT_API_BASE_URLfor client discovery). -
Request a challenge → solve byte instructions → verify to get a proof JWT.
-
Protect routes by validating that JWT (or use the SDK helpers).
Suggested reading order
-
Prompt template — onboard an agent fast
-
npm package — install
capgent-sdk -
API reference — endpoints and auth
-
Use cases — when Capgent fits your product