Cortex Tutorials
Learn how to use Cortex, the asynchronous AI orchestration engine
Cortex Tutorials
These hands-on tutorials will teach you how to use Cortex to build asynchronous, AI-powered multi-agent systems.
What is Cortex?
Cortex is an asynchronous orchestration engine that:
- Manages conversations across multiple agents
- Uses LLMs to make intelligent routing decisions
- Enables non-blocking task execution
- Maintains conversation state and context
Prerequisites
- AgentHub installed and configured
- Go 1.21 or later
- Basic understanding of the A2A protocol
Available Tutorials
- Getting Started with Cortex - Run your first Cortex demo
- Building a Custom Agent - Create agents that work with Cortex
- Async Task Orchestration - Handle long-running tasks
Quick Start
Run the Cortex demo to see it in action:
cd /path/to/agenthub
./demo_cortex.sh
This starts:
- Event Bus (broker)
- Cortex orchestrator
- Echo agent (example)
- Interactive CLI
Type messages and see how Cortex orchestrates responses!
Learning Path
- Start with Getting Started to understand the basics
- Read Cortex Architecture for deeper understanding
- Try Building a Custom Agent to extend functionality
- Explore Advanced Orchestration for complex workflows
Run your first Cortex orchestration demo and understand how it works