Guide for using PraisonAI Agents framework, a lightweight package for creating and managing AI agents with advanced capabilities
app.py
and add the following code:
name
: Agent’s identifierrole
: Agent’s function/expertisegoal
: Individual objectivebackstory
: Context and personalityllm
: Language model (default: OpenAI’s GPT-4)verbose
: Enable detailed logs (default: False)markdown
: Enable markdown formatting (default: True)tools
: List of available toolsmemory
: Enable conversation history (default: True)max_iter
: Maximum iterations (default: 20)max_rpm
: Rate limit for API callsallow_delegation
: Enable task delegation (default: False)description
: Task detailsexpected_output
: Desired outcomeagent
: Assigned agentcontext
: Dependencies on other taskstools
: Task-specific toolsasync_execution
: Run asynchronously (default: False)output_file
: Save output to filecallback
: Post-task function