Skip to main content

Configuration

Customize Friday Dev to match your workflow.

Configuration File

Friday Dev uses a configuration file at ~/.friday-dev/config.json:

{
"port": 3000,
"theme": "dark",
"defaultAgent": "friday",
"apiKeys": {
"gemini": "your-gemini-api-key",
"openai": "your-openai-api-key",
"anthropic": "your-anthropic-api-key"
},
"git": {
"autoCommit": false,
"autoPush": false
}
}

Environment Variables

You can also configure Friday Dev using environment variables:

VariableDescriptionDefault
PORTServer port3000
DATABASE_URLSQLite database path~/.friday-dev/data/db.sqlite
GEMINI_API_KEYGoogle Gemini API key-
OPENAI_API_KEYOpenAI API key-
ANTHROPIC_API_KEYAnthropic API key-
RUST_LOGLog levelinfo

API Keys Setup

  1. Go to Google AI Studio
  2. Create a new API key
  3. Add to config or environment:
export GEMINI_API_KEY="your-key-here"

OpenAI

  1. Go to OpenAI Platform
  2. Create an API key
  3. Add to config or environment:
export OPENAI_API_KEY="your-key-here"

Anthropic (Claude)

  1. Go to Anthropic Console
  2. Create an API key
  3. Add to config or environment:
export ANTHROPIC_API_KEY="your-key-here"

Agent Configuration

Default Agent

Set your preferred default agent:

{
"defaultAgent": "friday" // Options: friday, gemini, claude, codex, glm, qwen
}

Agent Autonomy Levels

Configure how much freedom agents have:

LevelDescription
workspace-writeCan only modify files in workspace (Recommended)
skip-permissions-unsafeFull access, no confirmations
{
"agentAutonomy": "workspace-write"
}

Git Integration

Auto-commit

Automatically commit changes after agent completes:

{
"git": {
"autoCommit": true,
"commitPrefix": "[Friday Dev]"
}
}

Auto-push

Push commits automatically (use with caution):

{
"git": {
"autoPush": false,
"remoteName": "origin"
}
}

MCP Configuration

For IDE integration, configure MCP settings:

{
"mcp": {
"enabled": true,
"stdio": true
}
}

VS Code Integration

Add to your VS Code settings:

{
"friday-dev.mcpEnabled": true,
"friday-dev.autoStart": true
}

Database Location

Change the database location:

# Using environment variable
export DATABASE_URL="sqlite:/path/to/db.sqlite?mode=rwc"

# Or in config.json
{
"database": {
"path": "/custom/path/db.sqlite"
}
}

Logging

Configure log levels:

# Options: error, warn, info, debug, trace
export RUST_LOG=info

# Detailed logging for debugging
export RUST_LOG=debug

Reset Configuration

To reset all settings to defaults:

friday-dev --reset-config

Or manually delete the config file:

rm ~/.friday-dev/config.json

Next Steps