Documentation Index
Fetch the complete documentation index at: https://docs.svantic.com/llms.txt
Use this file to discover all available pages before exploring further.
Authentication & Access Control
Every interaction with Svantic is authenticated — from initial connection to individual capability invocations.API Credentials
Every agent authenticates with Svantic using API credentials (Client ID and Client Secret). You obtain these from the dashboard under Settings → API Keys. The SDK handles authentication automatically — provide your credentials and the SDK exchanges them for a short-lived token, then uses that token for all subsequent API calls.Per-Invocation Authentication
Every capability invocation is independently authenticated — not just the connection. Each dispatch carries a short-lived, cryptographically signed token that your agent’s SDK verifies before executing any handler. This means:- Replay attacks are blocked — tokens expire in seconds
- Each invocation is bound to a specific agent instance
- Forged requests are rejected — a compromised callback URL cannot be used to trigger capability execution
Registration Policies
Control which agent types are allowed to register with the mesh. Configurable in the dashboard under Settings → Agent Policy:| Mode | Behavior |
|---|---|
| Open (default) | Any agent type can register |
| Allow-list | Only pre-approved agent types can register |
| Audit | All types register, but unknown types are flagged for review |
Token Lifecycle
- Agent presents Client ID and Client Secret to
POST /auth/get_token - Svantic returns a short-lived JWT scoped to the agent’s account
- The SDK attaches this token to all subsequent API calls
- When the token nears expiry, the SDK refreshes it automatically
- On capability dispatch, a per-invocation token is generated and signed
- The receiving agent’s SDK verifies the per-invocation token before executing the handler
Getting Credentials
Sign up at app.svantic.com and navigate to Settings → API Keys → Create Key. You’ll receive a Client ID and Client Secret. Store these securely — the secret is shown only once.| Variable | Purpose | Required |
|---|---|---|
SVANTIC_CLIENT_ID | API client ID | Yes |
SVANTIC_CLIENT_SECRET | API client secret | Yes |
