What is an agent
Note: An agent does not run until you give it a task. The next pages install PraisonAI, then start one.
One agent, one job
An agent is one autonomous helper with a job. You tell it who it is, then you tell it what to do.
PraisonAI calls that helper an Agent. A team of helpers is a separate idea, on a later page.
Example
from praisonai import Agent
agent = Agent(instructions="You are a helpful assistant")Example explained
- Agent — The class for a single helper.
- instructions — Who the agent is. This is the system prompt.
Reference: documentation