{"repo":"playbooks-ai/playbooks","free":true,"listed":false,"github":"https://github.com/playbooks-ai/playbooks","clone":"git clone https://github.com/playbooks-ai/playbooks.git","description":"▶📚 Playbooks is a semantic programming system for AI agents","language":"Python","stars":90,"topics":["llm","multi-agent-systems","natural-language-programming","agent-orchestration","ai-agents","ai-agents-framework","ai-automation","context-engineering","conversational-ai","llm-framework"],"license":"MIT","category":"ai-agents","readme_excerpt":"Playbooks AI LLM is your new CPU Write what your AI agent should do, in English. Playbooks compiles it and runs it. Playbooks programs are markdown. The compiler turns them into a semantic instruction set, and the runtime executes it on an LLM with a real call stack, step debugging, and control flow you can actually verify. Natural language and Python run side by side in the same program. Hello world Save this as hello.pb : Run it: That is a complete program, not pseudocode. # declares an agent, ## declares a playbook, and a playbook runs when its trigger fires. Natural language and Python, same call stack Playbooks get interesting when the two kinds of code call each other. Below, the Main playbook (English) calls process countries (Python), which calls GetCountryFact (English) once per country. All three share one call stack and one set of variables. python from typing import List @playbook async def process countries(countries: List[str]): for country in countries: # Calls the natural language playbook 'GetCountryFact' for each country fact = await GetCountryFact(country) await Say(\"user\", f\"{country}: {fact}\") Twenty-nine lines. The equivalent agent in a traditional framework runs 272 lines. Notice what is not in the program: no orchestration graph, no state machine, no retry logic, no output parsers. If the user answers the country question with a joke, you do not write a branch for it. The LLM handles it and execution continues at the next step. Get started in 10 minute","default_branch":null,"files":null,"tree":[],"storefront":"/r/playbooks-ai","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/playbooks-ai/playbooks/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}