User GuidesΒΆ
Comprehensive guides for building production-ready multi-agent systems with Flock.
π Core GuidesΒΆ
-
π€ Agents
Create specialized agents with type subscriptions, custom evaluation, and lifecycle hooks.
-
π Blackboard
Master the shared artifact workspace that enables emergent agent collaboration.
-
π Visibility Controls
Control data access with public, private, tenant-based, and label-based visibility.
-
π Dashboard
Monitor agent execution in real-time with the built-in React dashboard.
π Distributed TracingΒΆ
Comprehensive observability with OpenTelemetry and DuckDB.
-
β‘ Quick Start
Enable tracing in 30 seconds and start capturing execution data.
-
π Auto-Tracing
Automatic trace capture for all operations without code changes.
-
π Unified Tracing
Wrap workflows in single parent traces for better observability.
-
π― Effective Usage
Master debugging, optimization, and monitoring techniques.
-
π Production
Best practices for production deployments and monitoring.
-
π Reference
Complete trace module and DuckDB schema reference.
Guide CategoriesΒΆ
Agent DevelopmentΒΆ
- Creating Agents - Basic agent setup and configuration
- Declaring Consumption - Type subscriptions and patterns
- Advanced Subscriptions - Conditional consumption and filtering
- Agent Builder API - Complete reference
Blackboard PatternsΒΆ
- Publishing to Blackboard - Add artifacts and data flows
- Batching Pattern - Parallel execution optimization
- Multi-Agent Coordination - Pipeline architectures
- Artifact Lifecycle - Data flow and management
Visibility & SecurityΒΆ
- Visibility Overview - Understanding visibility controls
- Public Artifacts - Shared across all agents
- Tenant Isolation - Multi-tenant systems
- Label-Based Access - Fine-grained control
- Time-Based Access - Temporal constraints
ObservabilityΒΆ
- Trace Capture - Automatic trace collection
- Trace Analysis - Debugging workflows
- Dashboard Viewer - Visual trace exploration
- Production Monitoring - Metrics and alerts
Common TasksΒΆ
Looking for specific tasks? Here are quick links:
- Create a new agent β Agent Guide
- Enable parallel execution β Batching Pattern
- Debug agent execution β Tracing Effectively
- Add real-time monitoring β Dashboard Guide
- Implement multi-tenancy β Tenant Visibility
- Query artifacts β Blackboard Guide
Best PracticesΒΆ
Design PatternsΒΆ
- β Use small, focused agents with single responsibilities
- β Leverage type contracts for implicit coordination
- β Design artifacts as immutable domain events
- β Enable batching for independent parallel work
PerformanceΒΆ
- β
Use
run_until_idle()
after batching publishes - β Enable auto-tracing only in dev/staging
- β Set appropriate trace TTL for storage management
- β Filter trace services to reduce overhead
ProductionΒΆ
- β Implement proper visibility controls
- β Monitor with production tracing
- β Set up alerting on error rates
- β Use correlation IDs for request tracking
Reference DocumentationΒΆ
- API Reference - Complete API documentation
- Configuration Reference - All configuration options
- Core Concepts - Foundational understanding
Need Help?ΒΆ
Can't find what you're looking for?
- π Search - Use the search bar (press
/
to focus) - π¬ Ask - GitHub Discussions
- π Report - GitHub Issues
Start with the basics β Getting Started