Graph shape
- agent node - a model (
provider/model), a system prompt, and the tool ids it may call. - tool node - executes the referenced tools and returns results to the agent.
- router node - optional branching.
- edges - connect nodes;
__end__terminates the run.
agent → tools → agent, with agent → __end__ when the
model has its answer.
Versions
Each agent has numbered versions. Publishing a version points the agent at it.cruqai push compiles an authoring file and publishes a new version.
Running
cruqai runs / cruqai trace.