Skip to content

Getting Started with Playbooks AI

Playbooks AI is a framework for building AI agents using natural language programming. It allows you to create AI agents that can understand and execute natural language instructions, interact with users, and call Python functions seamlessly.

What are Playbooks?

Playbooks are procedures that define the behavior of AI agents. They can be written as:

  1. Natural language instructions - Step-by-step instructions for prescribed business processes
  2. Agentic prompts - Prompt-based playbooks for dynamically planned tasks where the AI agent decides the next steps
  3. Python functions - Python functions that can be called from playbooks and can call playbooks

Installation

To get started with Playbooks AI, you need to install the playbooks package:

pip install playbooks

First Steps

Follow these guides to start building with Playbooks AI:

Core Concepts

Playbooks AI is built around these core concepts:

  • Playbooks Language: The natural language programming syntax
  • Agent Framework: The environment that Playbooks programs run in
  • Playbooks Runtime: Manages interpreter, control flow, variables, artifacts, etc.
  • Triggers: Event-driven programming through natural language conditions
  • Artifacts: Store and access data from playbooks

Ready to dive in? Check out the Quickstart Guide to create your first playbook.