Skip to content

Configuration Reference

Complete reference for Amelia's configuration system.

Overview

Amelia stores all configuration in a SQLite database (~/.amelia/amelia.db). Configuration is managed through:

  • CLI: amelia config profile and amelia config server commands
  • Dashboard: Settings page at /settings with Profiles and Server tabs

Profile Management

Profiles define how Amelia connects to LLMs and issue trackers for different projects or environments.

List Profiles

bash
amelia config profile list

Shows all profiles with their driver, model, tracker, and agent count.

Show Profile Details

bash
amelia config profile show <name>

Displays full profile configuration including per-agent settings.

Create Profile

bash
# Interactive mode (prompts for all options)
amelia config profile create my-profile

# With flags (non-interactive)
amelia config profile create my-profile \
  --driver api \
  --model "minimax/minimax-m2" \
  --tracker github \
  --repo-root /path/to/project \
  --activate
FlagShortDescription
--driver-dLLM driver (claude, codex, or api)
--model-mModel name (required for API drivers)
--tracker-tIssue tracker (none, github, jira)
--repo-root-wRepository root path for agent execution
--activate-aSet as active profile after creation

Activate Profile

bash
amelia config profile activate <name>

Sets the default profile used when --profile is not specified.

Delete Profile

bash
amelia config profile delete <name>

Removes a profile from the database.

Profile Fields

Driver (required)

How Amelia communicates with LLMs.

ValueDescriptionRequirements
apiDirect OpenRouter API callsOPENROUTER_API_KEY env var, model field
claudeClaude CLI wrapperclaude CLI installed and authenticated
codexOpenAI Codex CLI wrappercodex CLI installed and authenticated

Model (required for API drivers)

The LLM model identifier. Required when using api driver.

Common models:

  • anthropic/claude-sonnet-4.5 - Claude Sonnet 4.5 (recommended)
  • google/gemini-2.5-flash - Gemini 2.5 Flash (cost-effective)
  • minimax/minimax-m2 - MiniMax M2

For claude and codex drivers, model is optional but helps with clarity.

Tracker

Where Amelia fetches issue details from.

ValueDescriptionRequirements
githubGitHub issuesgh CLI authenticated (gh auth login)
jiraJira issuesJIRA_BASE_URL, JIRA_EMAIL, JIRA_API_TOKEN env vars
noneNo trackerNone (use --task for ad-hoc tasks)

Repository Root

The root directory of the repository this profile targets. When set, the Developer agent operates from this path.

Default: Current working directory where commands are run.

Plan Output Directory

Directory for storing generated plans.

Default: docs/plans

Auto Approve Reviews

When enabled, automatically approves passing reviews without human intervention.

Default: false

Per-Agent Configuration

Each profile can configure individual agents with different drivers and models. This allows mixing claude, codex, and api drivers within a single profile, or using different models for different agents.

View agent configurations:

bash
amelia config profile show <name>

Example output:

text
Agent Configurations
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Agent          ┃ Driver         ┃ Model                  ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━┩
│ architect      │ claude        │ opus                   │
│ developer      │ api           │ qwen/qwen3-coder-flash │
│ reviewer       │ claude        │ opus                   │
└────────────────┴────────────────┴────────────────────────┘

Per-agent configuration can be edited via the dashboard at /settings/profiles.

Server Settings

Server settings control runtime behavior and are separate from profile configuration.

Show Settings

bash
amelia config server show

Set a Value

bash
amelia config server set <key> <value>

Available Settings

SettingTypeDefaultDescription
log_retention_daysint30Days to retain event logs
log_retention_max_eventsint100000Max events per workflow
trace_retention_daysint7Days to retain trace-level events
checkpoint_retention_daysint0Days to retain LangGraph checkpoints
checkpoint_pathpath~/.amelia/checkpoints.dbCheckpoint database location
websocket_idle_timeout_secondsfloat300.0WebSocket idle timeout
workflow_start_timeout_secondsfloat60.0Workflow start timeout
max_concurrentint5Max concurrent workflows

Example:

bash
# Allow more concurrent workflows
amelia config server set max_concurrent 10

Environment Variable Overrides

Server settings can also be overridden via environment variables with the AMELIA_ prefix:

VariableDescription
AMELIA_HOSTServer bind address (default: 127.0.0.1)
AMELIA_PORTServer port (default: 8420)
AMELIA_DATABASE_PATHSQLite database location
AMELIA_LOG_RETENTION_DAYSDays to retain logs
AMELIA_MAX_CONCURRENTMax concurrent workflows

Environment variables take precedence over database settings.

Required Environment Variables

OpenRouter API Driver

VariableDescription
OPENROUTER_API_KEYYour OpenRouter API key

Jira Tracker

VariableDescription
JIRA_BASE_URLJira instance URL (e.g., https://company.atlassian.net)
JIRA_EMAILYour Jira email
JIRA_API_TOKENJira API token

GitHub Tracker

The GitHub tracker requires the gh CLI to be installed and authenticated:

bash
gh auth login

Dashboard Configuration

The dashboard provides a visual interface for managing configuration at /settings:

Profiles Tab

  • View all profiles as cards showing driver, agents, and repository root
  • Filter profiles by driver type (claude, codex, or api)
  • Create new profiles with the "+ Create Profile" button
  • Click a profile card to edit its settings
  • Set active profile

Server Tab

  • Adjust retention policies (log, trace)
  • Set execution limits (max concurrent workflows)
  • Toggle debugging options

Example

bash
# Create a profile for your project
amelia config profile create myproject \
  --driver api \
  --model "minimax/minimax-m2" \
  --tracker github \
  --repo-root /path/to/myproject \
  --activate

# Verify the profile
amelia config profile show myproject

For a full walkthrough including server startup and workflow execution, see the Usage Guide.

Troubleshooting

For configuration-related errors ("Profile not found", "Driver not recognized", "Missing model field", "Missing API key"), see Troubleshooting — Configuration Issues.