Skip to main content
QitOS is configured through three overlapping layers:
  1. AgentModule.run() keyword arguments — the normal per-run entrypoint
  2. Engine constructor keyword arguments — lower-level runtime control
  3. Environment variables — provider credentials and model defaults

AgentModule.run() arguments

All of the following can be passed to agent.run(task, ...). This is the canonical user-facing configuration surface for QitOS runs.
Minimal example

Engine constructor arguments

When you construct an Engine directly (or via engine_kwargs), these parameters are available: RuntimeBudget fields
When a Task object is passed to Engine.run(), the Task.budget values override the Engine’s RuntimeBudget for that run.

Environment variables

Example .env file

Trace output directory structure

By default, AgentModule.run() writes traces to ./runs/. Each run creates one subdirectory:
Auto-generated run ID format
Override the prefix with trace_prefix:
Pointing qita board at your trace directory
Tracing is enabled by default in AgentModule.run(). Set trace=False only for quick interactive experiments — disabling tracing means runs cannot be replayed or inspected with qita.