Skip to content

Examples ​

57 working examples, from hello world to a team of agents that builds a spreadsheet engine from a spec. The test suite runs every one. Each page has the full source; open any of them in the playground.

Example
01Hello World - Core Concepts
02Policies - Safety & Constraintspolicies
03Tools - External Integrationspolicies
04Pipeline Params & Contextpolicies
05Fan-Out - Parallel Executionpolicies |* parallel
06Gates - Conditional Executionpolicies
07Interrupts & Listeners - Human-in-the-Looppolicies |! people
08Store - Persist Data Across Runspolicies
09Directives - Build/Runtime Modifierspolicies
10Named Arguments
11Context Data Flow
12Multiple Agents in One Pipeline
13Deep Context Paths
14Environment Variablespolicies
15Shadow Directive (A/B Testing)
16Retry & Checkpoint Directives
17REST Tool Usagepolicies
18VectorStore Operations
19System Prompts
20ROLE: Founder / CEOpolicies |* parallel
21ROLE: Software Engineerpolicies |* parallel |! people
22ROLE: UX Designerpolicies
23ROLE: UX Researcherpolicies |* parallel |! people
24ROLE: QA Engineerpolicies
25ROLE: Product Managerpolicies |! people
30CONTROL: Enterprise Content Moderation Pipelinepolicies |! people
31POWER: Multi-Agent Intelligence Swarmpolicies |* parallel |! people
32EXAMPLE: Adapter & Router System Demo
3333-human-in-the-loop.halo|! people
3434-database-tools.halo
3535-omni-agent.halo|! people
36Struct Schema Validationpolicies
37Persistent Store Engine
38Local Automation & Web Fetching
40MARKET: Healthcare — Patient Intake Processingpolicies |* parallel |! people
41MARKET: Legal — Contract Review & Risk Assessmentpolicies |* parallel |! people
42MARKET: E-commerce — Returns Fraud Detection & Processingpolicies |* parallel |! people
43MARKET: Fintech — KYC/AML Compliance Pipelinepolicies |* parallel |! people
44MARKET: Real Estate — Listing Intelligence & Lead Scoringpolicies |* parallel
45MARKET: Insurance — Claims Processing & Fraud Detectionpolicies |* parallel |! people
46MARKET: Recruitment — Screening & Interview Pipelinepolicies |* parallel |! people
50GitHub Issue Triagepolicies |* parallel |! people
60HR: Applicant screening with a human decisionpolicies |* parallel |! people
61Schools: Draft essay feedback for a teacher to approvepolicies |* parallel |! people
62Shopping: Restock within a budget, with your approvalpolicies |! people
63Management: Weekly team reportpolicies |* parallel |! people
64Sports: Opponent scouting reportpolicies |* parallel
65Esports: Dota 2 match reviewpolicies |* parallel
66Cooking: Weekly meal plan that never includes your allergenspolicies |<> loops
70Halo on Halo: describe a workflow, get a validated pipelinepolicies |<> loops |* parallel |! people
71Developer: Dependency security watchpolicies |* parallel
72Public safety: FDA recall monitorpolicies |! people
73Developer: write code until the tests passpolicies |<> loops
74A software team: plan, build modules in parallel, integrate, fixtools: policies |<> loops |* parallel
75A research assistant that chooses its own tools, within limitstools: policies
76Watch something, and react with a decision, not a guesspolicies |! people
99CUSTOM DEMO: Halo DSLpolicies |* parallel

curl -fsSL https://halolang.com/install.sh | sh