Skip to content

v0.11.0 — The Complete Agent Programming Language

Choose a tag to compare

@mrschneider mrschneider released this 23 Oct 13:53
· 38 commits to main since this release

ACL v0.11.0 — the complete agent programming language

15 additions (spec §35) completing .aclp as a full language for agents.

Computation

  • set total = total + arg.price; — expressions over states and event fields, 18 pure builtins, unset = 0
  • state bids: list; / put meta, key, expr — collections in session state
  • for d in debitors { send reject to d; } — fan-out over collections
  • message invoice = "INVOICE {0}"; + fmt() — templates in the compiled program

Robustness

  • Abort + compensation: abort when quoted and not paid; (latched) and abort; fire on breach handlers — sagas as language constructs
  • Declarative retry: send quote retry 3 backoff 2s exp — deterministic re-emission via tick
  • Capability model: use fs.read as reader; — programs can only speak and remember; external effects are host-gated against AgentCards

Production operation

  • Multi-session host: capacity 5; — isolated concurrent sessions of one protocol
  • Event sourcing: journal + deterministic replay reconstructs exact state (tested byte-equivalent) — crash recovery and audit from one mechanism
  • n-role projection and transport relay; declarations

Ecosystem

  • Scenario tests: scenario "happy path" { buyer sends request to seller; expect seller sends propose; } — executable tests inside .aclp, run via aclc scenarios (expected sends DELIVER — real wire simulation)
  • Composition: include "cnp.aclp" with roles (manager=buyer);
  • Standard fragments: deadline_escalation, double_confirmation
  • Trace debugger: aclc trace file.aclp journal.jsonl — step-through replay printing each role's transcript

Codegen

Generated Python agents now compute — set/push/put/for/abort all work in generated code (validated by running it).

118/118 tests · spec §§1-35 · See SPEC.md §35.