Maestro — Graph Rag Orchestration Engine (fastapi + React + Pgvector)
Key topics
What it does
Maestro turns every decision (persona, campaign, trend, draft, publication, comment) into a graph node with embeddings in PostgreSQL pgvector. Each connection (edge) represents a relationship — “produces,” “comment_on,” “related_trend,” etc.
When a user asks,
“Show me drafts related to Trend X,” Maestro: 1. Embeds the query using multilingual-e5-base 2. Retrieves the nearest Trend node via vector similarity 3. Expands along relevant edges (related_trend → draft → publication) 4. Surfaces contextual summaries and KPIs — no extra LLM calls required.
The result is a reasoning-aware search engine that rebuilds why something happened, not just what.
How it works
Backend: FastAPI + Celery + PostgreSQL (pgvector) + Redis + SeaweedFS
Frontend: React 19 + Vite + Zustand + shadcn/ui
AI layer: Hugging Face multilingual-e5-base embeddings
Graph RAG: 9 node types, 7 edge types, deterministic traversal
Architecture: DAG executor (idempotent flows) + self-generative adapters
Every action is an idempotent operator. Flows are chained deterministically through a DSL → DAG pipeline. When two flows’ input/output types match, the system connects them automatically — new features emerge with zero code growth.
Example: comments.search + template.create → "Search comments and create reaction template" No new logic written, just an adapter between existing flows.
The author introduces Maestro, a Graph RAG orchestration engine that replicates human judgment through deterministic decision-making, and shares its architecture and features.
Snapshot generated from the HN discussion
Discussion Activity
Light discussionFirst comment
2d
Peak period
1
54-60h
Avg / period
1
Key moments
- 01Story posted
Nov 4, 2025 at 1:26 AM EST
2 months ago
Step 01 - 02First comment
Nov 6, 2025 at 11:48 AM EST
2d after posting
Step 02 - 03Peak activity
1 comments in 54-60h
Hottest window of the conversation
Step 03 - 04Latest activity
Nov 6, 2025 at 11:48 AM EST
2 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.