本页还没有译文
本页 24 段还没译成日本語,下面显示的是英文原文。Pi
还没翻译译自英文(docs.ollama.com)本页 24 段都还没译
Pi is a minimal and extensible coding agent.
Quick setup
ollama launch piThis installs Pi if needed, configures Ollama as a provider including web tools, and drops you into an interactive session.
To configure without launching:
ollama launch pi --configRun directly with a model
ollama launch pi --model qwen3.5:cloudCloud models are also available at ollama.com.
Extensions
Pi ships with four core tools: read, write, edit, and bash. All other capabilities are added through its extension system.
On-demand capability packages invoked via /skill:name commands.
Install from npm or git:
pi install npm:@foo/some-tools
pi install git:github.com/user/repo@v1See all packages at pi.dev
Web search
Pi can use web search and fetch tools via the @ollama/pi-web-search package.
When launching Pi through Ollama, package install/update is managed automatically. To install manually:
pi install npm:@ollama/pi-web-searchAutoresearch with pi-autoresearch
pi-autoresearch brings autonomous experiment loops to Pi. Inspired by Karpathy's autoresearch, it turns any measurable metric into an optimization target: test speed, bundle size, build time, model training loss, Lighthouse scores.
pi install https://github.com/davebcn87/pi-autoresearchTell Pi what to optimize. It runs experiments, benchmarks each one, keeps improvements, reverts regressions, and repeats — all autonomously. A built-in dashboard tracks every run with confidence scoring to distinguish real gains from benchmark noise.
/autoresearch optimize unit test runtimeEach kept experiment is automatically committed. Each failed one is reverted. When you're done, Pi can group improvements into independent branches for clean review and merge.
Manual setup
Install
Install Pi:
npm install -g @earendil-works/pi-coding-agentAdd a configuration block to ~/.pi/agent/models.json:
{
"providers": {
"ollama": {
"baseUrl": "http://localhost:11434/v1",
"api": "openai-completions",
"apiKey": "ollama",
"models": [
{
"id": "qwen3-coder"
}
]
}
}
}Update ~/.pi/agent/settings.json to set the default provider:
{
"defaultProvider": "ollama",
"defaultModel": "qwen3-coder"
}