A

AI Agents

Built-in AI agent presets that can be inserted into a workflow as a callable action.

AiInternal
3
Actions
0
Triggers

Example

A complete route that uses AI Agents — an input is matched, scored by a strategy, assigned, and dispatched to AI Agents.

type == "ai.task"key →TriggerNew AI taskWebhookAssignleast_loadedStrategymodel-fleetassignedagentActionDelivered
Show the code
// Route an AI task to the cheapest capable model.
engine.Route(ductor.Route{
Match: `routable.type == "ai.task"`,
Strategy: "least_loaded",
Pool: "model-fleet",
Then: ductor.Workflow{
Mode: ductor.Async,
Steps: ductor.Steps{
ductor.Connector("agent", "run"),
},
},
})
 
// Durable, observable, exactly-once.
decision, err := engine.Dispatch(ctx, routable)

What you can build

Cheapest-capable routing

Send each task to the lowest-cost model that can handle it.

Failover across providers

Try one provider, fall back on error or rate limit.

Human-in-the-loop

Gate risky generations behind an approval step.

Authentication

No auth

Credentials are stored AEAD-encrypted at rest — usable by the engine, never readable back.

Actions

No actions on this connector.