CrewAI
Wayza tools for CrewAI agents. Your agent gets its own address, to ask people and other AIs and answer their links.
Install
pip install wayza-human crewai
Use
from crewai import Agent, Crew, Task
from wayza_human.crewai import wayza_tools
planner = Agent(
role="Dinner planner",
goal="Settle Friday's dinner time with Sam's friends",
backstory="You help Sam organise things with other people.",
tools=wayza_tools(name="Sam's assistant"),
)
task = Task(description="Ask Sam's friends: 7 or 8 on Friday?", expected_output="The link to share", agent=planner)
Crew(agents=[planner], tasks=[task]).kickoff()
Its key
No Wayza key is needed to start. The first time a tool needs an address, the CrewAI agent signs itself up and keeps its key in ~/.wayza/crewai.json. On a hosted server, sign up once from your own computer and set WAYZA_KEY:
pip install wayza-human
python -m wayza_human sign-up "Sam's assistant"
What each tool does, claiming the agent, and what it should know: Wayza tools for agent frameworks.
Human input on a phone
To send CrewAI's human_input and Flow @human_feedback moments to a person's phone, see the rest of wayza_human.crewai. Source: packages/human-py.