> For AI agents: the complete documentation index is available at https://docs.reelway.ai/llms.txt, the full documentation bundle is available at https://docs.reelway.ai/llms-full.txt.

# Intelligence 客户端

Reelway 的 Intelligence 能力不发布独立 SDK:推理面与 OpenAI 同形,**OpenAI 官方 SDK 就是 Intelligence 客户端**。

```js
import OpenAI from 'openai';
const client = new OpenAI({ baseURL: 'https://api.reelway.ai/v1', apiKey: process.env.REELWAY_API_KEY });
```

对话、流式与函数工具的用法见[OpenAI SDK 兼容性](https://docs.reelway.ai/intelligence/openai-sdk-compatibility.md);服务端持久运行经 REST 直接调用 `POST /v1/chat/runs`,见[持久对话运行](https://docs.reelway.ai/intelligence/durable-chat-runs.md)。
