Discover and explore top open-source AI tools and projects—updated daily.
salesforceSchema-driven language for agent orchestration systems
Top 99.8% on SourcePulse
Agent Script provides an open, schema-driven language for configuring agent orchestration systems, targeting developers building and integrating AI agents. It offers a declarative approach to defining agent behavior, state, and execution flow, enabling greater flexibility and portability across different runtime environments.
How It Works
Agent Script uses a block-based, indentation-sensitive syntax to define agents. It separates agent specification from runtime execution, allowing the same script to function with varying runtime capabilities. The language supports custom syntax for state management, execution flow, string templating, and deterministic hooks, offering a spectrum from highly deterministic agents to more autonomous ones. Its core design principle is that execution is decoupled from specification, treating agent scripts as declarative definitions rather than implementations.
Quick Start & Requirements
The recommended setup uses mise for installing pinned toolchain versions (mise install). Manual setup requires Node.js (minimum 18, recommended 22) and pnpm (version 10). The tree-sitter CLI (version 0.25.x) is also required for building the parser. To run the UI playground locally, use pnpm ui:dev, which opens at http://localhost:27002. The core library can be installed via pnpm add @sf-agentscript/agentforce.
Highlighted Details
agentforce, agentfabric) that extend a base schema, allowing customization for specific agent frameworks.run, set, with, after_reasoning).Maintenance & Community
Contributions are welcome and require signing the Salesforce CLA. Questions, bug reports, and feature requests should be submitted via GitHub issues.
Licensing & Compatibility
The project is licensed under the Apache 2.0 license, which generally permits commercial use and integration. However, running agents defined by Agent Script requires Salesforce's internal runtime environment.
Limitations & Caveats
The Agent Script runtime environment is not open-sourced and remains internal to Salesforce. Consequently, while the specification language, parsers, linters, compilers, and developer tooling are open, agents can only be executed within Salesforce's infrastructure. Changes to the language specification are not currently accepted to maintain synchronization with the internal runtime.
6 days ago
Inactive
agi-inc
nicobailon
withastro
letta-ai
langchain-ai