Skip to content

Configuration

Agent

Variable Default Meaning
AGENT_NAME required Name of the identity
KERI_PASSPHRASE required Protects the identity keys
API_TOKEN required Token of the API
CALLBACK_TOKEN required Token with which the daemons call the agent
AUTHORITY_AID required Trusted authority
RELAYS required Relays, separated by commas
SWARMD_URL, SWARMD_TOKEN required Hyperswarm daemon
IROHD_URL, IROHD_TOKEN required Iroh daemon
AGGREGATOR_URL none Cache for advertisements
LEDGER_AID, LEDGER_URL none Settlement
RUNTIME agent_dns.runtime:register Services
RUNTIME_URL, RUNTIME_ROUTES none For the HTTP runtime
POLICY_RULES role agent may call everything Policy. Fixed at the first start
NIP05_SCHEME https http is for tests
ALLOW_PRIVATE false Allow domains with private addresses
TOAD 3 Witness threshold
DATA_DIR, NETWORK /data, /config/network.json Paths

swarmd

Variable Meaning
API_TOKEN, CALLBACK_TOKEN Tokens
AGENT_URL Agent to deliver requests to
DHT_BOOTSTRAP Bootstrap nodes

irohd

Variable Default Meaning
API_TOKEN, CALLBACK_TOKEN required Tokens
AGENT_URL required Agent
RELAYS none Iroh relays, separated by commas
UDP_PORT 7777 QUIC port
RELAY_ONLY false Never connect directly
MAX_BLOB 1 TiB Largest blob

RELAYS of irohd are Iroh relays with http:// or https:// addresses, and are different from the relays of the agent.