Prev Next

AI / CrewAI Interview Questions

Describe the role, goal, and backstory properties of a CrewAI Agent?

Every CrewAI Agent is defined with three core descriptive properties that shape how it behaves during execution.

PropertyPurpose
RoleDefines what the agent does, such as Senior Research Analyst
GoalDefines what the agent is optimizing for while completing its tasks
BackstoryProvides context that shapes the agent's tone, priorities, and behavior

Together, these three properties act like a persona, they don't just label the agent, they actually influence how it reasons about a task and what it prioritizes when making decisions.

Which property defines what an agent is optimizing for?
Which property provides context shaping an agent's tone and behavior?

Invest now in Acorns!!! 🚀 Join Acorns and get your $5 bonus!
Acorns Logo

Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!

Earn passively and while sleeping

Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.

Robinhood Logo

Invest now!!! Get Free equity stock (US, UK only)!

Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.

The Robinhood app makes it easy to trade stocks, crypto and more.


Webull Logo

Webull! Receive free stock by signing up using the link: Webull signup.

More Related questions...

What is CrewAI? What are the four core primitives in CrewAI's mental model? What is an Agent in CrewAI? What is a Task in CrewAI? What is a Crew in CrewAI? What is a Tool in CrewAI? What is a Flow in CrewAI? What are the Process types supported by CrewAI? Define the Sequential process in CrewAI? Define the Hierarchical process in CrewAI? What is the TaskOutput class in CrewAI? What are the memory types supported by CrewAI? What is Short-Term Memory in CrewAI? What is Long-Term Memory in CrewAI? What is Entity Memory in CrewAI? What is External Memory in CrewAI? Describe the role, goal, and backstory properties of a CrewAI Agent? What is the @CrewBase decorator used for? What are the @agent, @task, and @crew annotations? What is YAML configuration used for in a CrewAI project? What is the @start decorator in CrewAI Flows? What is the @listen decorator in CrewAI Flows? What is the @router decorator in CrewAI Flows? What is the @persist decorator in CrewAI Flows? What is the @human_feedback decorator in CrewAI Flows? Define Flow state in CrewAI? What built-in tools does CrewAI provide? What is allow_delegation in a CrewAI Agent? How do you kick off a Crew? What is the difference between a Crew and a Flow in CrewAI? What is the difference between the Sequential and Hierarchical processes? How does context passing work between dependent Tasks in CrewAI? Why does CrewAI recommend YAML configuration over direct instantiation for new projects? What is the difference between structured and unstructured Flow state? How do the or_ and and_ logical operators work with @listen and @router? Why does LongTermMemory not use an embedder configuration? What is the difference between building a custom tool with @tool vs subclassing BaseTool? How does the Hierarchical process assign tasks without an explicitly named agent? Why would you choose CrewAI over LangGraph for a given project? How does the @persist decorator enable state recovery across Flow executions? What is the difference between memory=True and providing explicit memory instances? Why is bounded delegation considered a guardrail in CrewAI systems? How does the @human_feedback decorator support approval workflows? What is the difference between a Crew's kickoff() and kickoff_async()? Why does CrewAI pair well with observability tools like AgentOps or LangFuse? Explain the lifecycle of a Task's execution from assignment to TaskOutput? Explain the execution flow of a CrewAI Flow using @start, @listen, and @router together? Explain the internal working of the Hierarchical process's manager agent? How can you optimize a CrewAI Crew to reduce iteration loops and cost overruns? How do you troubleshoot a Crew stuck in a delegation loop between agents?
Show more question and Answers...

CrewAI Interview Questions II

Comments & Discussions