# OpenAgents Khala — skill setup

Add Khala as an OpenAI-compatible inference tool in your agent.

- Base URL: https://openagents.com/api/v1 (legacy https://openagents.com/v1 still works as an alias)
- Chat Completions: https://openagents.com/api/v1/chat/completions
- Models endpoint: https://openagents.com/api/v1/models
- Models: `openagents/khala`
- Auth: `Authorization: Bearer <openagents-agent-key>`

## OpenAI client config

```json
{
  "baseURL": "https://openagents.com/api/v1",
  "apiKey": "<your-openagents-agent-key>",
  "model": "openagents/khala"
}
```

## Pay-per-call

Use an OpenAgents agent key and account balance for keyed pay-per-call access.
The standalone Machine Payments / x402 chat endpoint is deferred after #8387 and
is not part of this live skill setup.

See https://openagents.com/agents.md for the full flow.
