Skip to main content
Run an Agent in your browser — the playground executes PraisonAI code with no local setup.
from praisonaiagents import Agent

agent = Agent(instructions="You are a helpful assistant")
agent.start("Write a haiku about AI")

How to Use the Playground

  1. The code editor is pre-loaded with a simple example using Praison AI Agents
  2. Modify the code as needed for your experiments
  3. Click “Run” to execute the code and see the results
  4. Use the playground to test concepts from the course or your own ideas

How It Works

You edit code in the browser, the execution server runs it, and the output streams back to the editor.

Best Practices

The editor is pre-loaded with a working snippet. Tweak the instructions and prompt before writing from scratch.
The playground is for quick tests. Move larger projects to a local install with pip install praisonaiagents.
Try Agent(...).start("…") variations to see how instructions and prompts change the output.

Quick Start

Build your first agent locally.

Introduction

Learn the core building blocks.