rUv's Claude-Flow, translated to the new Gemini CLI; transforming it into an autonomous AI development team.
rUv's Claude-Flow, translated to the new Gemini CLI; transforming it into an autonomous AI development team.
Hi all! I wanted to write a short message thanking each and every one of you for supporting the repo and sharing it and I hope it was super useful for you!! As of January 29, 2026, this project will be archived/read-only.
Generative AI writ large is moving too fast given the amount of repositories I'm not managing have exploded, and with some of Google's latest releases (Antigravity), it really discontinues the need for this type of project.
I will keep it archived/read-only as a growing/learning experience! Thanks so much everyone; y'all have been awesome!!!
-clduab11
Gemini-Flow is the production-ready AI orchestration platform that transforms how organizations deploy, manage, and scale AI systems with real Google API integrations, agent-optimized architecture, and enterprise-grade reliability.
This isn't just another AI framework. This is the practical solution for enterprise AI orchestration with A2A + MCP dual protocol support, real-time processing capabilities, and production-ready agent coordination.
…** Modern Protocol Support**: Native A2A and MCP integration for seamless inter-agent communication and model coordination
⚡ Enterprise Performance: 396,610 ops/sec with = 18.0.0
npm >= 8.0.0
Google Cloud Project with API access
Redis (for distributed coordination)
node --version && npm --version
### 30-Second Production Setup
```bash
# 1. Install globally
npm install -g @clduab11/gemini-flow
# 2. Initialize with dual protocol support
gemini-flow init --protocols a2a,mcp --topology hierarchical
# 3. Configure Google AI services
gemini-flow auth setup --provider google --credentials path/to/service-account.json
# 4. Spawn coordinated agent teams
gemini-flow agents spawn --count 20 --coordination "intelligent"
# 5. Monitor A2A coordination in real-time
gemini-flow monitor --protocols --performance# Clone and setup production environment
git clone https://github.com/clduab11/gemini-flow.git
cd gemini-flow
# Install dependencies
npm install --production
# Setup environment variables
cp .env.example .env
# Edit .env with your production configuration
# Build for production
npm run build
# Start production server
npm start
# Start monitoring dashboard
npm run monitoring:start// production-deployment.ts
import { GeminiFlow } from '@clduab11/gemini-flow';
const flow = new GeminiFlow({
protocols: ['a2a', 'mcp'],
topology: 'hierarchical',
maxAgents: 66,
environment: 'production'
});
async function deployProductionSwarm() {
// Initialize swarm with production settings
await flow.swarm.init({
objective: 'Process enterprise workflows',
agents: ['system-architect', 'backend-dev', 'data-processor', 'validator', 'reporter'],
reliability: 'fault-tolerant',
monitoring: 'comprehensive'
});
// Setup production monitoring
flow.on('task-complete', (result) => {
console.log('Production task completed:', result);
// Send metrics to monitoring system
});
flow.on('agent-error', (error) => {
console.error('Agent error in production:', error);
// Alert operations team
});
// Start processing with enterprise SLA
await flow.orchestrate({
task: 'Process customer data pipeline',
priority: 'high',
sla: '99.99%'
});
}
deployProductionSwarm().catch(console.error);// .gemini-flow/production.config.ts
export default {
protocols: {
a2a: {
enabled: true,
messageTimeout: 5000,
retryAttempts: 3,
encryption: 'AES-256-GCM',
healthChecks: true
},
mcp: {
enabled: true,
contextSyncInterval: 100,
modelCoordination: 'intelligent',
fallbackStrategy: 'round-robin'
}
},
swarm: {
maxAgents: 66,
topology: 'hierarchical',
consensus: 'byzantine-fault-tolerant',
coordinationProtocol: 'a2a'
},
performance: {
sqliteOps: 396610,
routingLatency: 75,
a2aLatency: 25,
parallelTasks: 10000
},
monitoring: {
enabled: true,
metricsEndpoint: 'https://monitoring.your-domain.com',
alerting: 'comprehensive',
dashboards: ['performance', 'agents', 'costs']
},
google: {
projectId: process.env.GOOGLE_CLOUD_PROJECT,
credentials: process.env.GOOGLE_APPLICATION_CREDENTIALS,
services: {
veo3: { enabled: true, quota: 'enterprise' },
imagen4: { enabled: true, quota: 'enterprise' },
chirp: { enabled: true, quota: 'enterprise' },
lyria: { enabled: true, quota: 'enterprise' },
'co-scientist': { enabled: true, quota: 'enterprise' },
mariner: { enabled: true, quota: 'enterprise' },
agentspace: { enabled: true, quota: 'enterprise' },
streaming: { enabled: true, quota: 'enterprise' }
}
}
}Issue: Google API authentication failures
# Error: "Application Default Credentials not found"
# Solution: Setup authentication
gcloud auth application-default login
export GOOGLE_APPLICATION_CREDENTIALS="path/to/service-account.json"
# Verify authentication
gemini-flow auth verify --provider googleIssue: High memory usage with large agent swarms
# Problem: Memory consumption exceeding 8GB
# Solution: Optimize agent configuration
agents:
maxConcurrent: 50 # Reduce from default 100
memoryLimit: "256MB" # Set per-agent limit
pooling:
enabled: true
maxIdle: 10Issue: Agent coordination latency
// Solution: Optimize network settings
{
"network": {
"timeout": 5000,
"retryAttempts": 3,
"keepAlive": true,
"compression": true,
"batchRequests": true
}
}
…
bash
# Install from GitHub
gemini extensions install https://github.com/clduab11/gemini-flow
# Install from local clone
cd /path/to/gemini-flow
gemini extensions install .
# Enable the extension
gemini extensions enable gemini-flow
…
bash
# Hive mind operations
gemini hive-mind spawn "Build AI application"
gemini hive-mind status
# Agent swarms
gemini swarm init --nodes 10
gemini swarm spawn --objective "Research task"
# Individual agents
gemini agent spawn researcher --count 3
gemini agent list
# Memory management
gemini memory store "key" "value" --namespace project
gemini memory query "pattern"
# Task coordination
gemini task create "Feature X" --priority high
gemini task assign TASK_ID --agent AGENT_ID# List installed extensions
gemini extensions list
# Enable/disable extension
gemini extensions enable gemini-flow
gemini extensions disable gemini-flow
# Update extension
gemini extensions update gemini-flow
# Get extension info
gemini extensions info gemini-flow
# Uninstall extension
gemini extensions uninstall gemini-flowgemini-flow also includes its own extension management commands:
# Using gem-extensions command
gemini-flow gem-extensions install https://github.com/user/extension
gemini-flow gem-extensions list
gemini-flow gem-extensions enable extension-name
gemini-flow gem-extensions info extension-nameThe extension is defined in gemini-extension.json at the repository root:
{
"name": "gemini-flow",
"version": "1.3.3",
"description": "AI orchestration platform with 9 MCP servers",
"entryPoint": "extensions/gemini-cli/extension-loader.js",
"mcpServers": { ... },
"customCommands": { ... },
"contextFiles": ["GEMINI.md", "gemini-flow.md"]
}✅ Official Gemini CLI Integration - Works with official Gemini CLI
✅ 9 Pre-configured MCP Servers - Ready to use out of the box
✅ 7 Custom Commands - Full gemini-flow functionality
✅ Auto-loading Context - Automatic GEMINI.md integration
✅ Lifecycle Hooks - Proper onInstall, onEnable, onDisable, onUpdate, onUninstall handling
✅ GitHub Installation - Easy one-command installation
For more details, see extensions/gemini-cli/README.md and GEMINI.md.
MIT License - Because the future should be open source.
No open issues yet, or sync has not completed.