Mofa agent swarm

From mofa-org/mofa-skills · View interactive version

Mofa agent swarm is an AI agent skill from the GitHub repository mofa-org/mofa-skills. A high-performance Rust orchestrator for multi-agent swarm metadata management via SQLite state persistence.

How to use this skill

Skill file

`mofa-agent-swarm` (Agent Coordination Skill)

This skill provides multi-agent swarm metadata management for the MoFA ecosystem using Rust. It focuses on persisting agent topology, state, and task queues in SQLite so that higher-level orchestrators can perform routing, spawning, and task delegation on top of stable, queryable state.

Capabilities

Usage Examples

Spawn a new sub-agent:

echo '{"role": "researcher", "system_prompt": "You are a senior analyst. Analyze reports and extract conclusions.", "max_concurrent_tasks": 3}' | mofa-agent-swarm spawn_agent

Push a task payload to the agent via UUID:

echo '{"agent_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d", "task_payload": "Summarize user demographics.", "priority": 8}' | mofa-agent-swarm send_task

Monitor the swarm:

echo '{}' | mofa-agent-swarm monitor_swarm
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.