On this page
Praison AI Agents Playground
Interactive environment to test and run your AI Agents
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")graph LR
subgraph "Playground"
User[📋 User] --> Editor[🤖 Code Editor]
Editor --> Runner[🧠 Execution Server]
Runner --> Result[✅ Output]
end
classDef input fill:#8B0000,stroke:#7C90A0,color:#fff
classDef process fill:#189AB4,stroke:#7C90A0,color:#fff
classDef output fill:#10B981,stroke:#7C90A0,color:#fff
class User,Editor input
class Runner process
class Result outputHow to Use the Playground#
- The code editor is pre-loaded with a simple example using Praison AI Agents
- Modify the code as needed for your experiments
- Click “Run” to execute the code and see the results
- 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.
sequenceDiagram
participant User
participant Editor
participant Runner as Execution Server
User->>Editor: Edit and click Run
Editor->>Runner: Send code
Runner-->>Editor: Program output
Editor-->>User: Show resultBest Practices#
Start from the built-in example
The editor is pre-loaded with a working snippet. Tweak the instructions and prompt before writing from scratch.
Keep experiments small
The playground is for quick tests. Move larger projects to a local install with pip install praisonaiagents.
Use it to learn the SDK
Try Agent(...).start("…") variations to see how instructions and prompts change the output.