Guides

Step-by-step guides for building with PraisonAI

Next

Learn how to build AI agents with PraisonAI through practical, step-by-step guides.

python
from praisonaiagents import Agent

agent = Agent(
    name="Assistant",
    instructions="You are a helpful assistant.",
)

agent.start("Hello! What can you help me with?")

The user starts with a guide that matches their goal, runs the sample agent, then extends it step by step.

Diagram

Input

Agent

Output

Quick Start

  1. Install PraisonAI
    bash
    pip install praisonaiagents
    export OPENAI_API_KEY=your_api_key
  2. Create your first agent
    python
    from praisonaiagents import Agent
    
    agent = Agent(
        name="Assistant",
        instructions="You are a helpful assistant.",
    )
    
    agent.start("Hello! What can you help me with?")

By Topic

Agent Patterns

Workflows

RAG & Knowledge

Persistence

Deployment

Best Practices

Start with a single agent

Begin with one agent before building multi-agent systems. Get comfortable with instructions and tools first.

Use clear, specific instructions

Agent instructions should be specific and action-oriented. Vague instructions lead to inconsistent behavior.

Add tools incrementally

Add one tool at a time and verify each works before combining multiple tools in one agent.

Test with simple tasks first

Validate your agent with simple tasks before giving it complex, multi-step workflows.