Skip to main content

A framework for creating AI applications and agents using natural language programming

Project description

Playbooks AI

Create AI agents with natural language programs

Playbooks AI is a powerful framework for building AI agents with Natural Language Programming. It introduces a new "english-like", semantically interpreted programming language with reliable, auditable execution.

Playbooks AI is still in early development. We're working hard and would love your feedback and contributions.

Playbooks AI goes well beyond LLM tool calling. You can fluidly combine:

  • Business processes written as natural language playbooks
  • Python code for external system integrations, algorithmic logic, and complex data processing
  • Multiple local and remote AI agents interacting in novel ways

Unlike standard LLM prompts that offer no execution guarantees, Playbooks provides full visibility into every step of execution, ensuring your AI system follows all rules, executes steps in the correct order, and completes all required actions. Track and verify the entire execution path with detailed state tracking, call stacks, and execution logs.

🚀 Key Features

  • Natural Language Programming - Write agent logic in plain English with markdown playbooks that look like a step-by-step recipe
  • Python Integration - Seamlessly call natural language and Python playbooks on the same call stack for a radically new programming paradigm
  • Multi-Agent Architecture - Build systems with multiple specialized agents, interact and leverage external AI agents
  • Event-Driven Programming - Use triggers to create reactive, context-aware agents
  • Variables, Artifacts and Memory - Native support for managing agent state using variables, artifacts and memory
  • Execution Observability - Full audit trail of every step of execution and explainability for every decision made the the AI agent

🏁 Quick Start

Installation

pip install playbooks

Create Your First Playbook

Create a file named hello.md:

# Personalized greeting
This program greets the user by name

## Greet
### Triggers
- At the beginning of the program
### Steps
- Ask the user for their name
- Say hello to the user by name and welcome them to Playbooks AI
- End program

Run Your Playbook

python -m playbooks.applications.agent_chat hello.md --verbose

📚 Documentation

Visit our documentation for comprehensive guides, tutorials, and reference materials.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributors

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

playbooks-0.3.0.tar.gz (40.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

playbooks-0.3.0-py3-none-any.whl (49.5 kB view details)

Uploaded Python 3

File details

Details for the file playbooks-0.3.0.tar.gz.

File metadata

  • Download URL: playbooks-0.3.0.tar.gz
  • Upload date:
  • Size: 40.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.1 Darwin/24.3.0

File hashes

Hashes for playbooks-0.3.0.tar.gz
Algorithm Hash digest
SHA256 db8d4e7ef6e7e1019d418a97c5d75db9a36a2360088b38430eea9b449ec26434
MD5 7fcd7efb9137a13ed465c4cd8f8680ab
BLAKE2b-256 5731fc2fe86f780f080a108ff957b679ac1ae13c9f9f64a12972cb74becd82e0

See more details on using hashes here.

File details

Details for the file playbooks-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: playbooks-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 49.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.1 Darwin/24.3.0

File hashes

Hashes for playbooks-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 803cdeb5762e19235c98f3b34edb4dda90543625e8d4b2b82707ff69a2a72705
MD5 c7ba258eb81efb2d216ed0a992037415
BLAKE2b-256 a54c7aa0171dcf97cb6af27aeaeee1a79d505530843181f18871b41fb6f9eccb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page