Separation of Duties: See Separation of Duties - Getting started guides document onboarding. They do NOT own agent manifests, execution, or infrastructure configuration.
Last Updated: 2025-01-XX
Status: Production Ready
Purpose: One-page quick reference for daily development
The Stack
CLIENTS
Claude Desktop + MCP Servers GitLab Duo AgentStudio IDE
Screens 5 (VNC remote access)
NETWORK LAYER
Internet Spectrum Modem Ethernet
Deco X60 Mesh WiFi (general network)
GL-BE3600 Router (BlueflyMesh: 192.168.8.0/24)
Tailscale (100.116.110.123) - Subnet router
INFRASTRUCTURE
OrbStack (Kubernetes/Docker) DDEV (Drupal) K8s/K9s
AGENT ROUTER (Port 3006) - LLM Gateway
Routes to: Ollama (11434) OpenAI Anthropic Gemini
Strategies: auto-route | cost | performance | quality
AGENT MESH (Port 3003 REST, 50051 gRPC) - Backend Coordination
Agent Registry Discovery Health Monitoring
Load Balancing: round-robin | least-loaded | priority | capability
Circuit Breaker + Rate Limiter
AGENT SERVICES (Ports 3000-3015)
Agent Brain (3000) - Vector DB Agent Chat (3001) - Chat interface
Agent Docker (3002) - Containers Agent Mesh (3003) - Coordination
Agent Ops (3004) - Operations Agent Protocol (3005) - OSSA
Agent Router (3006) - LLM routing Agent Studio (3007) - IDE
Agent Tracer (3008) - Tracing Agentic Flows (3009) - Workflows
Compliance Engine (3010) Doc Engine (3011)
Foundation Bridge (3012) RFP Automation (3013)
Studio UI (3014) Workflow Engine (3015)
OBSERVABILITY
Phoenix (6006) Prometheus (9090) Jaeger (16686) Grafana (3009)
DATA SERVICES
PostgreSQL (5432) Qdrant (6333) Redis (6379) MinIO (9000/9001)
Network (Tailscale)
Tailscale Network Devices
| Machine | IP | Role | Network |
|---|
| Mac M4 (bluefly work) | 100.108.129.7 | Main dev, MCP servers, exit node | Tailscale |
| Mac M3 (gitlab work) | 100.108.180.36 | GitLab development | Tailscale |
| gl-be3600 (router) | 100.116.110.123 | Subnet router (BlueflyMesh) | Tailscale + 192.168.8.1 |
| default-agent-router | 100.119.168.4 | k8s agent router | Tailscale |
| tailscale-operator | 100.95.171.114 | k8s operator | Tailscale |
| iphone | 100.67.125.25 | iOS device | Tailscale |
Tailnet: tailcf98b3.ts.net | MagicDNS: Enabled | Funnel: Available
Network Infrastructure
- Spectrum Modem - Primary internet connection
- Deco X60 Mesh WiFi - https://www.tp-link.com/us/deco-mesh-wifi/product-family/deco-x60/
- GL-BE3600 Router - https://www.gl-inet.com/products/gl-be3600/
- Local IP: 192.168.8.1
- Tailscale IP: 100.116.110.123
- Subnet routing: 192.168.8.0/24
Daily Workflow
Option 1: Docker Compose (Local)
cd $LLM_ROOT/kagent-demo/demo && docker-compose up -d
curl http://localhost:3008/health # Agent Tracer
curl http://localhost:3006/health # Agent Router
curl http://localhost:3003/health # Agent Mesh
cd $LLM_ROOT/demo_llm-platform
ddev start
ddev platform status
open https://llm-platform.ddev.site
Option 3: OrbStack Kubernetes
kubectl apply -f deployment/orbstack/
kubectl get pods -n development
open http://192.168.139.2:4000 # Agent Router
open http://192.168.139.2:6006 # Phoenix
Option 4: LLMCLI Infrastructure
llmcli infra core # Core services
llmcli infra ai # AI services
llmcli infra all # Full platform
llmcli infra status # Check status
Agent Routing Rules (Auto)
| Trigger | Agent | Action |
|---|
| Pipeline fails | @bot-gitlab-lib-ci | Analyze + fix |
| MR created | @bot-mr-reviewer | Code review |
| Drupal changes | @bot-drupal-standards | PHPCS check |
| TypeScript MR | @bot-ts-local | Build check |
| OSSA files | @bot-ossa-local | Validate |
| Docs changed | @bot-docs-syncer | Sync wiki |
OSSA Manifest Structure
apiVersion: ossa/v0.4.9
kind: Agent
metadata:
name: my-agent
namespace: blueflyio
spec:
taxonomy:
role: worker | governor | critic | observer
llm:
provider: anthropic | openai | ollama
model: claude-3-5-sonnet | gpt-4 | qwen2.5-coder
capabilities:
- code-generation
- testing
- review
tools:
- read_file
- write_file
- search
extensions:
kagent: # Kubernetes deployment
buildkit: # Build orchestration
drupal: # Drupal integration
Key Files
| File | Purpose |
|---|
~/.claude/claude_desktop_config.json | MCP server config |
~/.tokens/gitlab | GitLab token |
$LLM_ROOT/WIKIs/technical-docs.wiki/ | Wiki clone |
$LLM_ROOT/common_npm/ | All NPM packages |
$LLM_ROOT/all_drupal_custom/ | All Drupal modules |
$LLM_ROOT/agent-buildkit/ | BuildKit CLI |
$LLM_ROOT/openstandardagents/ | OSSA specification |
$LLM_ROOT/demo_llm-platform/ | Drupal platform |
CLI Quick Reference
# BuildKit
buildkit golden test # Run all quality checks
buildkit golden deploy --env dev
buildkit agents list # List available agents
buildkit swarm spawn --tasks tasks.json
# GitLab
glab issue create --title "..."
glab mr create --title "..." --source-branch feature/x
glab mr merge --yes
# Tailscale (expose services)
tailscale funnel 3006 # Expose agent-router
tailscale funnel 3003 # Expose agent-mesh
tailscale funnel 4000 # Expose LLM Gateway
# Tailscale network management
tailscale status
tailscale ping 100.116.110.123 # Test router connectivity
tailscale up --advertise-routes=192.168.8.0/24 # Advertise BlueflyMesh subnet
Port Reference
Core Orchestrators
| Port | Service | Purpose |
|---|
| 8080 | OSSA Framework | Standards compliance |
| 8081 | Agent BuildKit | Build orchestration |
| 4000 | LLM Gateway | Unified AI API (LiteLLM) |
Agent Services (3000-3099)
| Port | Service | Purpose |
|---|
| 3000 | Agent Brain | Vector DB (Qdrant) |
| 3001 | Agent Chat | Chat interface |
| 3002 | Agent Docker | Container management |
| 3003 | Agent Mesh | Service coordination (REST) |
| 3004 | Agent Ops | Operations & monitoring |
| 3005 | Agent Protocol | OSSA protocol |
| 3006 | Agent Router | LLM routing |
| 3007 | Agent Studio | Development IDE |
| 3008 | Agent Tracer | Distributed tracing |
| 3009 | Agentic Flows | Workflow orchestration |
| 3010 | Compliance Engine | Compliance validation |
| 3011 | Doc Engine | Documentation generation |
| 3012 | Foundation Bridge | Foundation model integration |
| 3013 | RFP Automation | RFP processing |
| 3014 | Studio UI | Studio frontend |
| 3015 | Workflow Engine | Workflow execution |
Observability
| Port | Service | Purpose |
|---|
| 3009 | Grafana | Metrics visualization |
| 6006 | Phoenix | LLM observability |
| 9090 | Prometheus | Metrics collection |
| 16686 | Jaeger | Distributed tracing UI |
Data Services
| Port | Service | Purpose |
|---|
| 5432 | PostgreSQL | Primary database |
| 6333 | Qdrant | Vector database |
| 6379 | Redis | Cache & pub/sub |
| 9000 | MinIO | Object storage API |
| 9001 | MinIO Console | Object storage UI |
| 27017 | MongoDB | Document store |
| 7687 | Neo4j | Graph database |
| 8123 | ClickHouse | Analytics database |
AI Services
| Port | Service | Purpose |
|---|
| 11434 | Ollama | Local LLM inference |
| 5000 | Agent Studio Model | ML model |
| 5002 | Gov RFP Model | RFP processing model |
| 50051 | Agent Mesh | gRPC API |
| 3080 | LibreChat | Chat UI |
Key Domains
| Domain | Purpose | Source |
|---|
| blueflyagents.com | Main platform | agent-mesh |
| docs.blueflyagents.com | Documentation | technical-docs |
| openstandardagents.org | OSSA spec | openstandardagents.org |
| llm-platform.ddev.site | Local Drupal | DDEV |
| ossa.orb.local | OrbStack local | OrbStack |
The Golden Rule
Everything is an agent. Everything is declarative. Everything flows through the mesh.
Issue Agent assigns MR created Agent reviews
Pipeline validates Merge train Release Deployed
Full docs: https://gitlab.com/blueflyio/agent-platform/technical-docs/-/wikis/home