Typed commands. Predictable outputs. Minimal tools.

Python for logic.
English for intelligence.

Declare typed functions, call any LLM, and get dependable results — without a framework.

Get started → Star on GitHub
Install: pip install alloy-ai
MIT-friendly, docs-first, minimal runtime.

Key benefits

Typed by default

Return types enforced with provider schema or guardrails; clear, actionable errors.

One API, any model

OpenAI, Anthropic, Gemini, Ollama — switch with a model string or env var.

Small API surface

Just @command, ask, and @tool. Plain Python; no framework bloat.