# OpenAgents Agent Cloud — agent guide

OpenAgents sells inference and verified coding outcomes **per call**. This page
tells an agent how to call the inference gateway.

## Call Khala (OpenAI-compatible)

Khala speaks the OpenAI Chat Completions contract. Change only the base URL and
the model:

```bash
curl https://openagents.com/api/v1/chat/completions \
  -H "authorization: Bearer <your-openagents-agent-key>" \
  -H "content-type: application/json" \
  -d '{
    "model": "openagents/khala",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
```

Models: `openagents/khala` only. It is the single public Khala surface for
general chat, coding, and OpenAgents-specific capabilities.
Catalog:
https://openagents.com/api/v1/models

Every response is standard OpenAI shape plus a non-breaking `openagents`
disclosure block (which concrete worker served the request, the supply lane, and
a dereferenceable receipt ref when metered).

## Pay per call

Use an OpenAgents agent key and account balance for keyed pay-per-call access.
Usage is metered from provider-reported tokens and returned with receipt
metadata. The no-account Machine Payments / x402 chat endpoint is deferred after
#8387 and is not part of the live discovery surface.

## More

- https://openagents.com/llms.txt — directory summary
- https://openagents.com/AGENTS.md — full agent onboarding
- https://openagents.com/docs/product-promises — pricing + product promises
