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:
| Variable | Description | Default |
|---|---|---|
PORT | Server port | 3000 |
DATABASE_URL | SQLite database path | ~/.friday-dev/data/db.sqlite |
GEMINI_API_KEY | Google Gemini API key | - |
OPENAI_API_KEY | OpenAI API key | - |
ANTHROPIC_API_KEY | Anthropic API key | - |
RUST_LOG | Log level | info |
API Keys Setup
Gemini (Recommended - Free)
- Go to Google AI Studio
- Create a new API key
- Add to config or environment:
export GEMINI_API_KEY="your-key-here"
OpenAI
- Go to OpenAI Platform
- Create an API key
- Add to config or environment:
export OPENAI_API_KEY="your-key-here"
Anthropic (Claude)
- Go to Anthropic Console
- Create an API key
- 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:
| Level | Description |
|---|---|
workspace-write | Can only modify files in workspace (Recommended) |
skip-permissions-unsafe | Full 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
- Task Management - Learn about tasks
- AI Agents - Explore available agents
- CLI Reference - Command line options