DOCS/GETTING-STARTED/QUICKSTART

quickstart

Quickstart

Get up and running with Andromity in under 5 minutes.


PREREQUISITES
  • Python 3.11+ (for executing the agent environment)
  • pipx (recommended for global installation of CLI applications)
  • An API Key (from Anthropic, OpenAI, Gemini, Groq, or OpenRouter) or a local Ollama server running

STEP 1 — INSTALL THE CLI

The simplest way is using our one-line global installation scripts.

Linux / macOS:

BASH
curl -fsSL https://raw.githubusercontent.com/agenticmarket/andromity/main/install.sh | bash

Windows (PowerShell):

MARKUP
irm https://raw.githubusercontent.com/agenticmarket/andromity/main/install.ps1 | iex

The scripts auto-install pipx if it is missing, download the latest version of Andromity, and update your environment path.

Manual Installation using pipx

If you prefer to install it manually:

BASH
pipx install andromity

Don't have pipx installed? Get it via pip: pip install pipx && pipx ensurepath, then restart your terminal.


STEP 2 — SET UP API KEYS

Andromity reads API keys from your environment variables. Export your key depending on the model provider you wish to use:

BASH
# For Anthropic Claude models
export ANTHROPIC_API_KEY="sk-ant-..."

# For Google Gemini models
export GEMINI_API_KEY="AIzaSy..."

# For OpenAI models
export OPENAI_API_KEY="sk-..."

# For OpenRouter access
export OPENROUTER_API_KEY="sk-or-..."

(Alternatively, you can write these keys directly into Andromity's automatic config file. See the Configuration Guide for config.toml setup).


STEP 3 — LAUNCH ANDROMITY

Open a terminal inside your target software project directory and run:

BASH
andromity

This will launch Andromity's rich interactive TUI, ready to assist.


STEP 4 — SCRIPTED RUN (HEADLESS)

If you want to invoke Andromity for a single instruction without launching the interactive UI, use the run command:

BASH
andromity run "refactor this module to use async"

To run without requiring approvals for safe commands:

BASH
andromity run "write tests for user.py" --yes

To perform a dry run and preview proposed edits only:

BASH
andromity run "add error handling to main.py" --dry-run