π Complete unified monorepo for BlackRoad OS - Browser-native operating system with AI agent orchestration.
- 15+ GitHub organizations
- 1000+ AI agents (targeting 30K β 1M users β 30B users)
- 19 domains across infrastructure
- 24+ services deployed across multiple platforms
blackroad-os-monorepo/
βββ apps/ # End-user applications
β βββ web/ # Main marketing site (Next.js)
β βββ console/ # Prism Console (Next.js)
β βββ dashboard/ # Admin dashboard (Next.js)
β βββ mobile/ # React Native mobile app
β
βββ services/ # Backend microservices
β βββ api/ # API Gateway (Node.js)
β βββ auth/ # Authentication service
β βββ billing/ # Billing & subscriptions
β βββ analytics/ # Analytics pipeline
β βββ gateway/ # APISIX configuration
β
βββ packages/ # Shared packages
β βββ shared/ # Common utilities
β βββ ui/ # Design system components
β βββ config/ # Shared configurations
β βββ types/ # TypeScript definitions
β βββ agent-sdk/ # SDK for agent development
β
βββ agents/ # AI Agent ecosystem
β βββ definitions/ # 1000+ agent configs (YAML/JSON)
β βββ orchestration/ # LangGraph + CrewAI orchestrators
β βββ memory/ # PS-SHAβ memory system
β βββ communication/ # NATS event bus integration
β
βββ infrastructure/ # Infrastructure as Code
β βββ cloudflare/ # Workers, KV, R2, D1
β βββ railway/ # Railway service configs
β βββ kubernetes/ # K3s manifests (Alice/Octavia)
β βββ raspberry-pi/ # Local LLM deployment configs
β
βββ tooling/ # Developer tools
βββ cli/ # BlackRoad CLI
βββ scripts/ # Automation scripts
βββ deployment/ # CI/CD configurations
βββ monitoring/ # Observability setup
- Agents: LangGraph + CrewAI
- LLM: vLLM + llama.cpp
- Vectors: Milvus
- Messaging: NATS (pub/sub event bus)
- MLOps: Kubeflow + Langfuse
- API Gateway: APISIX
- Blockchain: Besu (RoadChain)
- Metaverse: Ethereal Engine
- Framework: Next.js 14 (App Router)
- UI: Browser-native OS (web-based)
- Mobile: React Native
- Edge: Cloudflare (Workers, KV, R2, D1)
- Compute: Railway, DigitalOcean Droplets
- Local: Raspberry Pis, Jetson Orin Nano
- Orchestration: K3s (Alice/Octavia cluster)
blackroad.io- Main platformlucidia.earth- AI systemroadchain.io- Blockchainaliceqi.com- AI intelligence- +15 more specialized domains
- Node.js >= 20.0.0
- pnpm >= 8.0.0
- Docker (for local services)
# Install dependencies
pnpm install
# Run all services in dev mode
pnpm dev
# Build all packages
pnpm build
# Run tests
pnpm test
# Lint all code
pnpm lint# Work on specific app
cd apps/web
pnpm dev
# Work on specific service
cd services/api
pnpm dev
# Build specific package
pnpm build --filter=@blackroad/ui
# Run selective builds
turbo run build --filter=@blackroad/web...All packages follow the @blackroad/<name> convention:
@blackroad/web- Web application@blackroad/ui- UI components@blackroad/shared- Shared utilities@blackroad/agent-sdk- Agent development SDK
# Deploy to Cloudflare
pnpm deploy:cloudflare
# Deploy to Railway
pnpm deploy:railway
# Deploy edge functions
pnpm deploy:edge# Staging
turbo run deploy --filter='*' --env=staging
# Production
turbo run deploy --filter='*' --env=production- Cloudflare Workers: Edge functions, API routes
- Cloudflare Pages: Static sites, Next.js apps
- Railway: Backend services, databases
- K3s: Agent orchestration, memory systems
- Raspberry Pi: Local LLM inference
- NATS for pub/sub messaging
- PS-SHAβ for memory persistence (append-only journals)
- Milvus for vector storage
agents/
βββ definitions/ # 1000+ agent YAML/JSON configs
β βββ tier-1/ # Core system agents
β βββ tier-2/ # Domain-specific agents
β βββ tier-3/ # User-created agents
βββ orchestration/ # LangGraph + CrewAI workflows
βββ memory/ # Memory persistence system
βββ communication/ # NATS integration
Each package can be versioned independently:
{
"name": "@blackroad/ui",
"version": "2.1.0"
}Cross-package compatibility is managed through:
- Semantic versioning
- Dependency constraints
- Integration tests
Turborepo only builds changed packages and their dependents:
# Only build affected packages
turbo run build --filter=[HEAD^1]- Build changed packages
- Run tests for affected packages
- Deploy to staging (auto)
- Deploy to production (manual approval)CI automatically detects target platform from package metadata:
- Cloudflare Workers β
wrangler deploy - Railway β
railway up - K3s β
kubectl apply
β
Unified codebase - All services in one repo
β
Fast builds - Turborepo caching and parallelization
β
Independent versioning - Each package versions separately
β
Multi-platform - Deploy to Cloudflare, Railway, K3s, Pi
β
Type-safe - Shared TypeScript types across packages
β
Event-driven - NATS-based agent communication
β
Scalable - From 1K to 30K to 1M agents
Proprietary - BlackRoad OS Inc.
See CONTRIBUTING.md for development workflow.
Built with β€οΈ by BlackRoad OS
Targeting: 30K agents β 1M users β 30B users