Arcen Agent v1.0.0
⌘K
⌘K

Core files

Use this page when deciding where a change belongs.

File or directoryEdit when
run_agent.pyYou need to change the agent loop, budgets, callbacks, or agent-level tools.
model_tools.pyYou need to change tool discovery or function-call dispatch.
toolsets.pyYou need to expose a built-in tool through a toolset.
cli.pyYou need to change interactive CLI behavior.
arcen_cli/commands.pyYou need to add or edit slash command definitions.
gateway/run.pyYou need gateway runtime behavior or command dispatch.
gateway/platformsYou need a messaging platform adapter.
pluginsYou need extension behavior without core edits.
ui-tuiYou need the Ink terminal UI.
tui_gatewayYou need TUI backend methods or events.

Tool dependency chain

tools/registry.py
  -> tools/*.py
  -> model_tools.py
  -> run_agent.py, cli.py, batch_runner.py, environments

Config loaders

LoaderUsed by
load_cli_config() in cli.pyInteractive CLI.
load_config() in arcen_cli/config.pySetup, tools, and most subcommands.
Direct YAML loading in gateway/run.pyGateway runtime.