> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prisminference.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SDKs and clients

> Use OpenAI and Anthropic SDKs, or an agent harness, against the Prism API.

Prism exposes OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages
over HTTP. There is no Prism-specific SDK to install. Use any OpenAI- or
Anthropic-compatible client, or point a coding agent at Prism.

## Client libraries

> [card] [OpenAI SDK](https://docs.prisminference.com/quickstart.md)
>
> JavaScript/TypeScript (`npm install openai`) and Python
> (`pip install openai`). Set `baseURL` to
> `https://api.prisminference.com/v1`.

> [card] [Anthropic SDK](https://docs.prisminference.com/quickstart.md)
>
> JavaScript/TypeScript (`npm install @anthropic-ai/sdk`) and Python
> (`pip install anthropic`). Set `baseURL` to
> `https://api.prisminference.com` (no `/v1`).

Any other client that speaks the OpenAI Chat Completions or Anthropic Messages
wire format works with the matching base URL.

## Base URLs

| Client | Base URL |
| - | - |
| OpenAI SDK and compatible clients | `https://api.prisminference.com/v1` |
| Anthropic SDK and compatible clients | `https://api.prisminference.com` |
| Direct HTTP | `https://api.prisminference.com` + path |

## Agent integrations

Prism ships first-party setup for coding agents. Each guide covers provider
configuration and native credential storage.

> [card] [Codex](https://docs.prisminference.com/guides/codex.md)

> [card] [Cursor](https://docs.prisminference.com/guides/cursor.md)

> [card] [OpenCode](https://docs.prisminference.com/guides/opencode.md)

> [card] [Hermes](https://docs.prisminference.com/guides/hermes.md)

> [card] [OpenClaw](https://docs.prisminference.com/guides/openclaw.md)

> [card] [Coding agents](https://docs.prisminference.com/guides/coding-agents.md)

## Machine-readable contract

* [OpenAPI 3.1 specification](https://docs.prisminference.com/api-reference/openapi.md)
* [Documentation index](https://docs.prisminference.com/llms.txt)
* [Full agent context](https://prisminference.com/llms-full.txt)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.