# Agent home files and NAISYS specific databases will be stored here
NAISYS_FOLDER="~/.naisys"

# Custom hostname, defaults to machine name
NAISYS_HOSTNAME=

# Leave api keys blank if not using the service
OPENAI_API_KEY=
GOOGLE_API_KEY=
ANTHROPIC_API_KEY=
XAI_API_KEY=
OPENROUTER_API_KEY=

# Used by llmynx to search the web
GOOGLE_SEARCH_ENGINE_ID=

# These spend limits apply to all agents using this .env file, or override in the agent yaml for per-agent spend limits
SPEND_LIMIT_DOLLARS=20  # Global spend limit across all agents using this .env file
SPEND_LIMIT_HOURS=24 # Time period for spend limits apply in, not a sliding window. If not set then no time limit.

# OpenAI Codex OAuth models have no dollar cost, only account usage limits. The hub polls
# account usage and suspends all active Codex OAuth agents when a window crosses the threshold.
CODEX_USAGE_LIMIT_PERCENT=80  # Suspend Codex OAuth agents at/over this percent usage (default 80)
CODEX_USAGE_CHECK_MINUTES=5 # How often the hub polls Codex account usage (default 5)

# Integrated server configuration if the --integrated-hub option is used on startup
SERVER_PORT=3300
PUBLIC_READ=false
ALLOW_PASSWORD_LOGIN=false

# Only needed when connecting to a remote hub (--hub=https://...). Value is the cert fingerprint printed at hub startup.
HUB_ACCESS_KEY=


# Custom global vars for use in agent configurations here
