Ollama Chat CLI

•

Engage with AI models through a command-line interface, leveraging local and cloud LLMs for agentic chat with document retrieval and tool integrations.

Ollama Chat CLI is a powerful command-line application that brings agentic AI capabilities to your terminal. It operates on the Model Context Protocol (MCP) architecture, enabling rich interactions with AI models via document retrieval, command-based prompts, and integrated tools. By default, it runs on a free local model (qwen2.5:7b) through Ollama, with seamless fallbacks to cloud providers like Groq and GitHub Models, all unified by LiteLLM for provider-agnostic access. This setup allows for private, offline AI interactions while offering the flexibility of cloud models, making it a versatile tool for engaging with AI agents.

주요 기능

01One-line provider switching between Ollama, Groq, and GitHub Models via `.env` variables.
02Agentic tool-calling loop enabling the model to read and edit documents.
030 GitHub stars
04Local-first AI processing with Ollama (`qwen2.5:7b`) for privacy and zero cost.
05Interactive terminal UI with `@document` mentions and `/command` prompts with autocompletion.
06MCP server exposing tools, resources, and prompts over an in-memory document store.

사용 사례

01Accessing and manipulating document profiles via an AI agent within a command-line environment.
02Interacting with AI models for agentic tasks, utilizing local or cloud LLMs.
03Developing and testing AI agents that can call tools and manipulate documents.