Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Ollama

$ ollama Official Med Risk
Ollama · AI & Media · MIT · macos / linux / windows

ollama downloads, manages, and serves quantized local LLMs on macOS, Linux, and Windows. While ollama run defaults to an interactive chat REPL unless given a prompt argument, subcommands like list, ps, and show plus its local localhost:11434 REST API integrate cleanly with scripts.

FCRS-1.0 Score
83 /100
Good
High Confidence
Zero-Friction Install
brew install ollama
CLI vs MCP Decision CLI Only

Use ollama list/ps/pull directly to manage local models; call http://localhost:11434/api/generate with curl for strict JSON-mode inference.

Agent-Readiness Checklist

Local Probe Evidence
✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
— Self-Describing
— Official SKILL.md
Version
Warning: could not connect to a running Ollama instance
Startup
82 ms
Exit Codes (help / invalid)
0 / 1
NO_COLOR Clean / Non-TTY Safe
Yes / Safe
Captured --help excerpt
Large language model runner

Usage:
  ollama [flags]
  ollama [command]

Available Commands:
  serve        Start Ollama
  create       Create a model
  show         Show information for a model
  run          Run a model
  stop         Stop a running model
  pull         Pull a model from a registry
  push         Push a model to a registry
  signin       Sign in to ollama.com
  signout      Sign out from ollama.com
  list         List models
  ps           List running models
  cp           Copy a model
  rm           Remove a model
  launch       Launch the Ollama menu or an integration
  help         Help about any command

Flags:
  -h, --help         help for ollama
      --nowordwrap   Don't wrap words to the next line automatically
      --verbose      Show timings for response
  -v, --version      Show version information

Use "ollama [command] --help" for more information about a command.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 19 / 25

Supports one-shot ollama run <model> <prompt> --format json, list, and ps, though bare ollama run enters a blocking REPL and list/ps emit plain tables rather than JSON.

  • Supports --format json on run; list and ps emit human tables
Trust & Safety 21 / 25

Local inference keeps prompts private on-device; pulling multi-GB weights writes large files into ~/.ollama/models.

  • Local model execution; pull downloads multi-GB weights to disk
Setup & Portability 13 / 15

Easy brew/installer setup across macOS, Linux, and Windows, though requires ollama serve daemon running and substantial RAM/VRAM.

  • Cross-platform binary/app; requires local ollama serve daemon and GPU/RAM
Utility & Efficiency 13 / 15

De-facto standard for local LLM management and OpenAI/Ollama HTTP serving.

  • One-command model pulling, quantization management, and local REST API
Maintenance & Lineage 9 / 10

Official ollama/ollama project under MIT license.

  • Official ollama/ollama repository
Docs & Verifiability 8 / 10

Clear docs/cli.md and ollama --help.

  • Official CLI docs at github.com/ollama/ollama

Security, Auth & Guardrails

Auth Modes
No Auth Config File
Credential Storage

Stores an Ed25519 key under ~/.ollama/id_ed25519 for pushing models to ollama.com; local inference needs no auth.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

Free, MIT open-source local inference runtime; hardware RAM/VRAM and disk space required.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Ollama Agent Rules
- Never run `ollama run <model>` without a prompt argument or piped stdin—bare invocations enter an interactive chat REPL.
- Confirm disk/VRAM capacity before running `ollama pull`, as model weights span several gigabytes.

Agent-Ready Command Recipes

Safe Read-Only Queries

List downloaded local models and sizes
ollama list

Displays installed local models, IDs, disk sizes, and modified timestamps.

Inspect currently loaded models in memory
ollama ps

Lists models currently resident in RAM/VRAM and processor split.

Controlled Writes & Previews

Run a one-shot non-interactive local prompt
ollama run llama3.2 --format json 'Return {"status":"ok"} as JSON.'

Runs single-shot inference (--format json) using a prompt argument rather than entering the REPL.

Strengths for Agents

  • + Simplest way to pull, inspect (list, ps), and run local LLMs.
  • + ollama run <model> <prompt> --format json supports one-shot JSON generation without entering the REPL.

Caveats & Pitfalls

  • ! ollama list and ollama ps do not output JSON directly (use curl localhost:11434/api/tags for JSON).
  • ! Bare ollama run <model> without a prompt blocks in an interactive chat loop, and ollama pull downloads gigabytes.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI