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.
Getting Started
By the end of this guide, you’ll have:- A running agent on your machine
- Connected to the Svantic mesh
- Responding to natural language prompts
- Fully traced in the dashboard
Prerequisites
Node.js 20+
Required runtime for Svantic agents. Download the latest LTS version.
Svantic Account
Free to create. You’ll need API keys from the dashboard.
Quick Start
Clone the starter agent
The starter agent has simple capabilities (calculator, clock, unit converter) — things you wouldn’t normally need AI for. That’s intentional.
AI should only do what requires AI. A calculator doesn’t need an LLM — it needs arithmetic. The LLM’s job is to understand “what’s 42 times 17?” and route it to the right tool. The tool does the actual work, deterministically and cheaply.This is how Svantic works: the mesh uses AI for understanding and routing, your agents use code for execution. You get natural language interfaces without burning tokens on tasks that don’t need them.
Get your API keys
Sign up at app.svantic.com/signup, go to Settings → API Keys → Create Key, and copy your Client ID and Client Secret.
Start the agent
See it in the dashboard
Go to app.svantic.com and click into your session:- Agent registry — Your agent listed with URL, version, heartbeat status
- Session timeline — The conversation you just had
- Tool calls —
calculatecalled with{ operator: "multiply", a: 42, b: 17 } - Telemetry spans — End-to-end timing for every step
Understand the Code
Everything is insrc/agent.ts — 5 lines to create an agent, ~10 lines per capability.
The Agent
name — Identity in the mesh. Other agents discover you by this.
description — The mesh LLM reads this to decide when to route tasks to your agent.
port — The mesh calls your agent at this port to invoke capabilities.
mesh — Credentials for mesh connection. Without this, the agent runs standalone.
Capabilities
Each capability is a function the mesh can call:name — The mesh invokes your capability by this name.
parameters — JSON Schema. The LLM constructs arguments from natural language.
handler — Your business logic. Receives parsed arguments, returns a result.
Start
What’s Next
Build with Forge
Generate agents from OpenAPI specs or prompts.
Build by Hand
Deeper guide with multiple capabilities.
Add to Existing Service
Use
attach() with Express apps.Connecting Agents
Discover and call other agents.
