Praison AI
Platform
Use Cases
Bot
Partners
Community
University
Docs
Get Started
Two steps
Run
from praisonai import Agent, AgentFlow writer = Agent(name="Writer", instructions="Write two sentences on the input.") editor = Agent(name="Editor", instructions="Shorten the draft to one sentence.") flow = AgentFlow(steps=[writer, editor]) result = flow.start("Write about AI agents") for step in result["steps"]: print(step["step"]) print(step["output"]) print()
Press Run. The result appears here.