# KRIM CLI

Thin CLI agent. Trust the model, keep the harness light.

## Installation

```bash
pip install krim
```

Requires Python 3.10+ and one of:

```bash
export ANTHROPIC_API_KEY="sk-..."
export OPENAI_API_KEY="sk-..."
export OPENROUTER_API_KEY="sk-or-..."
```

## Usage

```bash
# Interactive mode
# Prompts for provider, model, and any missing API key
krim

# Single prompt
krim "fix the bug in main.py"

# Explicit provider/model
krim --provider claude --model claude-opus-4-6 "refactor this"
krim --provider openai --model gpt-5.2 "add tests"
krim --provider openrouter --model minimax/minimax-m2.5 "fix the failing test"
krim --provider openrouter --model z-ai/glm-5-turbo "summarize this repository"

# Sessions
krim --log-dir ./.krim/session "investigate flaky tests"
krim --resume ./.krim/session

# Other options
krim --max-turns 20 "big refactor task"
krim --skill deploy "ship it"
krim --loop --exit-on "pytest" "implement the feature"
krim --parallel "add auth" "add tests"
```

## License

MIT
