Skip to content

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

Last updated ยท 542 distilled / 1,571 read