Configuration Reference

Copy Markdown View Source

This is the copy-paste reference for common jido_ai configuration and defaults.

Application Config

# config/config.exs
config :jido_ai,
  model_aliases: %{
    fast: "provider:fast-model",
    capable: "provider:capable-model",
    reasoning: "provider:reasoning-model",
    planning: "provider:planning-model"
  }

Package defaults are built into Jido.AI; model_aliases is merged on top for overrides.

Strategy/Macro Defaults

Request Defaults

  • await timeout: 30_000ms
  • max retained requests per agent state: 100
  • request-scoped ReAct overrides: tools, allowed_tools, request_transformer, max_iterations, tool_context, req_http_options, llm_opts

Security Defaults

  • hard max turns cap: 50
  • callback timeout: 5_000ms

CLI Defaults (mix jido_ai)

  • --type: react
  • supported types: react | aot | cod | cot | tot | got | trm | adaptive

  • --timeout: 60_000
  • --format: text

Failure Mode: Conflicting Defaults Across Layers

Symptom:

  • behavior differs between CLI, runtime calls, and tests

Fix:

  • define explicit model and timeout at the call-site for critical paths
  • use one shared config module for environment-specific settings

Next