🤖 AI Summary
Current agent systems rely on imperative control, transient memory, and logic embedded within prompts, resulting in behaviors that are opaque, brittle, and difficult to verify. This work proposes a declarative control paradigm centered on beliefs and policies: semantic states are modeled as structured beliefs, and declarative policies defined over these beliefs dynamically govern the execution logic of large language model (LLM) pipelines—including model selection, retrieval, and corrective re-execution—without requiring modifications to the underlying code. Built upon a database-backed semantic control plane, this approach substantially enhances system adaptability, auditability, and modularity in decision-making scenarios.
📝 Abstract
Agentic AI systems are becoming commonplace in domains that require long-lived, stateful decision-making in continuously evolving conditions. As such, correctness depends not only on the output of individual model calls, but also on how to best adapt when incorporating new evidence or revising prior conclusions. However, existing frameworks rely on imperative control loops, ephemeral memory, and prompt-embedded logic, making agent behavior opaque, brittle, and difficult to verify. This paper introduces Credo, which represents semantic state as beliefs and regulates behavior using declarative policies defined over these beliefs. This design supports adaptive, auditable, and composable execution through a database-backed semantic control plane. We showcase these concepts in a decision-control scenario, where beliefs and policies declaratively guide critical execution choices (e.g., model selection, retrieval, corrective re-execution), enabling dynamic behavior without requiring any changes to the underlying pipeline code.