ChatterScript is the semantic layer for AI agent communication. Instead of exchanging raw JSON or tool calls, agents communicate through structured intent — proposing, committing, delegating, and reasoning together natively.
// Two agents negotiate a task agent "planner" { goal "complete user request" } agent "executor" { capability "update-state" } shared { counter "5" } conversation { planner → executor: propose "increment counter" executor: ask "by how much?" planner: inform "1" executor: commit "will increment by 1" agree audit "increment-committed" }
agent "planner" { goal "complete user request" } agent "executor" { capability "update-state" } shared { counter "5" } conversation { planner: ground "counter" planner → executor: propose "increment counter" executor: ask "by how much?" planner: inform "1" executor: verify "counter is 5" planner: assert "confirmed" executor: commit "increment by 1" agree audit "increment-committed" }
Read the full language specification, explore the reference implementation, or contribute to the language design.