Credo: Declarative Control of LLM Pipelines via Beliefs and Policies
arXiv cs.AI / 4/17/2026
📰 NewsDeveloper Stack & InfrastructureIdeas & Deep AnalysisModels & Research
Key Points
- The paper argues that agentic, long-lived LLM systems need correctness not just from individual outputs but also from how they adapt as new evidence arrives and prior conclusions are revised.
- It criticizes existing agent frameworks for using imperative control loops, ephemeral memory, and prompt-embedded logic, which can make behavior hard to understand, brittle, and difficult to verify.
- Credo is proposed as a system that represents an agent’s semantic state as explicit beliefs and controls actions via declarative policies defined over those beliefs.
- The approach uses a database-backed semantic control plane to enable adaptive, auditable, and composable execution, allowing behavior to change without modifying the underlying pipeline code.
- A decision-control case study shows how beliefs and policies can guide key choices such as model selection, retrieval, and corrective re-execution.

![[Patterns] AI Agent Error Handling That Actually Works](/_next/image?url=https%3A%2F%2Fmedia2.dev.to%2Fdynamic%2Fimage%2Fwidth%3D1200%2Cheight%3D627%2Cfit%3Dcover%2Cgravity%3Dauto%2Cformat%3Dauto%2Fhttps%253A%252F%252Fdev-to-uploads.s3.amazonaws.com%252Fuploads%252Farticles%252Frn5czaopq2vzo7cglady.png&w=3840&q=75)

