All projects
Case studyAI agents Screens How it's built
AI agents · orchestration
HiveState
Draw a workflow of AI agents, run it, and keep cost and quality under control.

Next.js 16React 19TypeScriptSupabaseReact FlowGeminiOpenAI
- Problem
- Chaining a few LLM calls is easy in a script and hard to trust in production. Steps depend on each other, costs creep up unnoticed, and some decisions need a person before the next agent acts.
- Who it's for
- Builders and small teams who want to run multi-step agent workflows (research, reports, content, code review) without writing orchestration code for each one.
- Design decisions
- A dense, developer-first interface in the spirit of Linear and Vercel: a React Flow canvas to draw agents and their connections, a dashboard of workflows and live tasks, step-by-step traces, and a daily budget card always in view. Its own design system keeps it sharp, dark and information-dense.
- Technical decisions
- Next.js App Router with server actions and API routes. Supabase Postgres stores workflows, runs, step logs, providers and governance settings across 11 migrations. Agents call Gemini or OpenAI through one model layer, and provider keys never leave the server.
- The hard problem
- Running a graph, not a list. The runner works out which nodes are ready from their dependencies, runs each ready level with Promise.all, and carries outputs forward, summarising long context into a short header. It can stop mid-graph at a human-review node, store the pending input, and later resume from that exact node.
- Result
- Four ready-made templates (Research Cluster, Report Factory, Content Engine, Code Auditor), per-run traces with tokens, cost and duration for every step, and a budget guard that blocks new runs once the daily limit is reached.

Dashboard: workflow templates, live tasks and today's spend against the daily budget.
Engine
Parallel DAG runner with HITL pause/resume
Data model
Supabase Postgres, 11 migrations
AI
Gemini + OpenAI behind one interface
Next project
Tally