| Example | Description |
|---|---|
| Cerebras OpenAI Basic | Compare synchronous, asynchronous, and streaming calls through Cerebras’ OpenAI-compatible endpoint. |
| DB | Store CerebrasOpenAI agent sessions in Postgres with history added to context. |
| Knowledge | Query a PgVector knowledge base built from a PDF with a CerebrasOpenAI agent. |
| Cerebras OpenAI OSS GPT | Use gpt-oss-120b on the Cerebras OpenAI-compatible endpoint with WebSearchTools. |
| Cerebras OpenAI Structured Output | Return a typed MovieScript from a CerebrasOpenAI agent with output_schema. |
| Cerebras OpenAI Tool Use | Call WebSearchTools from a CerebrasOpenAI agent in sync and async modes. |
Cerebras (OpenAI)
Cerebras OpenAI
Run Cerebras models through the OpenAI-compatible endpoint: streaming, tools, structured output, storage, and knowledge.