Praison AI
Enterprise
Agents
Bot
Use Cases
University
Docs
Modular workflows with include() and YAMLWorkflowParser
Run
from praisonai import Agent, AgentFlow drafter = Agent(name='Drafter', instructions='Write a one-sentence upgrade summary without mentioning email addresses.', output='silent') pii_scrub = Agent(name='PIIScrubber', instructions='Return the text unchanged if no email appears, otherwise replace any email with [REDACTED].', output='silent') compliance_steps = [pii_scrub] main_flow = AgentFlow(steps=[drafter, *compliance_steps]) print('Composed:', main_flow.start('Upgrade jane@example.com to Pro plan')['output'])
Press Run. The result appears here.
Esc
Search in
All
Docs
University