2025-10-01 09:54:17 +00:00
|
|
|
# Hermes Agent Environment Configuration
|
|
|
|
|
# Copy this file to .env and fill in your API keys
|
|
|
|
|
|
|
|
|
|
# =============================================================================
|
2026-01-23 12:26:53 +00:00
|
|
|
# LLM PROVIDER (OpenRouter - Primary)
|
2025-10-01 09:54:17 +00:00
|
|
|
# =============================================================================
|
2026-01-23 12:26:53 +00:00
|
|
|
# OpenRouter provides access to many models through one API
|
|
|
|
|
# Get at: https://openrouter.ai/keys
|
|
|
|
|
OPENROUTER_API_KEY=
|
2025-10-01 09:54:17 +00:00
|
|
|
|
2026-01-23 12:26:53 +00:00
|
|
|
# Default model to use (OpenRouter format: provider/model)
|
|
|
|
|
# Examples: anthropic/claude-sonnet-4, openai/gpt-4o, google/gemini-2.0-flash
|
|
|
|
|
LLM_MODEL=anthropic/claude-sonnet-4
|
|
|
|
|
|
|
|
|
|
# =============================================================================
|
|
|
|
|
# TOOL API KEYS
|
|
|
|
|
# =============================================================================
|
2025-10-01 09:54:17 +00:00
|
|
|
|
|
|
|
|
# Firecrawl API Key - Web search, extract, and crawl
|
|
|
|
|
# Get at: https://firecrawl.dev/
|
|
|
|
|
FIRECRAWL_API_KEY=
|
|
|
|
|
|
|
|
|
|
# Nous Research API Key - Vision analysis and multi-model reasoning
|
|
|
|
|
# Get at: https://inference-api.nousresearch.com/
|
|
|
|
|
NOUS_API_KEY=
|
|
|
|
|
|
|
|
|
|
# FAL.ai API Key - Image generation
|
|
|
|
|
# Get at: https://fal.ai/
|
|
|
|
|
FAL_KEY=
|
|
|
|
|
|
|
|
|
|
# =============================================================================
|
2026-01-23 12:26:53 +00:00
|
|
|
# TERMINAL TOOL CONFIGURATION (mini-swe-agent backend)
|
2025-10-01 09:54:17 +00:00
|
|
|
# =============================================================================
|
2026-01-23 12:26:53 +00:00
|
|
|
# Backend type: "local", "docker", or "modal"
|
|
|
|
|
# - local: Runs directly on your machine (fastest, no isolation)
|
|
|
|
|
# - docker: Runs in Docker containers (isolated, requires Docker installed)
|
|
|
|
|
# - modal: Runs in Modal cloud sandboxes (scalable, requires Modal account)
|
|
|
|
|
TERMINAL_ENV=docker
|
2025-10-01 09:54:17 +00:00
|
|
|
|
2026-01-23 12:26:53 +00:00
|
|
|
# Docker image to use (for docker and modal backends)
|
|
|
|
|
TERMINAL_DOCKER_IMAGE=python:3.11-slim
|
|
|
|
|
|
|
|
|
|
# Working directory inside the container
|
|
|
|
|
TERMINAL_CWD=/tmp
|
|
|
|
|
|
|
|
|
|
# Default command timeout in seconds
|
|
|
|
|
TERMINAL_TIMEOUT=60
|
|
|
|
|
|
|
|
|
|
# Cleanup inactive environments after this many seconds
|
|
|
|
|
TERMINAL_LIFETIME_SECONDS=300
|
2025-10-01 09:54:17 +00:00
|
|
|
|
|
|
|
|
# =============================================================================
|
2026-01-23 12:26:53 +00:00
|
|
|
# MODAL CLOUD BACKEND (Optional - for TERMINAL_ENV=modal)
|
2025-10-01 09:54:17 +00:00
|
|
|
# =============================================================================
|
2026-01-23 12:26:53 +00:00
|
|
|
# Modal uses CLI authentication, not environment variables.
|
|
|
|
|
# Run: pip install modal && modal setup
|
|
|
|
|
# This will authenticate via browser and store credentials locally.
|
|
|
|
|
# No API key needed in .env - Modal handles auth automatically.
|
2025-10-01 09:54:17 +00:00
|
|
|
|
2026-01-23 12:26:53 +00:00
|
|
|
# =============================================================================
|
|
|
|
|
# LEGACY/OPTIONAL API KEYS
|
|
|
|
|
# =============================================================================
|
|
|
|
|
|
|
|
|
|
# Morph API Key - For legacy Hecate terminal backend (terminal-hecate tool)
|
|
|
|
|
# Get at: https://morph.so/
|
|
|
|
|
MORPH_API_KEY=
|
|
|
|
|
|
|
|
|
|
# Hecate VM Settings (only if using terminal-hecate tool)
|
2025-10-01 09:54:17 +00:00
|
|
|
HECATE_VM_LIFETIME_SECONDS=300
|
|
|
|
|
HECATE_DEFAULT_SNAPSHOT_ID=snapshot_p5294qxt
|
|
|
|
|
|
2026-01-23 12:26:53 +00:00
|
|
|
# Direct provider keys (optional - OpenRouter is preferred)
|
|
|
|
|
ANTHROPIC_API_KEY=
|
|
|
|
|
OPENAI_API_KEY=
|
|
|
|
|
|
|
|
|
|
# =============================================================================
|
|
|
|
|
# DEBUG OPTIONS
|
|
|
|
|
# =============================================================================
|
2025-10-01 09:54:17 +00:00
|
|
|
WEB_TOOLS_DEBUG=false
|
|
|
|
|
VISION_TOOLS_DEBUG=false
|
|
|
|
|
MOA_TOOLS_DEBUG=false
|
|
|
|
|
IMAGE_TOOLS_DEBUG=false
|