Hero OS AI & Service Integration — Master Roadmap #38
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Vision
Every Hero service exposes its capabilities via OpenRPC. The AI layer intelligently routes user intent — using cheap models for simple operations and powerful models for complex reasoning. All derived from a single source of truth: the OpenRPC spec.
Architecture End State
hero_aibroker = intelligent routing broker:
hero_shrimp = AI agent:
Every service = OpenRPC + auto-MCP:
HeroRpcServerauto-injects /mcp from OpenRPC spec (#27)Roadmap — Ordered by Dependencies
Phase 1: Foundation (current)
Phase 2: Stabilization
Phase 3: AI Intelligence
Phase 4: Polish
Design Principles
Key Repos
hero_servicecrate)Addition: Replace hero_shrimp (Bun/TypeScript) with Rust-native hero_agent
Problem
hero_shrimp is the only non-Rust component in the entire Hero ecosystem. This creates constant friction: different build toolchain, compiled Bun binary quirks, stdio pipe issues with bridge scripts, no debug output in containers. The current MCP bridge integration is blocked by a Bun-specific stdio pipe issue.
Proposal
Add to Phase 3 (after #27 HeroRpcServer + #18 code generation):
hero_agent — Rust-native AI agent replacing hero_shrimp:
HeroRpcServerpattern (same as every other service)Updated Phase 3
Short term
Fix the immediate shrimp issue (direct HTTP instead of bridge scripts) so #34 can close. The Rust rewrite happens after the foundation (#27, #18) is in place.