Concordat: Typed Sessions for LLM Agents
Ranking
Overall
78
Content
95
Popularity
37
Observed public metrics from 1 member.
Merged summary
TL;DR - Concordat is a Python library that enforces finite-state protocols for LLM agents by exposing only valid tools at each state. It prevented all unauthorized airline-booking changes in testing without significantly reducing task success.
- Illegal tool calls are blocked before producing side effects, while human-only decisions must be explicitly requested.
- Protocols are statically checked, including subclass constraints that prevent bypassing parent protocols.
- Concordat also enforces linear allocation of token and tool-call budgets across agent handoffs.
- On pressured tau-bench tasks, standard agents skipped required confirmation repeatedly; Concordat agents recorded zero such violations.
Sources (1)
Concordat: Typed Sessions for LLM Agents
Public signals
Semantic Scholar citations 0 · Semantic Scholar influential citations 0
TL;DR - Concordat is a Python library that enforces finite-state protocols for LLM agents by exposing only valid tools at each state. It prevented all unauthorized airline-booking changes in testing without significantly reducing task success.
- Illegal tool calls are blocked before producing side effects, while human-only decisions must be explicitly requested.
- Protocols are statically checked, including subclass constraints that prevent bypassing parent protocols.
- Concordat also enforces linear allocation of token and tool-call budgets across agent handoffs.
- On pressured tau-bench tasks, standard agents skipped required confirmation repeatedly; Concordat agents recorded zero such violations.