Credo: Declarative Control of LLM Pipelines via Beliefs and Policies

Duo Lu, Andrew Crotty, Uğur Çetintemel
4/15/2026
cs.AIcs.DB

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lu2026credo,
  title  = {Credo: Declarative Control of LLM Pipelines via Beliefs and Policies},
  author = {Duo Lu and Andrew Crotty and Uğur Çetintemel},
  year   = {2026},
  eprint = {2604.14401},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.14401v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.14401.svg)](https://codeofpaper.com/paper/2604.14401)

Discussion