Personal: connect an agent
1
Create a personal account
Open Locus Pro signup. Use email,
Google, GitHub, GitLab, or Ethereum when the method appears. Email signup
verifies a six-digit code; Ethereum signup also verifies a recovery email.
The account starts at exactly $0 with no free credits.
2
Choose tools
Open Tools and enable only the ordinary provider endpoints the agent
needs. Those entries start disabled, so an unenabled tool cannot spend
credits. Where capability routing is available, its system-managed router
is already enabled and cannot be toggled like an ordinary provider.
3
Add credits
Open Credits, choose an amount, and complete Locus-hosted Stripe
Checkout. Personal top-ups do not receive enterprise volume bonuses.
4
Connect the client
Open Connections, copy the hosted MCP URL into a supported client, and
complete the browser approval. The client stores and refreshes OAuth
tokens; you do not copy a tenant key into it. Included supports one active
OAuth-connected client, Plus supports three, and Unlimited removes the
active-client cap.
An agent can create its own restricted account through AgentID without a
Locus dashboard identity. Use agent-native onboarding.
Enterprise: make an API call
The remaining steps are for an evaluation or enterprise workspace. Personal accounts do not expose API Keys and cannot run this server-key flow.1. Open or join a workspace
Use your evaluation or team invitation, or complete the enterprise intake arranged with Locus. Sign in and select the enterprise workspace. See Account setup and sign-in for invitation and identity details.2. Get your keys
Sign in to the Locus Pro dashboard. Add a passkey when prompted if you will create or rotate sensitive credentials. Issue credentials from API Keys in the dashboard:
Your keys are control-plane credentials. Before giving an agent access, create a scoped
lcac_… connection with its own tool allowlist, account binding, expiry, and spend limits.
Prefer a command-line workflow?
Install the official Locus CLI to manage Locus Pro and call the same API from a terminal or agent runtime:LOCUS_SECRET_KEY in
your secret manager or environment; never pass it in a prompt or commit it to
source control.
3. Confirm the available credits
A credit is worth whatever ratio you set, default 1 credit = USD 0.001, so 1,000 credits per US dollar. Evaluation workspaces cannot use earnings payouts until an active commercial agreement is effective.- Dashboard
- API
Open Funding & billing → Funding and confirm the available platform
balance alongside the top-up controls.
4. Make your first metered call
One prerequisite: ordinary provider entries start disabled, and a call to a disabled endpoint returns403. Enable tavily/search from Agent tools in the dashboard or with one request:
POST /api/wrapped/credits/{provider}/{endpoint} with the provider’s own request body. The example below runs a Tavily web search with the SDK and with curl.
No call goes through without an
Idempotency-Key. Send a fresh UUID per logical call and reuse it on retries: a retry with the same key replays the stored result and never double-charges. The SDK generates and reuses one for you.5. Read the cost from the response
The charge and remaining balance come back as response headers; the SDK parses them intores.cost.
X-Locus-End-User (next section) and the charge becomes your marked-up price instead, 117 credits at a 30% markup.
That’s the whole loop: call → charge → balance, with no separate per-call provider invoices to reconcile. Contracted enterprise platform fees are billed separately under the applicable agreement. If a non-streaming upstream call fails before success, Locus releases the reservation automatically. Streaming captures after upstream acceptance and before the first response byte, so later disconnects or stream failures remain charged; see inference and streaming.
Enterprise: charge an end user instead of your pool
To charge a specific end-user at your price instead of drawing from your wholesale pool, add their id:Next steps
Catalog directory
Browse every API and its pricing model.
Credits & pricing
The exact charge math.
Connect an agent
Use OAuth interactively or a scoped service credential for unattended work.
SDK reference
Server SDK methods and return shapes.