A local-first AI agent that runs on your machine using Ollama. Get intelligent responses and tool execution through a global command-line interface - no cloud dependencies.
- Smart Tool Selection: AI decides when to search web, run commands, or browse files
- Global CLI Access: Use
agentcommand from anywhere - Local & Private: All models run on your machine via Ollama
- Interactive & Single-Query: Flexible usage for different needs
- Memory Persistence: Maintains conversation context
git clone https://github.com/Alsecerc/ollamaAgent.git
cd ollamaAgent
startup.batThe script automatically installs dependencies, downloads AI models, and sets up the global CLI.
git clone https://github.com/Alsecerc/ollamaAgent.git
cd ollamaAgent
pip install -e .agent "List files in current directory"
agent "Search for latest AI news"
agent "Check Python version"
agent "What's trending in tech today?"agent -iIn interactive mode:
- Type questions naturally
- Use
/memory view,/memory clearfor memory management - Type
/quitto exit
The AI automatically chooses from:
- Web Search - Current information, news, trends
- CLI Commands - System operations, development tasks
- File Operations - Browse directories, list files
# System tasks
agent "Show disk usage and running processes"
agent "Find Python files in this project"
# Information gathering
agent "Latest Python 3.14 features"
agent "Compare sorting algorithms"
# Mixed queries
agent "Check my Python version and find the latest release"Create .env file for web search:
GOOGLE_API_KEY=your_key
GOOGLE_SEARCH_ENGINE_ID=your_id- Python 3.13+
- Ollama (auto-installed by startup.bat)
See DEV_README.md for development setup, architecture details, and contribution guidelines.
MIT License - See LICENSE file.