mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-03 00:02:36 +00:00
Updated Understanding Agents (markdown)
@@ -29,7 +29,11 @@ To create an agent, you would typically initialize an instance of the `Agent` cl
|
|||||||
from crewai import Agent
|
from crewai import Agent
|
||||||
|
|
||||||
# Create an agent with a role and a goal
|
# Create an agent with a role and a goal
|
||||||
agent = Agent(role='Data Analyst', goal='Extract actionable insights')
|
agent = Agent(
|
||||||
|
role='Data Analyst',
|
||||||
|
goal='Extract actionable insights',
|
||||||
|
backstory="You'er a data analyst at a large company. I am responsible for analyzing data and providing insights to the business. I am currently working on a project to analyze the performance of our marketing campaigns. I have been asked to provide insights on how to improve the performance of our marketing campaigns."
|
||||||
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
## Agent Interaction
|
## Agent Interaction
|
||||||
|
|||||||
Reference in New Issue
Block a user