Skip to content

The AI stack for Nim.

The native Nim library for building LLM apps and agents. One unified API covering multiple providers, async and streaming calls, type-safe tools, and structured output.

Provider-native

OpenAI, Anthropic, Google Gemini, Mistral, OpenRouter, Hyper, and OpenCode adapters sharing one provider-neutral request model.

Streaming first

Stream text, thinking, tool calls, structured objects, and normalized agent events through Nim’s async primitives.

Tools that stay typed

Define local tools with Nim types, JSON Schema validation, structured errors, and bounded agent loops.

No framework required

Use the low-level provider API directly, or opt into reusable agents and conversations as your application grows.