Praison AI
Enterprise
Agents
Bot
Use Cases
University
Docs
AgentFlow
Run
from praisonai import Agent, AgentFlow spotter = Agent(name="Spotter", instructions="Name one object in the scene, in two words, nothing else.") painter = Agent(name="Painter", instructions="Write one sentence that paints that object at dusk.") flow = AgentFlow(steps=[spotter, painter]) result = flow.start("a quiet harbour") for step in result["steps"]: print(step["step"]) print(step["output"]) print()
Press Run. The result appears here.
Esc
Search in
All
Docs
University