Welcome to loaf
A terminal-first AI coding assistant that brings powerful AI models, extensible tools, and custom skills directly to your command line.
Quick start
Get loaf running in your terminal in minutes
Start loaf
Run loaf in TUI mode:On first launch, loaf will guide you through onboarding to connect AI providers.
Connect a provider
Choose from multiple AI providers:
- OpenAI: OAuth login for ChatGPT models
- OpenRouter: API key for access to 200+ models
- Antigravity: OAuth for additional model access
Key features
Everything you need for AI-powered terminal development
Multi-provider support
Connect to OpenAI, OpenRouter, or Antigravity. Switch models on the fly.
Powerful tools
Built-in bash, file operations, JavaScript execution, and web search.
Skills system
Load repeatable instruction bundles with simple
$skill-name syntax.Background processes
Run long-running shell and JavaScript processes in the background with PTY support.
RPC API
JSON-RPC 2.0 stdio server for programmatic integration.
Custom tools
Author your own JavaScript tools and load them automatically.
Explore by topic
Find what you need to build with loaf
Slash commands
Master loaf’s command interface with /auth, /model, /history, and more.
Learn commands
Shell execution
Run shell commands with persistent state, PTY support, and background mode.
Explore bash tool
Custom tools
Author JavaScript tools that extend loaf’s capabilities.
Build tools
RPC integration
Integrate loaf into your tools with JSON-RPC 2.0 over stdio.
View API
Ready to get started?
Install loaf and start building with AI in your terminal today.
View quickstart guide