Get started
Launch Claude Code with Ollama:Capabilities
Chat
Ask questions about a repository or task
Command line
Run commands with Claude Code’s permission flow
Tool calling
Use tools with compatible models
File edits
Read and edit files in your project
Subagents
Split work across tasks
Web search
Search the web through Ollama
Web fetch
Fetch and summarize web pages
Vision
Send images and screenshots
Thinking
Use thinking controls with compatible models
Models
Choose a model with enough context for your repository.Cloud models
Use larger models without downloading them.
Local models
Choose a model and set a 64k+ context window.
For larger repositories, set the context length to 64k or higher.
More features
Run without interaction
Use--yes for scripts, Docker, or CI:
--yes flag skips selectors, pulls the model when needed, and requires --model. Arguments after -- are passed directly to Claude Code.
Web search
Use Ollama’s web search API from Claude Code. See Web search for setup and usage.Scheduled tasks with /loop
Use /loop inside Claude Code to run a prompt or slash command on a schedule:
Telegram
Connect a Telegram bot to your Claude Code session. Install the Telegram plugin, create a bot with @BotFather, then launch Claude Code:--dangerously-skip-permissions in an isolated environment.
See the plugin README for setup instructions.
Manual setup
1. Install Claude Code
2. Set the environment variables
3. Run Claude Code

