Welcome to haive-hapΒΆ
haive-hap is the Haive Agent Protocol - orchestration system for multi-agent workflows in the Haive ecosystem.
β¨ Key FeaturesΒΆ
- π― Agent Orchestration
Define and execute complex multi-agent workflows
- π Workflow Management
Build directed graphs of agent execution with dependencies
- π State Management
Track execution state across agent interactions
- π Protocol Integration
JSON-RPC 2.0 protocol for distributed agent systems
- π Production Ready
Real agent execution with comprehensive error handling
β‘ Quick StartΒΆ
Install haive-hap:
poetry add haive-hap
Create your first workflow:
from haive.hap.models import HAPGraph
from haive.hap.server.runtime import HAPRuntime
from haive.agents.simple.agent import SimpleAgent
from haive.core.engine.aug_llm import AugLLMConfig
# Create agent
agent = SimpleAgent(
name="assistant",
engine=AugLLMConfig(temperature=0.7)
)
# Build workflow
graph = HAPGraph()
graph.add_agent_node("step1", agent)
graph.entry_node = "step1"
# Execute
runtime = HAPRuntime(graph)
result = await runtime.run({"input": "Hello!"})
print(f"Result: {result}")
π DocumentationΒΆ
π User Guide
- Getting Started
- User Guide
- Architecture
- Tutorials
- Understanding HAP
- Tutorial 2: First Workflow - Coming Soon
- Tutorial 3: Multi-Agent Patterns - Coming Soon
- Tutorial 4: Context Management - Coming Soon
- Tutorial 5: Error Handling - Coming Soon
- Tutorial 6: Advanced Features - Coming Soon
- Tutorial Overview
- Prerequisites
- Tutorial Format
- Quick Start Path
- Code Examples Repository
- Running Tutorial Examples
- Interactive Learning
- Tutorial Difficulty Levels
- Common Tutorial Patterns
- Getting Help
- Tutorial Completion
π» Development
π Reference
π API ReferenceΒΆ
Complete API documentation with examples:
π API Reference
π Project InfoΒΆ
Documentation: https://haive-hap.readthedocs.io
License: MIT