What is Playbooks AI?¶
Playbooks AI is a novel framework for building AI agents using Natural Language Programming.
- A new "english-like", semantically interpreted programming language
- Runtime for reliable, auditable and verifiable execution of complex prompts and workflows
- Seamless composition of complex workflows across natural language and Python
Get started:
pip install playbooks
Quickstart Tutorials Playbooks Language
Learn more¶
-
Natural Language Programming
Create AI agents using natural language, with Markdown playbooks for step-by-step instructions, suitable for prescribed business processes. Mix prescribed workflows with dynamic planning.
-
Python Integration
Turn any async Python function into a playbook with the
@playbook
decorator. Call other playbooks (including natural language playbooks) from Python and vice versa. -
Multi-Agent Architecture
Natively support multi-agent systems with agent-to-agent calls and messaging. Enable natural language message passing and multi-turn dialogue between agents with direct playbook invocation.
-
Event-Driven Programming
Use triggers for declarative event-driven programming. Playbooks are dynamically invoked when specified conditions are met, including temporal, state-based, execution flow, user interaction, and external events.
-
Execution Observability
Playbooks framework tracks call stack and variables. Step-by-step execution is verified using static analysis of the program, with fully inspectable LLM program execution.
-
Artifacts and State Management
Store and retrieve data with artifacts. Manage state across playbook executions and between agents.