Community contract library for AgentContract.
Ready-to-use .contract.yaml files for common agent types. Pick one, adapt it, and enforce it on your agent in minutes.
pip install agentcontract
curl -O https://raw.githubusercontent.com/agentcontract/contracts/main/customer-support/basic.contract.yamlfrom agentcontract import load_contract, enforce
@enforce(load_contract("basic.contract.yaml"))
def run_agent(user_input: str) -> str:
return my_llm.run(user_input)| Category | Contract | Description |
|---|---|---|
customer-support/ |
basic.contract.yaml |
Tier-1 support agent, no PII, escalation policy |
coding-agent/ |
basic.contract.yaml |
Coding assistant with filesystem access |
research-agent/ |
basic.contract.yaml |
Research agent with citation requirements |
data-pipeline/ |
basic.contract.yaml |
Data processing agent with schema validation |
regulated/ |
gxp.contract.yaml |
GxP/pharma agent (21 CFR Part 11, GAMP5) |
More contracts added weekly. Submit yours.
Submit a contract for any agent type:
- Fork this repo
- Create
<category>/<name>.contract.yaml - Add a brief comment header explaining the use case
- Open a PR
Every merged contract is credited to its author. See CONTRIBUTING.md.
Apache 2.0 — Part of the AgentContract open standard.