pkraman06 commited on
Commit
47ee361
·
verified ·
1 Parent(s): d8b8f38

Create critic_agent.py

Browse files
Files changed (1) hide show
  1. agents/critic_agent.py +10 -0
agents/critic_agent.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ from crewai import Agent
2
+
3
+
4
+ def create_critic_agent():
5
+ return Agent(
6
+ role="Critic",
7
+ goal="Review generated solutions and improve accuracy",
8
+ backstory="Code reviewer focused on optimization and correctness.",
9
+ verbose=True,
10
+ )