AICL is a structured communication language for AI agents and human-agent collaboration. It prioritizes low ambiguity, high efficiency, and auditable decision flow.
๐ฎ Try it now: AICL Playground
Status: Final v1.0.0 (2026-02-25)
Modern AI agents need to communicate with each otherโand with humans. But existing protocols are either:
AICL fills this gap with intent-first, constraint-aware, and negotiation-native messaging.
# 1. Install
pip install aicl
# 2. Parse an AICL message
aicl parse examples/01_ask.aicl --pretty
# 3. Validate messages
aicl validate --strict examples/
# 4. Transpile natural language to AICL
aicl transpile "please verify policy compliance for release"
Or use the online playground: https://haocn-ops.github.io/aicl-protocol/
MSG{
A:<Actors>
I:<Intent>
O:<Object>
T:<TaskGraph>
G:<Delegation>
C:<Constraints>
K:<Known>
U:<Unknown>
P:<Proposal>
R:<Risk>
Q:<Query>
D:<Decision>
V:<Votes>
M:<MemoryCapsule>
H:<HITL>
X:<Expectation>
S:<State>
}
I, O, SAT, GDR, HASK, INFORM, PLAN, ACT, VERIFY, NEGOTIATE, DELEGATE, ACCEPT, REJECT, ESCALATE, SUMMARIZE, COMPARE, ESTIMATE, PRIORITIZE, SCHEDULE, BLOCK, UNBLOCK, REPLAN, CANCEL, PAUSE, RESUME, COMMIT, ROLLBACK, AUDIT, TRACE, CITE, CLARIFY, CONFIRM, DISPUTE, RESOLVE, SPLIT, MERGE, ROUTE, HANDOFF, MONITOR, ALERT, REPORT, DIAGNOSE, FIX, TEST, VALIDATE, SANITIZE, FILTER, TRANSFORM, RETRIEVE, SYNTHESIZE, CRITIQUE, JUSTIFY, PREDICT, CLOSE
policy > hitl > authority > evidence > feasibility > utility > vote
S.conf must be within 0.00..1.00S.ver uses semantic versioning (e.g. 1.0)S.trace must be globally uniqueT.depsH.required=true blocks high-risk COMMIT before human responseMSG{
A:{from=agent_planner,to=[agent_risk],role=planner}
I:NEGOTIATE
O:release/2026Q1
C:deadline=2026-02-26T12:00+08;policy=P1
K:[data_ready,legal_partial]
U:[final_legal_clause]
P:[ship_with_guard_clause]
R:[compliance_risk_if_unguarded]
H:{required=true,trigger=policy_risk,question="Allow guarded release?",options=[allow,delay,reject],sla=2026-02-25T21:30+08,default_action=delay}
X:need_human_choice_id
S:conf=0.61;ver=1.0;trace=trc_aicl_001
}
| Feature | AICL | OpenAI Agents SDK | MCP (Anthropic) | REST/JSON |
|---|---|---|---|---|
| Intent-driven | โ | โ | โ | โ |
| Built-in Negotiation | โ | โ | โ | โ |
| HITL Safety Controls | โ | Partial | โ | โ |
| Constraint Propagation | โ | โ | โ | โ |
| Confidence Tracking | โ | โ | โ | โ |
| Human-Readable | โ | โ | โ | โ |
| Extensible | โ | โ | โ | โ |
AICL is designed specifically for multi-agent collaboration with built-in support for:
README.md: quick overviewSPEC.md: full v1.0 draft specificationABNF.md: textual grammar draftexamples/: ready-to-use message samplestools/validate_aicl.py: validator (supports --strict)tools/parse_aicl.py: AICL text to JSON parsertools/transpile_nl_to_aicl.py: NL to AICL draft transpilertools/aicl_cli.py: unified CLI (parse, validate, transpile)tests/: unittest suiteFINAL_VERSION.md: release summaryRun the validator against examples:
python3 tools/validate_aicl.py examples
python3 tools/validate_aicl.py --strict examples
Parse one AICL message into JSON:
python3 tools/parse_aicl.py --pretty examples/02_negotiate_hitl.aicl
Transpile a natural language request to AICL draft:
python3 tools/transpile_nl_to_aicl.py "please summarize weekly incidents"
Use unified CLI:
python3 tools/aicl_cli.py parse --pretty examples/02_negotiate_hitl.aicl
python3 tools/aicl_cli.py validate --strict examples
python3 tools/aicl_cli.py transpile "verify policy compliance for release"
Run tests:
python3 -m unittest discover -s tests -p 'test_*.py'