Getting Started
Install
Section titled “Install”uv tool install cyclops-codePython 3.10 or later is required. uv is the recommended way to install and manage Cyclops Code.
Set an API key
Section titled “Set an API key”Cyclops Code uses LiteLLM to call any model. Set the environment variable for the provider you want to use:
# Anthropicexport ANTHROPIC_API_KEY="sk-ant-..."
# OpenAIexport OPENAI_API_KEY="sk-..."
# Groq (fast, free tier available)export GROQ_API_KEY="gsk_..."
# Googleexport GEMINI_API_KEY="..."
# Ollama (local, no key needed)# Install from https://ollama.aiYou can also add the key to your shell profile (~/.zshrc, ~/.bashrc) so you do not need to export it every time.
First run
Section titled “First run”Start the interactive REPL:
cyclopsOr run a one-shot task without entering the REPL:
cyclops "fix the type errors in src/auth.py"cyclops "write tests for the payment module"On first launch Cyclops Code asks you to select a default model. You can change it later with /model or --model.
Pick a model
Section titled “Pick a model”Pass --model to override the default for a single run:
cyclops --model anthropic/claude-opus-4-5 "refactor the database layer"cyclops --model groq/llama-3.3-70b-versatile "explain this function"cyclops --model ollama/qwen2.5-coder:7b "add docstrings"See Models for the full list of providers and model strings.
Development install
Section titled “Development install”To run from source or contribute:
git clone https://github.com/gopaljigaur/cyclops-codecd cyclops-codeuv syncuv run cyclopsTo use a local build of cyclops-ai alongside cyclops-code:
uv add --editable ../cyclops