Source: https://katara.com/developers

Build with Katara

# From Your First API Call to Agents in Production.

Bring inference, agent execution, and authority into your application. Start with the piece you need and connect the others as your workflow grows.

[Start Building](https://docs.katara.com/start/api/)[Explore Recursive Agents](https://github.com/KataraLabs/katara-recursive-agents-x402)

For Developers

## Inference for Agents. An API for Your Apps.

Give your agents direct access to Katara Cortex inference. Pay per request in USDC with x402, without an account or API key.

Build applications with an API key and the OpenAI-compatible API.

Katara Cortex handles provider selection, routing, validation, metering, and settlement. Add Katara Synapse execution and Katara Locus governance as your workflow grows.

[x402 Examples on GitHub](https://github.com/KataraLabs/katara-recursive-agents-x402)

Katara CortexInference API

Machine-to-Machine Inference

`POST``https://api.katara.com/v1/chat/completions`

```
curl -i https://api.katara.com/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "katara/cortex@1",
    "messages": [{"role": "user", "content": "hi"}],
    "max_tokens": 8
  }'
```

This unpaid request returns `402 Payment Required` with a quote. Sign the payment, then resend the same body with `PAYMENT-SIGNATURE` to run inference.

[Read the x402 Integration Guide](https://docs.katara.com/developers/x402/)

```
from openai import OpenAI
import os

client = OpenAI(
    base_url="https://api.katara.com/v1",
    api_key=os.environ["KATARA_API_KEY"],
)

reply = client.chat.completions.create(
    model="katara/cortex@1",
    messages=[{"role": "user", "content": "Hello, Katara!"}],
)
```

Build apps with the OpenAI client you already use. API-key requests pay from your Katara account balance.

[Read the API-Key Quickstart](https://docs.katara.com/start/api/)

### Recursive x402 Agents

Delegate work. Pay for inference as agents run.

[Explore the Example](https://github.com/KataraLabs/katara-recursive-agents-x402)

### Katara Synapse

Agent execution, orchestration, and memory.

[Explore Agent Execution](https://docs.katara.com/products/overview/)

### Katara Locus

Tool access, budgets, policies, and approvals.

[Explore Agent Governance](https://docs.katara.com/products/overview/)

### Axon

Coming Soon

More from Katara. Stay tuned.

For x402 Agents

## Agents That Spawn Agents.

An agent can delegate work to new agents, which can spawn agents of their own. Each can call Katara Cortex for inference and pay on the spot with x402.

Define a task, budget, and spending rules for each agent. It can buy inference as the workflow runs, paying in USDC for the work it needs to complete.

Recursive Agents.
Inference Paid on Demand.

[View the Recursive Agents Example](https://github.com/KataraLabs/katara-recursive-agents-x402) [Read the Payment Docs](https://docs.katara.com/concepts/pricing/)

HTTP + x402

Payment Flow

1. **Request Inference** — `POST /v1/chat/completions`
2. **Receive Payment Terms** — `402 Payment Required`
3. **Authorize Payment** — `PAYMENT-SIGNATURE`
4. **Run Inference. Return a Result.** — `200 OK`

Every agent can buy inference. Paid in USDC. Settled onchain.

Execution and Governance

## Run Agents. Define Their Boundaries.

Use Katara Synapse and Katara Locus independently or together. Your application can use Katara Cortex for inference without running a managed agent.

### Katara Synapse

Define agents, connect approved knowledge and memory, and run, schedule, inspect, and evaluate their work.

[Read the Execution Guide](https://docs.katara.com/products/overview/)

### Katara Locus

Set tool permissions, grants, budgets, policies, and required human approvals. Govern agents hosted on Katara or in your existing runtime.

[Govern an External Agent](https://docs.katara.com/products/tutorial-external-agent/)

### Axon

Coming Soon

A new part of the Katara developer experience is on its way. Follow the Katara blog for future announcements.

[Follow Katara Updates](https://katara.com/blog)

Katara Synapse and Katara Locus availability depends on the services enabled for your deployment and environment. [Check product availability](https://docs.katara.com/products/availability/) before choosing an integration.
