Documentation Index
Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
Workflows CLI Commands
The praisonai-ts CLI provides the workflow command for executing multi-agent workflows.
Execute Workflow
# Execute a workflow from YAML file
praisonai-ts workflow workflow.yaml
# Execute with parallel processing
praisonai-ts workflow workflow.yaml --parallel
# Get JSON output
praisonai-ts workflow workflow.yaml --json
# workflow.yaml
name: Research Workflow
agents:
- name: Researcher
instructions: Research the topic
- name: Writer
instructions: Write a summary
steps:
- agent: Researcher
task: Research AI trends
- agent: Writer
task: Summarize findings
SDK Usage
For programmatic workflow execution:
import { AgentFlow } from 'praisonai';
const flow = new AgentFlow('My Workflow')
.step('research', async (input) => researcher.chat(`Research: ${input}`))
.step('write', async (research) => writer.chat(`Write summary: ${research}`));
const { output } = await flow.run('AI trends');
For more details, see the Workflows SDK documentation.