Skip to main content
Create one focused agent with instructions, tools, and memory—then iterate from a single prompt.
The user sends a prompt; the agent calls the model (and tools if configured) and returns text. This guide walks you through creating your first AI agent with PraisonAI.

Quick Start

1

Install

2

Create your first agent

Prerequisites

Set your API key:

Basic Agent

Agent with Custom Role

Agent with Tools

Agent with Memory

Agent Configuration Options

Using Different Models

Chat Mode

Best Practices

Clear, specific instructions lead to more consistent and useful agent behavior.
Use tools to extend what your agent can do - search, code execution, file operations, and more.
Add memory=True for agents that need to remember information across multiple turns.
Start with llm='gpt-4o-mini' for testing - switch to gpt-4o when you need more capability.

Next Steps

Multi-Agent Systems

Orchestrate multiple agents working together

Tools

Extend your agent with tools