-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathagents.py
More file actions
26 lines (23 loc) · 783 Bytes
/
Copy pathagents.py
File metadata and controls
26 lines (23 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
from crewai import Agent
from tools import duckduckgo_instant_answer, wikipedia_summary
HF_MODEL = "huggingface/zai-org/GLM-5.2"
senior_researcher = Agent(
role="Senior YouTube Researcher",
goal="Explain topics simply",
verbose=True, # show everything in terminal
memory=False, # true-->remember history, false-->works fresh everytime
backstory="Expert in simplifying AI topics.", # adds personality
tools=[duckduckgo_instant_answer, wikipedia_summary],
llm=HF_MODEL,
allow_delegation=False # FIX
)
script_writer = Agent(
role="YouTube Script Writer",
goal="Write short scripts",
verbose=True,
memory=False,
backstory="Expert in writing engaging scripts.",
tools=[],
llm=HF_MODEL,
allow_delegation=False # FIX
)