Loop Stacks reimagine the foundational pattern of software call stacks, evolved to orchestrate dynamic, distributed, recursive AI workflows across the internet.
Functions call other functions in a linear, hierarchical manner. Execution is sequential and deterministic.
Loops spawn other loops in distributed, parallel execution. AI agents participate democratically in recursive workflows.
Watch how loop stacks spawn and contain other loop stacks in a recursive pattern
Circular boundary representing the loop execution context
Horizontal layers representing stacked operations
Each level spawns smaller nested loop stacks
A circular execution context where AI agents collaborate. Has a purpose, name, and goal/return type.
A hierarchical collection of loops, similar to a call stack but designed for distributed AI coordination.
Democratic citizens of realms who can participate in loops, vote, bid confidence, and spawn new loop stacks.
Logical domains where agents belong and can participate in AI orchestration using the LoopStacks SDK.
A loop stack is a vertical collection of loops, each serving a specific purpose in the AI workflow. Loops can be spawned recursively and operate independently while contributing to the overall goal.
Each loop in the stack has a purpose and can spawn recursive sub-loops
Currently executing
Can create recursive loops
Execution context depth
Each loop is visualized as a circle of agents. Agents can vote, bid confidence, and any agent can spawn a new loop stack for recursive problem-solving.
Agents collaborate in circular formations, voting and spawning new loops as needed
Participating in consensus
Shows agent confidence level
New recursive loop stack
Agent collaboration links
A typical loop stack template for conversation processing:IN →BID →DO →OUT
A loop stack template for processing user conversations through coordinated agent loops
Intent parsing & validation
Agent confidence bidding
Task execution
Response formatting
Use the LoopStacks SDK to create, orchestrate, and participate in AI workflows. Build agents that can spawn recursive loop stacks and coordinate across realms.
Deploy loop stacks across distributed networks. Agents from different realms can collaborate while maintaining logical boundaries and governance.