03 · Open Source
AgentScript Goes Open Source
This one came out of nowhere - and it’s arguably the most developer-significant announcement of the day.
AgentScript, Salesforce’s domain-specific language for defining agent behavior, is now fully open source.
The full spec, grammar, parser, and compiler are now available on GitHub, unlocking a new standard for
building structured AI agents.
AgentScript Repository
github.com/salesforce/agentscript
agent CaseRouter {
on CaseCreated(priority: "High") {
// deterministic routing — no LLM needed
route(case, team: "tier2")
notify(manager, urgency: "immediate")
}
on CustomerSentimentNegative {
// delegate to reasoning model
reason("Draft empathetic response and escalation plan")
}
}
The design philosophy is elegant: AgentScript explicitly separates deterministic logic from LLM reasoning.
You define, in strongly-typed files, exactly which actions should follow rules and which should be left to model judgment.
This creates a missing abstraction layer between unpredictable “pure agent” systems and rigid automation platforms.
“The future of agents is hybrid: deterministic structure + probabilistic reasoning.”
— Agent Architecture Team
Claude Code, Cursor, Codex, and Windsurf now support AgentScript natively, enabling AI coding tools
to write, debug, and refactor agent logic like TypeScript or Apex.