Skip to content

Practical patterns, starters & CLI tools for loop engineering with AI coding agents. Design systems that prompt and orchestrate agents (inspired by Addy Osmani and Boris Cherny). Includes loop-audit, loop-init, loop-cost.

484 B
Raw Blame
import { SandboxOptions } from '@cobusgreyling/loop-sandbox';
export interface SwarmOptions extends SandboxOptions {
    count: number;
}
export interface ConsensusResult {
    reached: boolean;
    majorityHash: string | null;
    majorityCount: number;
    totalPatches: number;
    consensusPatchFile: string | null;
    divergentPatches: string[];
}
export declare function runSwarm(root: string, command: string, args: string[], options: SwarmOptions): Promise<ConsensusResult>;