Every public class, function and type of the criogenai Python package (0.1.7), one page per module, generated from its docstrings and type hints every time the site is built. Install it with pip install criogenai. The same API in TypeScript and Rust.
New to CriogenAI? Start with the quickstart and the agents guide; come here for the exact names, parameters and defaults.
Agents#
| Page | What it covers | Main names |
|---|
| Agents | The agent: a model, tools and instructions; runs, threads, streams and approvals. | Agent, Thread, Stream, Reply |
| Tools | Functions the model can call: definitions, input schemas, errors and the tool context. | tool, Tool, ToolError, ToolContext |
| Hooks | Your code around the agent loop: before and after model and tool calls. | HookContext, HookAction, ToolCall, ToolResult |
| Errors | Every error class, one per stable error code. | CriogenError, ModelError, ToolExecutionError, LimitExceededError |
| Usage and cost | Tokens and an estimated price for a run. | estimate_cost |
Models#
| Page | What it covers | Main names |
|---|
| Models | Providers and models: OpenAI, Anthropic, Gemini, Azure, Bedrock, Vertex AI, local servers and more. | OpenAI, Anthropic, Gemini, FakeModel |
| Gateway | Chat, stream and embed without an agent, with retries and fallbacks. | Gateway, ChatReply, Chunk, ChatStream |
| Keys and environment | Loading API keys from a file or the environment. | parse_env, load_env, status, key_name |
Data#
Orchestration#
| Page | What it covers | Main names |
|---|
| Workflows | Graphs of steps and agents: routes, joins, loops, pauses for people, and threads. | Workflow, CompiledWorkflow, WorkflowThread, END |
| Patterns | Ready-made multi-agent designs: sequential, parallel, loops, routers, debates and more. | sequential, parallel, loop, custom |
| Specialist agents | Default agent recipes (researcher, writer, critic, ...) and a registry for your own. | Specialist, register, unregister, get |
Integrations#
Quality and operations#
| Page | What it covers | Main names |
|---|
| Telemetry | Exporting runs to Langfuse or any OpenTelemetry backend. | Telemetry |
| Trace viewer | A local page that shows your runs, with no account. | serve, TraceViewer, main |
| Evals | Datasets, scorers, judges, comparisons and quality gates. | evaluate, Dataset, EvalResult, compare |
| Readiness check | Checks that the engine, keys and providers work before you ship. | ready, ready_sync |