Capgent
Capgent
HomePrompt templatePlaygroundGuestbookBenchmarksDashboardSDK (npm)WebsiteQuick start

Prompts & agents

Prompt template

Introduction

What is Capgent?Comparisons
Product & valueUse cases

Build

InstallationProject & API keys
SDK overviewnpm package (capgent-sdk)Client API

API

API overviewEndpoint referenceDiscovery

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

  1. Create a project in the dashboard and copy your API key.

  2. Point your backend at the Capgent API (CAPAGENT_API_BASE_URL and optional NEXT_PUBLIC_CAPAGENT_API_BASE_URL for client discovery).

  3. Request a challenge → solve byte instructions → verify to get a proof JWT.

  4. Protect routes by validating that JWT (or use the SDK helpers).

Suggested reading order

  1. Prompt template — onboard an agent fast

  2. npm package — install capgent-sdk

  3. API reference — endpoints and auth

  4. Use cases — when Capgent fits your product

Prompt template

Paste into your agent to sign the live Capgent guestbook — Worker API URLs and a one-click copy block.

On this page

What you’ll do
Suggested reading order