Skip to content

v3.14.0 — Advanced RAG + Swarm Guardian + Config Wizard

Choose a tag to compare

@github-actions github-actions released this 13 Apr 21:33
· 1958 commits to main since this release

What's New

Advanced RAG (6 pluggable retrieval strategies)

Strategy Config field Description
Parent-child chunking parent_child_enabled Small chunks for precision, full parents for context
Adaptive retrieval adaptive_retrieval_enabled Skip KB for creative/conversational queries
HyDE hyde_enabled LLM pseudo-answer → embed for retrieval
Query decomposition query_decomposition_enabled Split compound queries, retrieve each, merge via RRF
Contextual compression contextual_compression_enabled Keep only query-relevant sentences
Multi-vector multi_vector_enabled Index content + summary + title per doc

Multi-Agent Swarm Guardian

  • SwarmGuardian: central registry, cross-agent contradiction detection, cascade halt
  • AgentProfile: per-agent thresholds (6 role presets)
  • HandoffScorer: inter-agent message verification with history + stats
  • SwarmMetrics: per-agent hallucination rate, quarantine events
  • 4 framework adapters: LangGraph, CrewAI, OpenAI Swarm, AutoGen (zero framework deps)

Config & Reporting

  • Config Wizard: director-ai wizard — Gradio web UI + CLI fallback
  • CostAnalyser: per-model/per-agent token cost estimation (CHF)
  • Report Templates: compliance, cost, swarm health (HTML + Markdown)
  • KB Health Check: coverage gaps, latency, diagnostics

Operational Modes

  • dry_run: true — log scores but never reject (false-positive monitoring)
  • production_mode: true — enforce API keys, TLS warnings

Security & Documentation

  • Residual risk documentation (SECURITY.md): 5 attack vectors with mitigations
  • Production deployment checklist (15-min to prod)
  • Custom Rust scorer example
  • HMAC-SHA512 audit key hashing

Stats

  • 20 new modules, 386 new tests, ~4000 new prod lines
  • 13 new config fields, 3 new pip extras ([ui], [reports], [autogen])

Full changelog: https://github.com/anulum/director-ai/blob/main/CHANGELOG.md#3140--2026-04-14