AI Action Framework
AI Action Framework
OpenVerb Framework is an open standard designed to facilitate the execution of actions by artificial intelligence within software applications. It provides a structured methodology for developers to define verbs, which are specific actions an application is permitted to perform. Rather than relying on custom plugins or one-off tool integrations, the framework utilizes verb libraries stored as JSON files. These files describe actions, their required parameters, and their expected results, allowing applications to expose their capabilities to AI agents in a framework-agnostic manner. The framework includes a comprehensive ecosystem for building, hosting, and executing AI actions. Key features include version control for verb libraries, private and public hosting options, and usage analytics. The system supports multiple programming languages such as JavaScript, TypeScript, Python, Go, and Rust through exported SDK stubs. For security and reliability, OpenVerb employs sandboxed execution and a deterministic pattern where the AI generates declarative JSON plans rather than executing code directly. An executor validates these plans against a strict registry to enforce guardrails and parameter limits before any action is performed. Typical workflows involve defining a registry of verbs that represent the application's functionality. When a user provides a natural language prompt, a large language model generates a sequence of verbs in a structured JSON format. This plan is then processed by the OpenVerb executor, which ensures the request adheres to the predefined schema and safety constraints. This approach is demonstrated in practical implementations like the OpenVerb Piano, where natural language commands are translated into specific musical actions such as setting tempo or playing note sequences. The project is a community-driven specification that offers open-source tooling, documentation, and tutorials for developers. It provides built-in logging, monitoring, and enterprise governance features to track how AI agents interact with application programming interfaces. By focusing on a text-first approach to capabilities, the framework aims to provide a universal standard for making applications understandable and controllable by various AI models while maintaining strict operational safety.