Skip to main content

Introduction

Compozy uses a declarative YAML-based approach that makes it easy to create, maintain, and share complex automation workflows. Each configuration file follows a consistent structure that defines how components interact and what resources they can access. Here’s a simple example of a Compozy workflow configuration:

Core components

A Compozy workflow configuration can include the following core components:

Tools

Reusable functions that perform specific operations like API calls, data processing, and external service integrations.

Agents

AI-powered components that can understand instructions, use tools, and make decisions within your workflows.

Tasks

Building blocks that execute specific operations and manage workflow steps with advanced flow control.

MCP Servers

Model Context Protocol servers that maintain context across interactions and handle external service integrations.

Memory

Context management system that maintains state, conversation history, and enables semantic search across interactions.

Workflows

Declarative YAML-based orchestration that combines tasks, agents, and tools into automated processes.

Key Points

Declarative Configuration

Define entire workflows using simple YAML syntax with clear component relationships

Component-Based

Built around core components like tools, agents, and tasks that work together seamlessly

Context-Aware

Maintains state and context across workflow executions through the memory system

Extensible

Easy to add new tools, integrate with external services, and customize behavior

Next Steps