AgentModule.run()keyword arguments — the normal per-run entrypointEngineconstructor keyword arguments — lower-level runtime control- Environment variables — provider credentials and model defaults
AgentModule.run() arguments
All of the following can be passed toagent.run(task, ...). This is the canonical user-facing configuration surface for QitOS runs.
Task and execution
Task and execution
Parsing and decisions
Parsing and decisions
Tracing and rendering
Tracing and rendering
Hooks and engine passthrough
Hooks and engine passthrough
Engine constructor arguments
When you construct anEngine directly (or via engine_kwargs), these parameters are available:
RuntimeBudget fields
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:
trace_prefix:
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.