Quick Start
1
Install Package
First, install the PraisonAI Agents package:
2
Set API Key
Set your OpenAI API key as an environment variable:
3
Create Script
Create a new file
simple_agent.py
:Understanding Single Agent
The Single Agent is the simplest form of PraisonAI agent:- Simple Setup: Minimal configuration required
- Single Purpose: Focused on one specific task
- Direct Execution: Straightforward input-output flow
- No Dependencies: No external tools required
Features
Simple Setup
Minimal configuration needed.
Focused Task
Single-purpose execution.
Quick Start
Rapid implementation.
No Tools
No external dependencies.
Example Usage
Next Steps
- Learn about Prompt Chaining for more complex workflows
- Explore Evaluator Optimizer for improving output quality
- Check out other specialized agents like the Markdown Agent for specific use cases