Appearance
Global Configuration
Red Station configuration is centered in the ~/.pilot/ directory.
Directory Structure
text
~/.pilot/
├── config.yaml # Main configuration overrides
├── agent-defaults.yaml # Default settings for all agents
├── mcp.yaml # MCP Server registry
├── models.yaml # LLM Provider settings
├── tools.yaml # Runner configuration
└── secrets.yaml # Encrypted secrets storeagent-defaults.yaml
Defines the baseline behavior for any agent that doesn't explicitly override these values.
yaml
defaults:
model:
provider: ollama
name: llama3.1:8b
temperature: 0.7
max_tokens: 4096
behavior:
autonomy: suggest # Agents pause for approval by default
max_iterations: 10 # Prevent infinite loops
timeout: 300 # Seconds
memory:
type: conversation
max_messages: 50
security:
sandbox: true # Isolate execution
allowed_paths: # Whitelist accessible directories
- "src/"
- "tests/"
- "docs/"
denied_paths:
- ".env"
- "secrets/"models.yaml
Configures the LLM backend.
yaml
default: ollama
providers:
ollama:
type: ollama
base_url: http://localhost:11434
openai:
type: openai
api_key: ${secrets.OPENAI_API_KEY}
aliases:
fast:
provider: ollama
model: llama3.1:8b
smart:
provider: openai
model: gpt-4-turbomcp.yaml
Registers MCP Servers (the "Matrix").
yaml
servers:
# Built-in Python implementation
filesystem:
transport: builtin
enabled: true
# External Node.js implementation
github:
command: npx
args: ["-y", "@modelcontextprotocol/server-github"]
env:
GITHUB_TOKEN: "${secrets.GITHUB_TOKEN}"
enabled: truetools.yaml
Configures Runners (specialized command executors).
yaml
runners:
test:
type: test
auto_detect: true # Auto-finds pytest, jest, etc.
coverage: true
lint:
type: lint
auto_detect: true