> ## 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

<CardGroup cols={2}>
  <Card title="OpenAI SDK" icon="code" href="/quickstart">
    JavaScript/TypeScript (`npm install openai`) and Python
    (`pip install openai`). Set `baseURL` to
    `https://api.prisminference.com/v1`.
  </Card>

  <Card title="Anthropic SDK" icon="code" href="/quickstart">
    JavaScript/TypeScript (`npm install @anthropic-ai/sdk`) and Python
    (`pip install anthropic`). Set `baseURL` to
    `https://api.prisminference.com` (no `/v1`).
  </Card>
</CardGroup>

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.

<CardGroup cols={2}>
  <Card title="Codex" icon="terminal" href="/guides/codex" />

  <Card title="Cursor" icon="mouse-pointer" href="/guides/cursor" />

  <Card title="OpenCode" icon="terminal" href="/guides/opencode" />

  <Card title="Hermes" icon="terminal" href="/guides/hermes" />

  <Card title="OpenClaw" icon="paw" href="/guides/openclaw" />

  <Card title="Coding agents" icon="robot" href="/guides/coding-agents" />
</CardGroup>

## Machine-readable contract

* [OpenAPI 3.1 specification](/api-reference/openapi)
* [Documentation index](/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.