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-29 06:10:24 +00:00
|
|
|
# LLM PROVIDER (OpenRouter)
|
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
|
2026-01-29 06:10:24 +00:00
|
|
|
# All LLM calls go through OpenRouter - no direct provider keys needed
|
|
|
|
|
# Get your key at: https://openrouter.ai/keys
|
2026-01-23 12:26:53 +00:00
|
|
|
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)
|
2026-01-29 06:10:24 +00:00
|
|
|
# Examples: anthropic/claude-sonnet-4, openai/gpt-4o, google/gemini-2.0-flash, zhipuai/glm-4-plus
|
2026-01-23 12:26:53 +00:00
|
|
|
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-29 22:47:11 +00:00
|
|
|
# TERMINAL TOOL CONFIGURATION
|
2025-10-01 09:54:17 +00:00
|
|
|
# =============================================================================
|
2026-01-29 06:10:24 +00:00
|
|
|
# Backend type: "local", "singularity", "docker", or "modal"
|
2026-01-29 22:47:11 +00:00
|
|
|
# Uncomment ONE configuration block below based on your preferred backend.
|
|
|
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
# OPTION 1: Singularity/Apptainer (RECOMMENDED for HPC clusters)
|
|
|
|
|
# - No root required, common on shared systems
|
|
|
|
|
# - Auto-builds and caches SIF images from docker:// URLs
|
|
|
|
|
# - Uses /scratch if available, otherwise /tmp
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
TERMINAL_ENV=singularity
|
|
|
|
|
TERMINAL_SINGULARITY_IMAGE=docker://nikolaik/python-nodejs:python3.11-nodejs20
|
|
|
|
|
TERMINAL_CWD=/workspace
|
2026-01-23 12:26:53 +00:00
|
|
|
TERMINAL_TIMEOUT=60
|
2026-01-29 22:47:11 +00:00
|
|
|
# Optional: Override scratch directory (auto-detects /scratch or /tmp)
|
|
|
|
|
# TERMINAL_SCRATCH_DIR=/scratch/myuser/hermes
|
|
|
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
# OPTION 2: Local execution (FASTEST, but no isolation)
|
|
|
|
|
# - Runs directly on your machine
|
|
|
|
|
# - No containers, no setup required
|
|
|
|
|
# - WARNING: Commands run with your user permissions
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
# TERMINAL_ENV=local
|
|
|
|
|
# TERMINAL_CWD=/tmp
|
|
|
|
|
# TERMINAL_TIMEOUT=60
|
|
|
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
# OPTION 3: Docker (good isolation, requires Docker)
|
|
|
|
|
# - Requires Docker installed and user in 'docker' group
|
|
|
|
|
# - Each task gets an isolated container
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
# TERMINAL_ENV=docker
|
|
|
|
|
# TERMINAL_DOCKER_IMAGE=nikolaik/python-nodejs:python3.11-nodejs20
|
|
|
|
|
# TERMINAL_CWD=/workspace
|
|
|
|
|
# TERMINAL_TIMEOUT=60
|
|
|
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
# OPTION 4: Modal (cloud execution, scalable)
|
|
|
|
|
# - Requires Modal account: pip install modal && modal setup
|
|
|
|
|
# - Runs in Modal's cloud sandboxes
|
|
|
|
|
# - Good for scaling to many parallel workers
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
# TERMINAL_ENV=modal
|
|
|
|
|
# TERMINAL_MODAL_IMAGE=nikolaik/python-nodejs:python3.11-nodejs20
|
|
|
|
|
# TERMINAL_CWD=/workspace
|
|
|
|
|
# TERMINAL_TIMEOUT=60
|
|
|
|
|
|
|
|
|
|
# Common settings for all backends
|
2026-01-23 12:26:53 +00:00
|
|
|
TERMINAL_LIFETIME_SECONDS=300
|
2026-01-29 22:36:07 +00:00
|
|
|
TERMINAL_DISK_WARNING_GB=500
|
|
|
|
|
|
2026-01-29 06:10:24 +00:00
|
|
|
# =============================================================================
|
|
|
|
|
# BROWSER TOOL CONFIGURATION (agent-browser + Browserbase)
|
|
|
|
|
# =============================================================================
|
|
|
|
|
# Browser automation requires Browserbase cloud service for remote browser execution.
|
|
|
|
|
# This allows the agent to navigate websites, fill forms, and extract information.
|
|
|
|
|
#
|
|
|
|
|
# STEALTH MODES:
|
|
|
|
|
# - Basic Stealth: ALWAYS active (random fingerprints, auto CAPTCHA solving)
|
|
|
|
|
# - Advanced Stealth: Requires BROWSERBASE_ADVANCED_STEALTH=true (Scale Plan only)
|
|
|
|
|
|
|
|
|
|
# Browserbase API Key - Cloud browser execution
|
|
|
|
|
# Get at: https://browserbase.com/
|
|
|
|
|
BROWSERBASE_API_KEY=
|
|
|
|
|
|
|
|
|
|
# Browserbase Project ID - From your Browserbase dashboard
|
|
|
|
|
BROWSERBASE_PROJECT_ID=
|
|
|
|
|
|
|
|
|
|
# Enable residential proxies for better CAPTCHA solving (default: true)
|
|
|
|
|
BROWSERBASE_PROXIES=true
|
|
|
|
|
|
|
|
|
|
# Enable advanced stealth mode (default: false, requires Scale Plan)
|
|
|
|
|
BROWSERBASE_ADVANCED_STEALTH=false
|
|
|
|
|
|
2026-01-31 21:42:15 -08:00
|
|
|
# Browser session timeout in seconds - Browserbase session duration (default: 300)
|
2026-01-29 06:10:24 +00:00
|
|
|
BROWSER_SESSION_TIMEOUT=300
|
|
|
|
|
|
2026-01-31 21:42:15 -08:00
|
|
|
# Browser inactivity timeout in seconds - auto-cleanup inactive sessions (default: 120)
|
|
|
|
|
BROWSER_INACTIVITY_TIMEOUT=120
|
|
|
|
|
|
2026-01-29 06:10:24 +00:00
|
|
|
# =============================================================================
|
2026-01-29 22:36:07 +00:00
|
|
|
# LEGACY/OPTIONAL
|
2026-01-23 12:26:53 +00:00
|
|
|
# =============================================================================
|
|
|
|
|
|
2026-01-29 22:36:07 +00:00
|
|
|
# Morph API Key - For legacy Hecate terminal backend
|
2026-01-23 12:26:53 +00:00
|
|
|
# Get at: https://morph.so/
|
2026-01-29 22:47:11 +00:00
|
|
|
# MORPH_API_KEY=
|
2026-01-23 12:26:53 +00:00
|
|
|
|
|
|
|
|
# Hecate VM Settings (only if using terminal-hecate tool)
|
2026-01-29 22:47:11 +00:00
|
|
|
# HECATE_VM_LIFETIME_SECONDS=300
|
|
|
|
|
# HECATE_DEFAULT_SNAPSHOT_ID=snapshot_p5294qxt
|
2025-10-01 09:54:17 +00:00
|
|
|
|
2026-01-23 12:26:53 +00:00
|
|
|
# =============================================================================
|
|
|
|
|
# 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
|