Build with editable AI tools that stay documented by default
This is the user-facing reference for Arrey. Every tool page is generated from your registry manifest and README, so docs evolve as your tools evolve.
Quickstart
Installation
Initialize once, then add tools as needed. Arrey writes source files into your project so you keep full ownership and can customize behavior directly.
Configuration
Your First Tool
How Tools Work
Every tool follows the same canonical layout: `index.ts`, `prompt.ts`, `manifest.json`, and `README.md`. This enables consistent execution and predictable documentation generation.
The ctx Object
`ctx` gives each tool completion, streaming, chunking, validation, memory, and composition primitives through one runtime interface.
Provider System
Swap providers without rewriting your tools. OpenAI, Anthropic, Ollama, Azure, and custom implementations are supported through a shared contract.
Tool Composition
Combine primitives into specialized workflows while preserving transparent, editable source code in your own project.