Skip to content

CryptoDoru/BEOH

Repository files navigation

BEOH - BMAD-Enhanced OpenHarness

License: MIT Go Version Node Version

Zero-config AI agent harness for seamless software development

BEOH is an open-source, all-in-one AI agent harness that combines multi-agent orchestration with structured agile methodologies. It auto-detects your project, loads appropriate tools, and orchestrates specialized AI agents to handle development tasksβ€”from ideation to implementation.

Key Features

  • Zero Configuration: Auto-detects languages, frameworks, LSPs, and project patterns
  • Multi-Agent Orchestration: Specialized agents collaborate like a development team
  • Structured Workflows: BMAD methodology provides agile best practices
  • Cross-Platform: Works on macOS, Linux, and Windows
  • Open Source: MIT licensed, fully extensible

Quick Start

# Install BEOH
npx beoh@latest

# Navigate to any project
cd your-project

# Start BEOH
beoh

# That's it! BEOH auto-detects your stack and is ready to help.

The 60-Second Experience

$ cd ~/my-fastapi-project
$ beoh

πŸ” Analyzing project...
βœ“ Detected: Python 3.11, FastAPI, PostgreSQL, pytest
βœ“ LSP: pyright (loaded)

Ready! What would you like to build?
> Add JWT authentication with refresh tokens

β”Œβ”€ Workflow: Quick Flow ────────────────────────────┐
β”‚  βœ“ Understand    ● Design    β—‹ Implement    β—‹ Review β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ—οΈ Winston (Architect) [Working...]
└─ Designing authentication flow...

# Minutes later: Working JWT auth with tests!

How It Works

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    Your Natural Language                      β”‚
β”‚                    "Add user authentication"                  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                             β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    BEOH Orchestrator                          β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”         β”‚
β”‚  β”‚ Analyst β”‚β†’ β”‚Architectβ”‚β†’ β”‚Developerβ”‚β†’ β”‚Reviewer β”‚         β”‚
β”‚  β”‚ (Mary)  β”‚  β”‚(Winston)β”‚  β”‚(Amelia) β”‚  β”‚ (Code)  β”‚         β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜         β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                             β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    Working Code + Tests                       β”‚
β”‚                    Ready for review                           β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Supported Languages & Frameworks

Language Frameworks LSP
Python FastAPI, Django, Flask, pytest pyright
TypeScript/JavaScript React, Next.js, Express, Jest typescript-language-server
Go Gin, Echo, Fiber gopls
Rust Actix, Axum, Rocket rust-analyzer
Java Spring Boot, Maven, Gradle jdtls

Commands

beoh              # Interactive mode (default)
beoh init         # Analyze project and show detection results
beoh run <task>   # Execute a single task non-interactively
beoh session list # List saved sessions
beoh session resume # Resume last session
beoh config       # View/edit configuration
beoh cost         # Show token usage and costs

Configuration

BEOH works out of the box, but you can customize behavior:

# ~/.config/beoh/config.yaml

llm:
  default_provider: anthropic

budget:
  session_limit: 10.00  # USD per session

detection:
  ignore_patterns:
    - node_modules
    - .git
    - __pycache__

Environment Variables

# Required: At least one LLM provider API key
export ANTHROPIC_API_KEY=sk-ant-...
export OPENAI_API_KEY=sk-...

# Optional: Custom config location
export BEOH_CONFIG=~/.config/beoh/config.yaml

Architecture

BEOH uses a hybrid architecture:

  • Go Core: High-performance CLI/TUI using Cobra and Bubble Tea
  • Node.js Sidecar: BMAD workflow engine for agent orchestration
  • IPC Bridge: Unix socket with MessagePack serialization
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚           BEOH Main (Go)                β”‚
β”‚  β€’ CLI/TUI  β€’ LSP Manager  β€’ LLM Client β”‚
β”‚                    β”‚                    β”‚
β”‚              IPC Bridge                 β”‚
β”‚                    β”‚                    β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚  β”‚      BMAD Sidecar (Node.js)       β”‚  β”‚
β”‚  β”‚  β€’ Workflows  β€’ Agents  β€’ BMB     β”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Development

Prerequisites

  • Go 1.21+
  • Node.js 20+
  • Git

Setup

# Clone the repository
git clone https://github.com/CryptoDoru/BEOH.git
cd BEOH

# Install Go dependencies
go mod download

# Install Node.js dependencies
cd sidecar && npm install && cd ..

# Build
make build

# Run tests
make test

# Run locally
./bin/beoh

Project Structure

beoh/
β”œβ”€β”€ cmd/beoh/           # CLI entry point
β”œβ”€β”€ core/               # Go core modules
β”‚   β”œβ”€β”€ cli/            # Cobra commands
β”‚   β”œβ”€β”€ tui/            # Bubble Tea UI
β”‚   β”œβ”€β”€ detect/         # Project detection
β”‚   β”œβ”€β”€ orchestrator/   # Agent orchestration
β”‚   β”œβ”€β”€ agent/          # Agent runtime
β”‚   β”œβ”€β”€ ipc/            # Go↔Node bridge
β”‚   β”œβ”€β”€ llm/            # LLM providers
β”‚   └── persistence/    # SQLite storage
β”œβ”€β”€ sidecar/            # Node.js BMAD sidecar
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ workflows/  # Workflow engine
β”‚   β”‚   └── agents/     # Agent definitions
β”‚   └── package.json
β”œβ”€β”€ agents/             # Agent YAML definitions
β”œβ”€β”€ workflows/          # Workflow YAML definitions
└── docs/               # Documentation

Source Repositories

BEOH builds upon these excellent projects:

Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

Quick Contribution Guide

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Roadmap

MVP (Current)

  • Project planning and architecture
  • Go core scaffold
  • Node.js sidecar
  • IPC bridge
  • 5 core agents
  • Quick Flow workflow
  • Basic TUI

Phase 2

  • VS Code extension
  • Multi-LLM support (OpenAI, Ollama)
  • Cost monitoring dashboard
  • Additional workflows

Phase 3

  • Web UI
  • Agent marketplace
  • Enterprise features
  • Team collaboration

License

MIT License - see LICENSE for details.

Acknowledgments

  • The Anthropic team for Claude
  • The Charm team for Bubble Tea
  • The BMAD community for methodology inspiration

BEOH - Making AI-driven development seamless

About

Top tier agent harness built on top of opencode

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors