Skip to content

Releases: ellmos-ai/bach

SUGAR v3.8.0 -- Schwarm-Intelligence, Personas & Therapie

08 Mar 10:25

Choose a tag to compare

SUGAR -- Schwarm-Intelligence, Agent-Personas & Therapie-Erweiterung

Full release combining new features, quality assurance, and community improvements.

Highlights

  • Schwarm-CLI (bach schwarm) -- Parallel LLM operations with 5 coordination patterns
    • Epstein (parallel chunks), Hierarchy (boss+worker), Stigmergy (pheromone), Consensus (majority vote), Specialist (auto-routing)
    • Automatic pattern routing via decision tree
    • Cost tracking per swarm run in database
  • Agent Personas & Name Resolution -- Customizable display names for all 20 agents/experts
    • Multi-strategy resolution: technical name, display name, role description, persona text, fuzzy match
    • bach agent rename <name> <new-name> for user-customizable names
    • Persona injection into agent system prompt at startup
    • 20 default personas: Atlas, Clara, Felix, Helena, Paul + 15 experts
  • Claude Permissions Handler (bach permissions) -- Permission profiles for Claude Code
    • Default profiles: normal and remote_control
    • Automatic backup/restore of ~/.claude/settings.json
  • Remote Control Starter -- One-click Claude Code launch with remote-control permissions
  • 10 Therapy Skills (Phase 1 + 2 of SQ046):
    • Phase 1: Systemic questioning, Problem-solving training, NVC, Motivational Interviewing, Behavioral activation
    • Phase 2: ACT techniques, DBT skills, Stabilization techniques, Trauma psychoeducation, Exposure support

Schwarm Patterns (5/5 complete)

Pattern Description
Epstein Parallel chunk processing with ThreadPoolExecutor
Hierarchy Boss decomposes task, N Haiku workers execute, Aggregator synthesizes
Stigmergy Pheromone-based coordination via StigmergyAPI
Consensus Multiple LLMs vote, similarity or majority method
Specialist Auto-routes tasks to best-matching BACH boss agent

Database Changes

  • schwarm_runs table (pattern, task, tokens, cost, workers, duration)
  • persona column on bach_agents and bach_experts
  • Migration 033 (schwarm) + 034 (personas)

Bugfixes

  • Windows cp1252 encoding crash in agent_launcher.py when process names contain umlauts

i18n

  • 29 new translation key pairs (DE+EN) for agent persona and rename features

QA

  • 216/217 automated tests passing (1 pre-existing timeout flake)
  • Performance baseline: 37ms startup, sub-ms queries

Full changelog: v3.7.1-tower-of-babel...v3.8.0-sugar

BACH TOWER_OF_BABEL v3.7.1

07 Mar 10:04

Choose a tag to compare

🗼 TOWER_OF_BABEL — Full Multilingual Support

Emergency release to make BACH internationally usable. All content, documentation, and UI strings are now available in English alongside German.

Highlights

  • 3,258 bilingual database entries (1,633 DE + 1,625 EN)
  • 234 translation keys for UI strings, help texts, and error messages
  • English-First documentation — README, QUICKSTART, SKILLS, all 9 template files
  • Language-aware loaders for agents, skills, wiki, and tools with DE fallback
  • bach setup lang de/en — switch all root documents between languages
  • bach docs generate --lang en/de — generate documentation in either language
  • 15 GitHub repos translated to English-First with German README.de.md

Database Changes

Table DE EN Total
skills 927 927 1,854
wiki_articles 413 413 826
tools 273 273 546
bach_agents 5 5 10
bach_experts 15 7 22

Changed Files

  • hub/docs.py--lang parameter, bilingual templates
  • hub/setup.pybach setup lang de/en document switching
  • hub/agents.py — language-filtered DB queries with DE fallback
  • hub/wiki.pyt() for all user-facing strings, sync with language
  • hub/skills.pyt() for operations, list, search, show
  • hub/tools.py — language-filtered registry, t() for labels
  • 032_tower_of_babel.sql — ALTER TABLE for 5 tables (language column)
  • 032_tower_of_babel.py — migration + EN agent/expert data
  • 032_tower_of_babel_translations.py — 118 base translations
  • 9 template files translated (SKILL, AGENTS, CHAINS, CLAUDE, etc.)

Technical Decisions

  1. English-First READMEREADME.md is always English (GitHub standard), German as README.de.md
  2. DB schemalanguage column instead of separate tables (simpler, fewer JOINs)
  3. Fallback — if EN not available, show DE (graceful degradation)
  4. t() function — centralized translation with 3-level fallback
  5. UNIQUE(name, language) — replaces old UNIQUE(name) constraint

Full changelog: v3.7.0...v3.7.1-tower-of-babel

BACH WATERFALL v3.7.0

06 Mar 19:33

Choose a tag to compare

WATERFALL v3.7.0 -- Integritaet, Lazy Auto-Sync, Schwarm-Benchmarks

Schwerpunkt: Integritaet, Konzeptklaerung, Cleanup

Phase 1 -- Integritaet & Cleanup

  • Vanilla/Strawberry-Bereinigung: 97+ veraltete Verweise auf Vorgaengersysteme entfernt
  • PII/Datenschutz-Audit: Docstrings anonymisiert, .gitignore verifiziert
  • Template-Cleanup: 10 .template.md Dateien werden nach Personalisierung lokal entfernt
  • Copyright: 282+ Python-Dateien auf "BACH Contributors" aktualisiert
  • USMC Namensfehler: "Unified" -> "United Shared Memory Client" (6 Stellen)
  • SKILL.md: Jetzt als User-Datei behandelt (wie USER.md), Template bleibt in Git

Phase 2 -- SQ044: Lazy Auto-Sync bei Startup

  • Ordner-mtime-Check: Prueft skills/ und tools/ rekursiv auf Aenderungen
  • Lazy Sync: Nur geaenderte Ordner werden synchronisiert (~100ms statt ~3s)
  • Konflikt-Regel: Dateisystem autoritativ fuer Editing, DB fuer Suche/Distribution
  • sync_state.json: Persistenter State fuer mtime-Vergleich
  • Agent-Configs: 3 Agents aus Manifesten in DB registriert

Phase 2 -- SQ016: Schwarm-Benchmarks

  • Sequential vs. Parallel: 2.54x Speedup, 85% Effizienz mit 3 Haiku-Workern
  • 20 Tasks in 4 Kategorien (Software-Dev, Research, Wiki, Code-Review)
  • Zeitersparnis: 61% (514s statt 1306s)
  • Schwarm-Infrastruktur: Testbereich BACH_Dev/schwarm/ mit allen gesammelten Tools

Phase 3 -- Uebersetzung

  • 12 neue DE/EN-Uebersetzungen (2206 total)

Setup-Verbesserungen

  • _init_from_templates(): Erstellt fehlende .md aus Templates beim ersten Start
  • _cleanup_templates(): Entfernt Templates nach Personalisierung
  • Flow: git clone -> Templates vorhanden -> bach setup user -> persoenliche Dateien

Bugfixes

  • memory_sync.py: Lessons aus shared_memory bevorzugt, Idempotenz-Fix

BACH SPAGHETTI v3.6.0

04 Mar 21:00

Choose a tag to compare

BACH SPAGHETTI v3.6.0 (2026-03-04)

Qualitaetssicherung

  • Help-Expert-Review: 192+ Help-Dateien validiert, 6 Strukturfixes, 64 neue Help-Dateien per Haiku-Schwarm generiert
  • Root-Docs-Review: Zwei-Experten-Pipeline (Leser + Fixer), 31 Issues gefunden, 25 korrigiert, 10 Dateien angepasst
  • docs/README.md: Zentrale Doku-Referenz erstellt (~110 Handler + ~80 Tools)
  • exports.txt: Neue Help-Datei fuer DB-Export-Scripts
  • FEATURES.md Rewrite: Komplett neu geschrieben (v2.1.0 → v3.6.0), korrekte Zahlen (138 Tabellen, 109+ Handler, 373+ Tools, 932+ Skills)
  • Kataloge regeneriert: AGENTS.md, CHAINS.md, PARTNERS.md, WORKFLOWS.md, USECASES.md via Export-Scripts

Neu

  • Drei-Ausbaustufen-Dokumentation (E02): USMC → Rinnsal → BACH als aufeinander aufbauende Stufen
    • README.md: Neue Sektion "Ausbaustufen" mit Tabelle und Links
    • SKILL.md: Verweis auf Ausbaustufen in der Architektur-Sektion
    • Landingpage (index.html): Drei-Stufen-Badge-Cards mit GitHub-Links
  • version_bump.py: Automatisches Version-Bump-Tool fuer Releases (10 Ersetzungen in 6 Dateien)
  • Englisch-Uebersetzung (E03, 1. Durchlauf): German Scanner auf Hub-Layer ausgefuehrt, 300+ deutsche Strings identifiziert

Dokumentation

  • NEXT_RELEASE.md: Marketing-Sektion nach THE_RELEASE_AFTER.md verschoben
  • Version Bump: Alle Root-Dokumente auf v3.6.0-spaghetti aktualisiert (README, QUICKSTART, SKILL, BACH_USER_MANUAL, ARCHITECTURE, features.txt)

BACH MILK v3.5.0

04 Mar 21:00

Choose a tag to compare

BACH MILK v3.5.0 (2026-03-04)

Neu

  • Wiki-in-Database mit FTS5 (SQ044): 263 Wiki-Artikel als BLOBs in bach.db mit FTS5-Volltext-Suche
    • bach_blobs Tabelle mit Checksummen, Kategorien, Metadaten
    • bach_blobs_fts Virtual Table fuer schnelle Volltextsuche mit Snippets
    • bach_blob_history fuer Aenderungsverfolgung
    • Wiki-Handler nutzt FTS5 fuer Suche, DB-Lookup fuer Artikel-Anzeige, Dateisystem als Fallback
  • Therapie-Skills (B30/SQ046): 3 neue Skills + 8 Wiki-Artikel + Ethik-Policy
    • Skills: PMR/Autogenes Training, Psychoedukation, Positive Psychologie
    • Wiki: Verhaltenstherapie, Tiefenpsychologie, Analytische Psychotherapie, Systemische Therapie, EMDR, Schematherapie, DBT, ACT
    • ETHICS.md: Grenzen digitaler Therapie-Unterstuetzung, Verbotsliste, Notfall-Verweis
  • Schwarm-LLM Parallele Worker (SQ016): Echte parallele Ausfuehrung in llmauto
    • ClaudeRunner.run_parallel(): ThreadPoolExecutor-basierte Multi-Prompt-Ausfuehrung
    • run_parallel_workers(): Parallele Worker in Chain-Ketten (aktiviert via parallel_workers: true)
    • Benchmark-Script: 20 Tasks in 4 Kategorien, Vergleich sequentiell vs. parallel

Schema

  • Migration 032: bach_blobs + bach_blobs_fts + bach_blob_history Tabellen
  • Gesamt: 138 Tabellen

Fixes

  • email_sender.py: Robusterer Zugriff auf attachment_path in Row-Objekten

BACH PIZZA v3.4.0

02 Mar 22:27

Choose a tag to compare

BACH PIZZA v3.4.0 — Agent Portability, Bridge Server, Injektoren

Erster reiner Visionen & Experimente Release: Alle 14 Prio-4 Items implementiert.

Highlights

  • Agent Portability Framework: Agenten funktionieren jetzt standalone ohne BACH (PortableAgent-Basisklasse)
  • Bridge Server Mode: FastAPI REST-API fuer server-deployable Bridge (POST /api/message, GET /api/status)
  • Plan-Agent: Strukturierte Planungsprotokolle mit JSON-Schema und CLI
  • Reminder-Injektor: LLM-Selbsterinnerung vor jedem Call
  • Meta-Feedback-Injektor: Auto-Korrektur wiederkehrender LLM-Ticks
  • 24h-Agent: Session-Kontext-Persistenz mit 3 Arbeitsmodi (focused/assistant/autonomous)
  • ResearchAgent: Echte PubMed-API-Integration (NCBI E-Utilities)
  • Schwarm-LLM-Haiku: Chain-Configs fuer Haiku-Worker-Schwarm mit Sonnet-Coordinator

Zahlen

  • 33 Dateien geaendert, +3132/-257 Zeilen
  • 13 neue Dateien, 20 modifiziert
  • 135 DB-Tabellen (3 neue: reminders, meta_feedback_patterns, session_context)
  • Tests: 248/249 passed (99.6%), 109/109 Handler OK, 20/20 Feature-Tests

Installation

git clone https://github.com/lukisch/bach.git
cd bach
pip install -r requirements.txt
python system/setup.py

MCP-Server

python system/bach.py setup mcp
# Oder: npm install -g bach-codecommander-mcp bach-filecommander-mcp

Vollstaendiges Changelog: CHANGELOG.md