Simple, user-friendly configuration options for AutoBot. For detailed technical configuration, see Complete Configuration Reference.
AutoBot provides multiple ways to configure settings:
- Web Interface: Click the gear icon (⚙️) in the web interface
- Chat Commands: Type
/settingsin the chat - Configuration File: Edit
config/config.yamldirectly
Option 1: Ollama (Local, Free)
llm_config:
default_llm: "ollama_tinyllama"
ollama:
host: "http://localhost:11434"Option 2: OpenAI (Cloud, Paid)
llm_config:
default_llm: "openai_gpt35"
openai:
api_key: "" # Set via environment variable OPENAI_API_KEYOption 3: Anthropic Claude (Cloud, Paid)
llm_config:
default_llm: "anthropic_claude"
anthropic:
api_key: "" # Set via environment variable ANTHROPIC_API_KEY# Change ports if needed
backend:
server_port: 8001
# Frontend port (if running development server)
frontend:
port: 5173
# Enable/disable features
memory:
redis:
enabled: true # Set false if Redis not available
chromadb:
enabled: true # Vector database for knowledge search- Access Settings: Click ⚙️ icon → "LLM Configuration"
- Choose Provider: Select Ollama, OpenAI, or Anthropic
- Select Model: Pick from available models
- Adjust Temperature:
- Low (0.1-0.3): More focused, deterministic responses
- Medium (0.4-0.7): Balanced creativity and consistency
- High (0.8-1.0): More creative, varied responses
- Access Settings: Click ⚙️ icon → "Agent Behavior"
- Autonomy Level:
- Supervised: Asks permission for system commands (recommended)
- Autonomous: Executes approved commands automatically
- Restricted: Chat only, no system access
- Command Permissions: Enable/disable file system, network, and command execution
- Access Settings: Click ⚙️ icon → "Performance"
- Hardware Acceleration: Enable GPU if available
- Memory Limits: Set RAM usage limits
- Model Options: Choose faster vs higher quality models
llm_config:
default_llm: "ollama_tinyllama" # Fast, local, free
agent:
autonomy_level: "supervised" # Safe, asks permission
memory:
redis:
enabled: true # Enhanced features
chromadb:
enabled: true # Knowledge search
hardware:
gpu:
enabled: false # Use CPU (stable)llm_config:
default_llm: "ollama_llama2" # Better code understanding
agent:
autonomy_level: "autonomous" # Faster workflow
max_task_depth: 15 # Complex tasks
debugging:
enabled: true # Development tools
log_level: "debug" # Detailed logs
hardware:
gpu:
enabled: true # Faster inferencellm_config:
default_llm: "openai_gpt4" # Highest quality
security:
strict_mode: true # Enhanced security
command_filter:
enabled: true # Filter dangerous commands
logging:
audit_enabled: true # Compliance logging
retention_days: 90 # Keep logs longer
network:
require_auth: true # Authentication requiredFor sensitive information, use environment variables instead of config files:
# AI Provider API Keys
export OPENAI_API_KEY="your-openai-key" # pragma: allowlist secret
export ANTHROPIC_API_KEY="your-anthropic-key" # pragma: allowlist secret
# Server Configuration
export AUTOBOT_BACKEND_PORT=8001
export AUTOBOT_FRONTEND_PORT=5173
# Redis Configuration
export AUTOBOT_REDIS_HOST="localhost"
export AUTOBOT_REDIS_PORT=6379
export AUTOBOT_REDIS_PASSWORD="your-password" # pragma: allowlist secret
# Security
export AUTOBOT_SECRET_KEY="your-secure-secret" # pragma: allowlist secretAdd these to your shell profile (.bashrc, .zshrc) to persist across sessions.
# Validate configuration file
python -c "from src.config import config; print('✓ Configuration valid')"
# Test specific components
python -c "from src.diagnostics import check_llm; check_llm()"
python -c "from src.diagnostics import check_redis; check_redis()"Use the web interface or chat commands:
/status config
/settings validate
# Create timestamped backup
cp config/config.yaml config/config.backup.$(date +%Y%m%d_%H%M%S).yaml
# Quick backup
cp config/config.yaml config/config.backup.yaml# Restore from backup
cp config/config.backup.yaml config/config.yaml
# Reset to defaults
cp config/config.yaml.template config/config.yamlThrough web interface:
- Settings → "Export Configuration"
- Save the downloaded file as backup
- Import on other AutoBot instances
Issue: Changes not taking effect
- Restart AutoBot:
./run_agent.sh - Check configuration syntax:
python -c "import yaml; yaml.safe_load(open('config/config.yaml'))"
Issue: LLM connection failed
- Verify API keys in environment variables
- For Ollama: ensure service is running (
ollama serve) - Check network connectivity
Issue: Port conflicts
- Change ports in configuration:
backend:
server_port: 8002 # Change from default 8001Issue: Performance problems
- Disable GPU if causing issues:
hardware:
gpu:
enabled: false- Use lighter models (tinyllama instead of llama2)
- Built-in Validation: AutoBot validates configuration on startup
- Web Interface: Visual feedback for configuration errors
- Log Files: Check
logs/autobot.logfor configuration issues - Chat Support: Ask AutoBot about configuration: "Help me configure my settings"
For advanced users who need detailed technical configuration:
- Complete Configuration Reference: All YAML sections and options
- API Configuration: REST API settings and security
- Developer Configuration: Development and deployment options
- Never commit API keys to version control
- Use environment variables for sensitive data
- Set secure file permissions:
chmod 600 config/config.yaml - Regular backups of working configurations
- Start simple: Use default settings first
- Monitor resources: Watch CPU/RAM usage
- GPU acceleration: Enable only if stable
- Model selection: Balance speed vs quality
- Version control: Track configuration changes
- Documentation: Comment complex settings
- Testing: Validate after changes
- Monitoring: Watch logs for issues
Need more advanced configuration options? See the Complete Configuration Reference for technical details.