Menu

1 / 3

Building a Graph-Native Multi-Agent Runtime with Supabase Edge Functions

DEV Community·Wan Satya·6 months ago
#fqOlFXeo
Reading 0:00
15s threshold

Most AI workflow builders today are still “chatbot chains.”

Linear.

Provider-locked.

Hardcoded.

Not designed for real multi-agent execution.

I wanted something different:

graph-native execution

recursive agent orchestration

BYOK (Bring Your Own Key)

multi-provider support

visual workflows

Supabase-native backend

portable JSON runtime

The result is an agent swarm runtime powered by:

React Flow

Supabase Edge Functions

TypeScript

recursive DAG execution

provider adapters

The Core Idea

Instead of hardcoding workflows into backend logic, the workflow itself becomes the runtime definition.

Example:

{ "agents" : [ { "id" : "ceo" , "provider" : "openrouter" , "model" : "anthropic/claude-sonnet-4" , "instructionRef" : "ceo.md" } ],

"connections" : [ { "source" : "ceo" , "target" : "market-agent" } ] }

Enter fullscreen mode

Exit fullscreen mode

This graph defines:

execution topology

agent hierarchy

orchestration flow

provider routing

The backend simply executes the graph.

Why…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.