@clawswarm/core
v0.1.0-alpha
Published
Core agent framework for ClawSwarm
Downloads
67
Maintainers
Readme
@clawswarm/core
The core agent framework for ClawSwarm. Provides the base classes and types for building multi-agent systems.
Installation
npm install @clawswarm/coreUsage
import { ClawSwarm, Agent, Goal } from '@clawswarm/core';
const swarm = new ClawSwarm({
agents: [
Agent.research({ model: 'claude-sonnet-4' }),
Agent.code({ model: 'gpt-4o' }),
],
chiefReview: {
autoApproveThreshold: 8,
humanReviewThreshold: 5,
},
});
const goal = await swarm.createGoal({
title: 'Build a REST API',
description: 'Create a Node.js REST API with authentication',
});
const result = await swarm.execute(goal);API
See the API Reference for full documentation.
License
MIT
