CONCEPT Cited by 1 source
Declarative agent definition¶
Definition¶
A framework design principle where developers describe what an agent knows (model, skills, sandbox, instructions) rather than scripting what it does (no explicit orchestration loop). The agent autonomously solves tasks given its declared context.
Contrast with imperative agent orchestration where developers write explicit state machines, routing logic, or step-by-step tool-call sequences.
(Source: Agents platform post.)
Trade-offs¶
| Aspect | Declarative | Imperative |
|---|---|---|
| Developer effort | Low (define context) | High (write orchestration) |
| Control | Less fine-grained | Full control over flow |
| Debugging | Harder (model decides) | Easier (predictable paths) |
| Flexibility | Agent adapts to novel tasks | Fixed to coded paths |
Seen in¶
- sources/2026-06-17-cloudflare-bringing-more-agent-harnesses-and-frameworks-to-cloudflare โ Flue's core design principle
Related¶
- systems/flue โ the system that embodies this principle
- concepts/three-layer-agent-platform-stack โ the stack where this belongs at framework layer