HEX
Server: LiteSpeed
System: Linux houston.panomity.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
User: nudepix (1011)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //opt/PraisonAI/docs/playground.mdx
---
title: "Praison AI Agents Playground"
sidebarTitle: "Playground"
description: "Interactive environment to test and run your AI Agents"
icon: "code"
---

<iframe 
  id="codeExecutionFrame"
  src="https://code-execution-server-praisonai.replit.app/?code=import%20openai%0A%0Aclient%20%3D%20openai.OpenAI()%0Aresult%20%3D%20client.chat.completions.create(%0A%20%20%20%20model%3D%22gpt-3.5-turbo%22%2C%0A%20%20%20%20messages%3D%5B%0A%20%20%20%20%20%20%20%20%7B%22role%22%3A%20%22user%22%2C%20%22content%22%3A%20%22Hello%20World%22%7D%0A%20%20%20%20%5D%0A)%0A%0Aprint(result.choices%5B0%5D.message.content)" 
  width="100%" 
  height="800px" 
  frameborder="0"
  allow="clipboard-read; clipboard-write"
  scrolling="yes"
  onload="resizeIframe(this)"
></iframe>

## 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

<CardGroup cols={2}>
  <Card title="API Documentation" icon="book" href="https://docs.praison.ai">
    Reference the Praison AI Agents documentation for more examples
  </Card>
  <Card title="Back to Course" icon="arrow-left" href="/course/agents/01-introduction">
    Return to the AI Agents course
  </Card>
</CardGroup>