equilateral-agents-open-core
v2.5.0
Published
22 Self-Learning AI Agents - Build Institutional Knowledge That Compounds Over Time - Production-Ready Orchestration Framework
Maintainers
Readme
EquilateralAgents Open Core
22 self-learning AI agents. Build institutional knowledge that compounds over time. MIT licensed.
Transform your AI coding assistant into a learning system that gets smarter with every mistake you make (and prevents you from making it again).
🆕 What's New in v2.5.0 - Standards Methodology
Your Codebase Learns From Its Mistakes.
v2.5.0 introduces complete methodology for building institutional knowledge through standards:
# Week 1: Run workflows, see what breaks
npm run workflow:security
npm run workflow:quality
# Week 2: Document your first pain points
cp -r .standards-local-template .standards-local
# Create standards from real incidents using "What Happened, The Cost, The Rule"
# Month 2: Knowledge harvest becomes routine
npm run memory:stats # See patterns in agent learning
# Transform repeated mistakes → standards
# Year 1: 30-50 standards preventing issues before they hit production
# Your 100th standard represents 100 mistakes you'll never make againWhat's Included:
- 📚 Complete Methodology - BUILDING_YOUR_STANDARDS.md, PAIN_TO_PATTERN.md, KNOWLEDGE_HARVEST.md
- 📝 Example Standards - 6 real standards with actual incident costs in
.standards-local-template/ - 🎯 CLAUDE.md Template - Tell your AI assistant to check standards before every change
- 🔄 Knowledge Synthesis Flywheel - Execute → Learn → Document → Prevent → Repeat
The Value:
- Greenfield projects: Start with best practices, build standards as you learn domain
- Brownfield codebases: Systematically document problems, prevent repeating mistakes
- Growing teams: New developers learn from team's past pain, onboard faster
- Compounding knowledge: Every incident becomes institutional memory
See RELEASE_NOTES_v2.5.0.md for complete details.
Why EquilateralAgents?
The Problem: Codebases Don't Learn
Traditional development:
- ❌ Same security bugs discovered 3+ times
- ❌ N+1 query performance issues in every new feature
- ❌ Production incidents from patterns you've seen before
- ❌ New developers repeat mistakes the team already solved
- ❌ No institutional memory - knowledge lives in people's heads
The Solution: A Learning System
EquilateralAgents creates a feedback loop:
1. Execute Workflows (agents scan your code)
↓
2. Agent Memory (tracks what worked, what failed)
↓
3. Knowledge Harvest (extract patterns weekly)
↓
4. Create Standards (document "What Happened, The Cost, The Rule")
↓
5. Enforce Standards (AI checks before changes, agents validate)
↓
6. Fewer Incidents (prevent repeating mistakes)
↓
[Loop back to step 1]Result: Your codebase gets smarter over time. Mistakes happen once, not repeatedly.
Perfect For
🌱 Greenfield Projects
Start right from day 1:
- Security scanning before first commit
- Quality gates before bad patterns take root
- Document decisions as you make them
- Build standards library alongside code
Example journey:
- Week 1: Run security/quality workflows, create first standards
- Month 1: 10+ standards covering your specific domain
- Month 3: New feature? Check standards first. AI references them automatically.
🏗️ Brownfield Codebases
Fix systematically, not randomly:
- Agents identify patterns across entire codebase
- Document each fix as a standard (prevent recurrence)
- Gradually eliminate entire classes of bugs
- Track progress: incidents per month going down
Example journey:
- Week 1: Security scan finds 50 issues. Fix 10, document pattern.
- Month 2: Similar issue caught by agent during PR. Standard working.
- Month 6: That entire class of bugs eliminated from codebase.
Real results:
- Production incidents: 8/quarter → 1/quarter (87% reduction)
- Debug time: 4 hours/incident → 0 (caught in PR review)
- ROI: One prevented outage pays for entire year of standards work
Quick Start
Installation
# Clone repository
git clone https://github.com/Equilateral-AI/equilateral-agents-open-core.git
cd equilateral-agents-open-core
# Install dependencies (zero config - works immediately)
npm install
# Run first workflow
npm run workflow:securityNo database setup. No API keys. No configuration files. Works immediately.
First Week Checklist
- [ ] Day 1: Run security and quality workflows on your codebase
- [ ] Day 2: Review
.equilateral/workflow-history.json- what did agents find? - [ ] Day 3: Copy
.standards-local-template/to.standards-local/ - [ ] Day 4: Create your first standard from most painful issue agents found
- [ ] Day 5: Update
.claude/CLAUDE.mdto reference your new standard
See BUILDING_YOUR_STANDARDS.md for complete Week 1 → Year 3 roadmap.
What's Included
22 Production-Ready Agents
Infrastructure Core (3)
- AgentClassifier - Task routing and complexity analysis
- AgentMemoryManager - Context and state management
- AgentFactoryAgent - Self-bootstrapping agent generation
Development (6)
- CodeAnalyzerAgent - Static analysis and metrics
- CodeGeneratorAgent - Pattern-based code generation
- TestOrchestrationAgent - Multi-framework test execution
- DeploymentValidationAgent - Pre-deployment validation
- TestAgent - UI testing with intelligent element remapping
- UIUXSpecialistAgent - Design consistency and accessibility
Quality Assurance (5)
- AuditorAgent - Standards compliance validation
- CodeReviewAgent - Best practice enforcement
- BackendAuditorAgent - Backend-specific standards
- FrontendAuditorAgent - Frontend-specific standards
- TemplateValidationAgent - IaC template validation
Security (4)
- SecurityScannerAgent - Vulnerability scanning
- SecurityReviewerAgent - Security posture assessment
- SecurityVulnerabilityAgent - Common security issue detection
- ComplianceCheckAgent - Basic compliance validation
Infrastructure (4)
- DeploymentAgent - Deployment automation
- ResourceOptimizationAgent - Cloud resource analysis
- ConfigurationManagementAgent - IaC configuration patterns
- MonitoringOrchestrationAgent - Observability best practices
See AGENT_INVENTORY.md for complete capabilities.
Complete Standards Methodology
Documentation:
- BUILDING_YOUR_STANDARDS.md - Week 1 → Year 3 roadmap
- PAIN_TO_PATTERN.md - "What Happened, The Cost, The Rule" methodology
- KNOWLEDGE_HARVEST.md - Daily/weekly pattern extraction process
- .claude/CLAUDE.md - Template for AI assistant integration
Example Standards (.standards-local-template/):
- Security: Credential scanning, input validation, auth & access control
- Architecture: Error-first design patterns
- Performance: Database query optimization, N+1 prevention
- Testing: Integration tests without mocks
The Difference:
- Open-core: Methodology + templates + 22 agents (teach you to fish)
- Commercial: 138+ battle-tested standards + 62 agents (give you 138 fish already caught)
5 Battle-Tested Workflows
npm run workflow:security # Multi-layer security assessment
npm run workflow:quality # Code quality analysis (0-100 score)
npm run workflow:deploy # Deployment validation
npm run workflow:fullstack # Full-stack development workflow
npm run workflow:infrastructure # Infrastructure validationSee workflows/README.md for details.
Self-Learning System
Agents automatically:
- Track last 100 executions
- Identify success/failure patterns
- Suggest optimizations
- Improve recommendations over time
You manually:
- Review agent memory weekly (
npm run memory:stats) - Extract patterns ("this error happened 3+ times")
- Create standards (document "What Happened, The Cost, The Rule")
- Update
.claude/CLAUDE.md(AI checks standards before changes)
Commercial upgrade:
- Librarian agent automates knowledge harvest
- Pattern recognition ML across projects
- Cross-enterprise learning (anonymized)
Three-Tier Standards System
EquilateralAgents uses a hierarchical standards approach:
1. Official Standards (.standards/)
EquilateralAgents Open Standards - Universal principles
Core principles:
- No mocks in production code (test real dependencies)
- Error-first design (design errors before happy paths)
- Cost-conscious infrastructure (estimate before deploying)
- Explicit over implicit (obvious code beats clever code)
2. Community Standards (.standards-community/)
Community Patterns - Battle-tested patterns (optional)
Contributed by users:
- Agent coordination patterns
- Real-world examples
- Custom workflows
- Integration patterns
Your standards can graduate here after 3+ months of successful use.
3. Local Standards (.standards-local/)
Your Team's Standards - Project-specific conventions (git-ignored or private repo)
Built from your experience:
- Document incidents as they happen
- "What Happened, The Cost, The Rule" format
- Prevent repeating your specific mistakes
- Your institutional knowledge
Quick Setup
# Clone with official standards
git clone --recurse-submodules https://github.com/Equilateral-AI/equilateral-agents-open-core.git
# Add community standards (optional)
git submodule add https://github.com/JamesFord-HappyHippo/EquilateralAgents-Community-Standards.git .standards-community
# Create your local standards
cp -r .standards-local-template .standards-localIntegration with AI Assistants
Claude Code (Recommended)
/plugin marketplace add Equilateral-AI/equilateral-agents-open-core
/plugin install equilateral-agents-open-core
# Available slash commands
/ea:security-review # Multi-layer security assessment
/ea:code-quality # Code analysis with quality scoring
/ea:memory # View agent learning statistics
/ea:list # See all available workflowsCursor / Continue / Windsurf
EquilateralAgents includes .claude/CLAUDE.md that tells your AI assistant:
## Before Every Code Change:
1. CHECK STANDARDS FIRST
- Read `.standards/` for universal principles
- Check `.standards-community/` for proven patterns
- Review `.standards-local/` for team conventions
2. DESIGN ERRORS FIRST
- What can go wrong? How will it fail?
3. VALIDATE BEFORE COMMIT
- Run relevant agents (security, quality, tests)
- Check agent memory for similar past failuresResult: AI automatically references your standards, preventing mistakes before code is written.
Background Execution
The Pattern: "Dispatch teams in background, execute next todo list tasks"
const AgentOrchestrator = require('./equilateral-core/AgentOrchestrator');
const orchestrator = new AgentOrchestrator({ enableBackground: true });
await orchestrator.start();
// Dispatch teams in background
const securityTask = orchestrator.executeWorkflowBackground('security-review', {
projectPath: process.cwd()
});
const qualityTask = orchestrator.executeWorkflowBackground('code-quality', {
projectPath: process.cwd()
});
// Continue working on next todo while agents run
await workOnNextTodoListItems();
// Check results when ready
const securityResults = await securityTask.getResult();
const qualityResults = await qualityTask.getResult();See BACKGROUND_EXECUTION.md for complete API.
Knowledge Synthesis Flywheel
The system that makes your codebase smarter over time:
Week 1-4: Foundation
- Run workflows on your actual codebase
- Review findings - agents will find issues
- Document first pain - create 3-5 standards from most painful issues
- Update CLAUDE.md - tell AI to check your new standards
Month 2: Knowledge Harvest
- Weekly review: Check
npm run memory:stats - Identify patterns: What failed 3+ times?
- Create standards: Use "What Happened, The Cost, The Rule" format
- Measure impact: Track prevented incidents
Month 3: Enforcement
- Pre-commit hooks: Run agents before every commit
- CI/CD integration: Block PRs with critical violations
- Team training: Share standards library, explain why each exists
- Celebrate wins: Count prevented incidents, estimate cost savings
Year 1: Maturity
- 30-50 standards covering most common mistakes
- 87% reduction in production incidents (real data from commercial users)
- 40% faster velocity (less debugging, more building)
- Faster onboarding (new devs learn from documented pain)
Year 2+: Compounding Knowledge
- Standards library stabilizes (most patterns documented)
- Focus shifts to enforcement and refinement
- Consider contributing valuable patterns to community
- Explore commercial upgrade for specialized needs
The Goal: Every mistake happens once, gets documented, never repeats.
Real Results
Greenfield Project Example
Background: New SaaS application, 3 developers, 6 months
Week 1:
- Ran security/quality workflows
- Found 0 issues (greenfield), created 5 standards for domain patterns
- Set up pre-commit hooks
Month 3:
- 15 standards documented (authentication, data validation, API patterns)
- 0 production incidents (agents caught issues in PR review)
Month 6:
- 25 standards, mature workflow
- New developer onboarded in 2 days (read standards, understood decisions)
- Security audit: 95/100 score
Brownfield Project Example
Background: Legacy Node.js app, 50k LOC, 5 years old, 8 developers
Week 1:
- SecurityScannerAgent found 47 issues
- BackendAuditorAgent found 30 N+1 queries
- Created first 3 standards from most painful patterns
Month 2:
- Fixed 15 issues, documented patterns as standards
- Agents started catching similar issues in new code
- Prevented 8 incidents (same patterns caught in PR review)
Month 6:
- 35 standards, entire classes of bugs eliminated
- Production incidents: 8/quarter → 1/quarter (87% reduction)
- Debug time per incident: 4 hours → 0 (caught before merge)
Month 12:
- 50+ standards, knowledge library mature
- Team velocity up 40% (less firefighting, more building)
- ROI: One prevented outage paid for entire year of work
Open-Core vs Commercial
What's Open-Core (Free)
✅ 22 production-ready agents - Everything needed to start ✅ Complete methodology - Build your own standards library ✅ Self-learning system - Agent memory, pattern recognition ✅ Background execution - Parallel workflow execution ✅ Example standards - 6 templates showing proper format ✅ Community contribution - Contribute & benefit from shared knowledge ✅ This entire methodology - Teach you to fish
Perfect for:
- Startups and small teams
- Learning the methodology
- Building your first 50 standards
- Contributing to community
What's Commercial
⭐ 62 specialized agents (40+ beyond open-core) ⭐ 138+ battle-tested standards (from years of enterprise pain) ⭐ GDPR/HIPAA/SOC2 compliance (specialized domain expertise) ⭐ Librarian agent (automated knowledge harvest) ⭐ Pattern recognition ML (cross-enterprise learning) ⭐ Multi-account AWS (Control Tower integration) ⭐ Advanced security (STRIDE threat modeling, penetration testing) ⭐ Cost intelligence (ML-based predictions)
Perfect for:
- Enterprises with compliance requirements
- Teams that need 138+ standards immediately (skip 2 years of learning)
- Multi-cloud deployments
- Cross-project pattern recognition
The Difference
Open-core teaches you to fish (methodology + tools)
Commercial gives you 138 fish already caught (battle-tested standards + automation)
Upgrade Path
Start with open-core. Build your .standards-local/. Upgrade when you need:
- Specialized compliance (GDPR, HIPAA)
- 138+ pre-built standards (skip years of learning)
- ML-based cost predictions
- Automated knowledge harvest (librarian agent)
- Cross-enterprise pattern recognition
Contact: [email protected]
Contributing
Contributions welcome! See CONTRIBUTING.md for guidelines.
Found a universal pattern? Submit to EquilateralAgents Open Standards
Built something useful? Share with Community Standards
Your battle-tested pattern could help thousands of developers avoid the same mistakes.
Security Notice
Important: EquilateralAgents runs with your user account privileges.
Agents can:
- Read/write files in your project
- Execute shell commands
- Access environment variables (API keys, tokens)
- Make network requests
Best Practices:
- Review agent code before running
- Use separate API keys for development
- Run in isolated environments for untrusted workflows
- Monitor agent activity logs in
.equilateral/
See SECURITY.md for complete guidelines.
Documentation
- BUILDING_YOUR_STANDARDS.md - Week 1 → Year 3 roadmap
- PAIN_TO_PATTERN.md - "What Happened, The Cost, The Rule" methodology
- KNOWLEDGE_HARVEST.md - Daily/weekly pattern extraction
- Agent Inventory - All 22 agents with capabilities
- Workflows - Complete workflow guide
- Background Execution - Async API reference
- Standards Integration - Three-tier setup guide
- Claude Code Plugin - Skills and slash commands
- Protocols - MCP, A2A, WebSockets
License
MIT License - see LICENSE
Trademarks: EquilateralAgents™ and Equilateral AI™ are trademarks of HappyHippo.ai
The Bottom Line
Traditional development: Make mistakes repeatedly. Knowledge lives in people's heads. New developers repeat old mistakes.
With EquilateralAgents: Make mistakes once. Document them. Build institutional memory. Your codebase learns.
- Week 1: Run workflows, see what breaks
- Month 2: 10+ standards from your real pain
- Year 1: 30-50 standards preventing entire classes of bugs
- Year 2+: Knowledge compounds, velocity increases, incidents decrease
Your 100th standard represents 100 mistakes you'll never make again.
Built by HappyHippo.ai
Ready to start?
git clone https://github.com/Equilateral-AI/equilateral-agents-open-core.git
cd equilateral-agents-open-core
npm install && npm run workflow:security