Welcome to the Lyzr Agent Orchestration (LAO) documentation. This guide provides a comprehensive overview of how to define and execute intelligent workflows using Lyzr Agents. LAO is a powerful JSON-based framework designed to enable seamless orchestration of tasks involving:
  • Lyzr Agent executions
  • API interactions
  • Chained task automation
Whether you are automating customer emails or making real-time API calls, LAO allows you to define these processes clearly and efficiently.

What You Can Do with LAO

With LAO, you can:
  • Chain multiple tasks into a single flow
  • Define reusable input values using default_inputs
  • Integrate both agent and external API calls
  • Make one task depend on the output of another
This documentation is structured into the following sections:
  • Workflow Structure: Understand the JSON structure of an LAO workflow.
  • Task Definition: Learn how to configure tasks within your flow.
  • Calling a Lyzr Agent: Step-by-step example of integrating a Lyzr agent.
  • Making API Calls: Example on making API requests within LAO.
  • Advanced Concepts: Chaining, dependencies, and best practices.
By the end of this guide, you’ll be able to build and deploy robust automated workflows using LAO.
💡 Tip: To get your agent_id, session_id, and user_id, you can refer to the API documentation or visit the Inference tab under the agent_api section in the Agent Dashboard of Lyzr Studio.