Skip to main content
Start with the path that matches your account. Personal accounts are self-serve and connect MCP clients through browser OAuth. Enterprise workspaces add tenant API keys, server SDKs, end-user balances, markup, the widget, and team controls.

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.
Your client can now discover and call the enabled tools. Every successful call reports its charge and remaining balance. Non-streaming provider failures release their credit reservation; an accepted stream can remain charged after a later disconnect or stream failure. See Connect an agent for client-specific OAuth instructions.
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.
Treat the secret key like a password. Workspaces can hold many named keys; if one leaks, rotate that key from the dashboard’s API Keys page or POST /api/credits/tenants/me/keys/KEY_UUID/rotate — the replacement inherits its name, scopes, and expiry, other keys keep working, and without a gracePeriodSeconds overlap the leaked key is dead as of the response.

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:
Use the Locus CLI docs for installation, authentication, command discovery, and agent-friendly JSON output. The repo-backed release targets the production Locus Pro API by default. Keep 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.
Open Funding & billing → Funding and confirm the available platform balance alongside the top-up controls.
Check the balance any time:
If the balance is zero, create a pool top-up from Funding & billing → Funding or follow Funding & billing. Credential creation, catalog configuration, and integration previews do not spend credits.

4. Make your first metered call

One prerequisite: ordinary provider entries start disabled, and a call to a disabled endpoint returns 403. Enable tavily/search from Agent tools in the dashboard or with one request:
Every call has the same shape: 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 into res.cost.
Secret-key calls with no end-user id charge the base price: 90 credits here on a USD 0.09 base. Add 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:
Credits & pricing covers both modes in full.

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.