Repository navigation
Releases
6.7.1
EDDI 6.7.1 is a security and fix release on 6.7.0. It closes Java4Shell (CVE-2026-114938) in every image EDDI ships, fixes a chat-input expression injection and three more security issues found in the pre-release reviews, makes the Platform Operator activatable again, and refreshes the model catalog.
- 🔒 Java4Shell fixed. All three base images run a patched JDK, and the interim
-XX:-UseBASE64Intrinsicsflag stays on as a second line of defence. - 🛡️ Four security fixes in EDDI itself. A chat word can no longer inject an expression that fires another rule, resources without an owner no longer make every editor their owner, mail and web ingestion are bounded against hostile HTML, and CSS-hidden text stays hidden inside
@media/@layer/@supports. - 🤖 Platform Operator works again. Activation and upgrade no longer fail with
System prompt is too long (HTTP 400), and the operator's prompt renders on every turn. - 🧠 Model catalog. Claude Fable 5.2, GPT-6.2, Gemini 4 and Kimi K3.1 in the pickers, with their parameter rules.
- 🐛 6.7.0 fixes. Web crawls, import, managed conversations, the
/v1API, MCP version reads and compatibility warnings.
Every change was reviewed and merged on main first and cherry-picked onto 6.7.0, or fixed on the release branch after review; nothing else from main is included. Upgrading is recommended for every 6.7.0 deployment, and for anything older because of Java4Shell. Please read the Behaviour Changes before upgrading.
🔒 Security
Java4Shell (CVE-2026-114938)
- Fixed in the shipped images. The EDDI image (
ubi10/openjdk-25-runtime:1.24) and the demo image (eclipse-temurin:25-jre) run OpenJDK 25.0.5.1. The bundled Keycloak moves to 26.8.2 on OpenJDK 21.0.13.1, pinned by digest in the composeauthoverlay, Helm, the kustomizeauthoverlay and the Manager's Keycloak compose files. - The interim mitigation stays. The EDDI and demo images, and the bundled Keycloak in the compose
authoverlay, Helm and the kustomizeauthoverlay, still start with-XX:-UseBASE64Intrinsics, for deployments that override an image or still hold an earlier pull of a rebuilt tag. If you setJDK_JAVA_OPTIONSyourself, add the flag to your value. If you cannot upgrade from 6.7.0 or earlier yet, add the flag by hand. See Security → Java4Shell.
Fixed in this release
- Expression injection through chat input. Input the parser does not recognise is stored as
unknown(...). In 6.7.0 a single chat word such as),confirm(yes),xparsed into a top-levelconfirm(yes)and fired the rule listening for it, and a lone*became the wildcardunknown(*), which matches everyunknown(x)rule. The characters(,),,and*are now removed from unknown words. - Workspaces: resources that predate ownership. With workspaces on and
legacy-visibility=shared, a resource with no owner made every caller its owner, so any editor could delete it, publish it to anonymous callers or move it into their own space. Callers now get at most edit access to such a resource; delete, share, visibility and move are admin-only until an owner is assigned. Workspace settings are now loaded once and revalidated in the background instead of being read on every access check. - Mail and web ingestion. Markdown prefixes for nested quotes and lists are capped at eight levels, so one deeply quoted mail can no longer allocate hundreds of megabytes in the HTML converter. Hiding rules inside
@media screen/all,@layerand@supportsnow hide text from the model, as top-level rules already did.
⚠️ Behaviour Changes & Upgrade Notes
A working 6.7.0 deployment can notice these. The full list is in Upgrading → Behaviour changes in 6.7.1.
- API tools generated from an OpenAPI spec. A non-required query parameter becomes an optional tool argument, and an empty one is left off the request instead of being sent as
?name=. An operation whose tool name would repeat another's gets a unique name. Those tool names change, along with their<name>_responsememory keys; update templates and tool whitelists that name them after re-syncing. EDDI's own spec now names two operations it left unnamed:listGroupLessonsandlistGroupOutcomes. unknown(...)expressions no longer contain(,),,or*. A message that is only one of those characters becomes a bareunknown, which a catch-allunknown(*)rule does not match.- Workspaces. Delete, share, visibility and move on resources without an owner are admin-only until an owner is set with
PUT /descriptorstore/descriptors/{id}/shares/owner. - Ingestion. HTML nested deeper than eight quote or list levels keeps its text but loses the markers past the eighth level. More than 1,000 documents reachable only through overlong links leave a crawl's discovery incomplete, so that run deletes nothing.
- Import and sync. A merge update the store refuses now fails the import and rolls it back instead of storing a duplicate; a refused prompt snippet is skipped and the import continues. A
sourceAgentIdmust be a hex id or a UUID, otherwise the request is refused with400. chat_managed(MCP) picks a random deployment of the intent's trigger, as the REST endpoint already did.- Helm chart 2.14.2:
keycloak.image.digestis new and wins over the tag. If you overridekeycloak.image.tag, also set the matching digest, or clear it with--set keycloak.image.digest="". - Operator revision 62. The Manager reports that existing operators should be upgraded; upgrading now works.
- Cost tracking prices
claude-fable-5-2at $8 / $40 per million input / output tokens instead of the $10 / $50 fallback.
🐛 Bug Fixes
- 🤖 Platform Operator activation works again. The
setup-apisystem-prompt cap is now 250,000 characters (it was 100,000, below the operator's own prompt). The operator prompt also renders correctly; 6.7.0 logged a template error on every operator turn. A new CI job activates the operator against the image built in CI on every code change. - 🕸️ Web crawls keep what they could not reach. A document a source already holds, but that a crawl reached only through a link over 8,192 characters, is reported as content unknown and kept, instead of being deleted as missing. Crawled links with raw spaces and other characters that need encoding are encoded and fetched.
- 💬 Chat messages with stray parentheses no longer fail the turn.
⚠️ No false "template does not parse" warning for a prompt that mentions a vault reference.- 📥 Import: a refused merge update fails the import instead of quietly creating a duplicate.
- 👥 Managed conversations: two concurrent first requests no longer create two conversations for one user.
- 🔌 OpenAI-compatible
/v1API: abandoned streams end their conversation, and the shared key works with OIDC on. - 🧰
setup-api/syncand "latest version" reads over MCP no longer fail with "does not define how its version info is authorized".
🧠 Model Catalog
- Pickers and parameter rules for Claude Fable 5.2, GPT-6.2, Gemini 4 and Kimi K3.1 (including
kimi-k3.1-proandkimi-k3.1-pro-highspeed), plus Qwenqwen4-maxand MiniMaxMiniMax-M3.1-Flash(replacing the preview id). OpenRouter suggestsclaude-fable-5.2,gpt-6.2-solandgemini-4-neon. - Gemini
thinkingLevelacceptsxhighon Gemini 4 Neon and Hydrogen, streaming and non-streaming. gemini-2.5-pro,gemini-2.5-flash,mistral-large-2512andmistral-medium-3-5are no longer suggested; agents that name them keep running.- Reference prices for
claude-fable-5-2and the Claude Mythos ids. GPT-6.2 and Gemini 4 have no reference price yet. Under the defaultunpricedPolicy: ALLOWtheir calls count as $0, so budgets and cost caps do not see them; add a price under Model Prices, or useREFUSE_WHEN_BUDGETEDorREFUSE.
⚠️ Known issue: GHSA-ccrj-gw8r-854m (OpenTelemetry)
Unchanged from 6.7.0: EDDI ships opentelemetry-api 1.62.0, managed by Quarkus 3.40.1.1, which is affected by GHSA-ccrj-gw8r-854m (medium). Mitigation: drop or truncate the tracestate header at your reverse proxy or ingress.
📦 Versions
- Docker:
labsai/eddi:6.7.1 - Helm chart 2.14.2 (
appVersion6.7.1) - Base images:
ubi10/openjdk-25-runtime:1.24andeclipse-temurin:25-jreon the Java4Shell-fixed JDK; Keycloak 26.8.2 (was 26.8.0)
📋 Full Changelog
6.7.0...6.7.1. Backported PRs: #1293, #1289, #1327, #1332, #1355, #1369, #1391, #1314, #1379, #1424, #1425, #1485, #1494, #1505, #1322 and #1339, collected in #1500 and #1518. See docs/changelog.d/2026-11-21-release-6-7-1.md for per-change detail and the fixes made during the pre-release reviews.
🐳 Docker Image
docker pull labsai/eddi:6.7.1cosign verify \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
--certificate-identity-regexp '^https://github\.com/labsai/EDDI/\.github/workflows/ci\.yml@refs/(heads/main|tags/[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?)$' \
labsai/eddi:6.7.1EDDI is distributed exclusively as a Docker image. There are no binary downloads.
6.7.0
EDDI 6.7.0 is about teams of agents that work like teams, humans who stay in control of them, and knowing what it all costs.
- 👥 Group collaboration. Standing teams get budgets, file work into each other's backlogs with a native cross-team handoff, track bets and outcomes, and share lessons across teams. People can break tied votes and execute task-force tasks.
- 🙋 Human-in-the-loop, grown up. Approvers can edit an answer while approving it, see the draft and its sources on the approval card, and get approval analytics with sampled audit and a safe path to earned autonomy. Tool calls are screened by tool-call guardrails before and after the gate.
- 💰 Cost you can trust. Provider usage is normalised the way each provider bills it, every call site is priced through one resolver backed by a managed model-price catalog, and new caps arrive:
toolQuotas, per-run quotas and an opt-in hard tenant ceiling. - ✉️ New channels and feedback. An email channel (IMAP trigger mode and threaded conversation mode, with DKIM/DMARC checks), conversation ratings, and alert rules for bad ratings, failed turns and output matches.
- 🧠 Better answers from the same model.
judgeandexpressionguardrails, structured answers through a terminal reply tool, near-miss JSON rescued without a second call, lazy loading for HTTP, MCP and A2A tools, and self-continuing long jobs. - 🏷️ White-label. Run every EDDI surface under your own name, logo and colours.
- 🛰️ A hardened cluster. NATS host-name verification, a signed control plane, fencing, fail-loud readiness, and a multi-process E2E suite that proves it.
- 🔒 Hardening. A review sweep across secrets, SSRF, GDPR, ingestion, backup, HITL and the UIs. Many fixes apply to code that shipped in 6.6.0 or earlier, so upgrading is recommended regardless of the new features.
6.7 is mostly hardening and opt-in features: stored agent, group and workflow configs keep working unchanged. Please read the Breaking Changes before upgrading.
🚀 What's New
👥 Group Collaboration
- 💶 Team budgets.
teamBudgeton a group meters every root discussion's spend to the team. New work is refused with409once the team (or tenant) is spent, and scheduled cadence fires are skipped. Admins can set this month's cap and transfer budget between teams (REST, Manager); templates can readcontext.teamBudget. - 🔀 Native cross-team handoff. A team or a standalone agent can file a task into another team's backlog under two-sided consent enforced in code: the source lists the target (
teamHandoff.targets/handoffConfig.targets), the target lists the source (handoffConfig.accept.from). - 🎯 Team learning loop. Backlog tasks can carry a bet (
hypothesis,metric,target,reviewDate) with a due-review list, and outcome events record what actually happened against a task or an approval decision. RETRO quotes recent outcomes. - 📚 Team lessons.
lessonConfigshares retro lessons across teams (again two-sided:shareWith+readFrom), and a scheduled, cost-capped consolidation job merges duplicates and retires lessons a later outcome contradicted. - ⚖️ Humans in the loop of a team.
tiePolicy: HUMAN_DECIDESlets a person break a tied vote, and a HUMAN member can be a task-force executor. - 🧑⚖️ Model-backed convergence judge.
convergence.judge: SERVICEchecks convergence with one direct model call instead of a member turn. - 🛠️ Agent operations tools (each off unless whitelisted):
read_team_scorecard, budget raise/transfer proposals that apply only after aneddi-adminapproves the call, andschedule_followupso an agent can book its own check-back.
🙋 Human-in-the-Loop
- ✏️ Edit-on-approve. A resume can carry
editedAnswer, areasonCodeand per-calltaskDecisions; group task results and the synthesis can be edited on approval too. The decision audit contract v2 records whether the reviewer changed anything and why. Available in the Manager, Slack, email, REST and MCP. - 🗂️ Approval card context.
hitlConfig.approvalContextrenders short labelled blocks (the draft, its sources, the devil's advocate's objection) onto the card when the pause commits. - 📊 Approval analytics and earned autonomy.
hitlConfig.oversightadds approval statistics per tool pattern, sampled audit of what the gate lets through, and a governed path from "always ask" to "this pattern has earned autonomy". - 💬 A rejection note asks the model to revise instead of ending the attempt; humans and groups can produce verdicts that rework within a run.
- 📧 Email notifications when a conversation pauses for approval.
🚧 Guardrails & Answer Quality
- 🛡️ Tool-call guardrails.
toolCallGuardrailsscreen tool-call arguments before the approval gate, and re-screen approved and amended calls before they execute. A newdisclosureguardrail type is included, and an agent may not write its owntoolCallGuardrails. - 🧑🏫
judgeguardrail. A model grades the answer against issue codes you declare, andreprompttells it what to fix.onExhausted: deliver-bestdelivers the best attempt with a warning instead of blocking. - 🧮
expressionguardrail. A sandboxed, deterministic check over a JSON answer (sum(lines[*].amount) == total) with an author-written fix hint. - 📤
answerMode: "tool". Structured answers through a terminalreplytool whose parameters are theresponseSchema, so tool-using agents on Gemini, Anthropic and Bedrock get enforced JSON too. - 🩹 Near-miss JSON rescued locally.
onInvalidJson: "wrap"and relatedresponseValidationfields repair plain-text, double-escaped, misnamed and empty replies without a second model call. - 📐 Argument schemas for HTTP tools.
argumentSchema(generated from OpenAPI bysetup-api) validates tool arguments before the approval gate; generated parameters are now typed. - 🧑⚖️ The cascade judge sees the request, not just the answer.
💰 Cost & Quotas
- 🧾 Cost accounting. Usage is normalised the way each provider bills it (Anthropic/Bedrock prompt-cache reads and writes, Gemini thinking tokens), every call site is priced at its own model through one
ModelPriceResolver, and a model-price catalog (/administration/model-prices, Manager → Model Prices) replaces the hard-coded table. Unpriced models are visible, and a strict mode can refuse them. - 🎟️
toolQuotas. Per-subject, per-window caps on tool calls counted across conversations and nodes ("100 improvements per user per day"), with shared pools and aRUNwindow for "20 searches per scout per run". - 🧱 Hard tenant ceiling (opt-in).
eddi.tenant.quota.cost-reservation.enabled=truereserves spend before each model phase and priced tool call, so concurrent conversations can no longer all pass on the same remaining budget. - ✅ Every paid attempt is checked against the cost ceiling and the tenant budget, with per-conversation reservations.
✉️ Channels, Feedback & Alerts
- 📬 Email channel.
channelType: "email"in trigger mode polls an IMAP folder and starts an agent turn or group discussion per mail (never replies). Conversation mode replies in the thread over SMTP, only to an authenticated sender, with per-thread rate limits. Inbound mail is checked for DKIM and DMARC alignment; XOAUTH2 is supported. - ⭐ Conversation ratings. Users rate a conversation or single replies in the Chat UI; maintainers list, summarise, export and triage them on the Manager's Feedback page or over MCP.
- 🚨 Alert rules for low ratings, turn errors and output matches, evaluated outside the pipeline with throttling, digests and an inbox (Manager → Alerts).
🔧 Engine, Tools & Integration
- 🔁 Self-continuation. The reserved
CONTINUE_CONVERSATIONaction queues the next turn of the same conversation, so a long job becomes many ordinary turns (maxContinuations,continuationInput). - 🔂
forEachon httpcalls. A call runs once per array element and collects every result, in source order, with bounded concurrency. - 💤 Lazy external tools.
lazySourcesextendstoolLoadingStrategy: LAZYto HTTP, MCP and A2A tools, with groupeddiscover_toolsand optionallazyRetention: conversation. - 📡 Streaming.
POST /agents/{conversationId}/resume/streamstreams a resumed turn,tool_resultevents close each tool call, call identity is stored in the trace,toolDisplaygives plain-language activity lines, and a keep-alive comment holds a silent stream open. - 🧰
setup-api. Per-turn auth from secret context (Bearer ${context:userToken}, sent only to the spec's own origin), a dry run, and re-sync of an agent generated from a newer spec. - 🔔 New-release check, on by default. The backend checks once a day and raises one admin notification per release (see Breaking Changes for the opt-out).
🏷️ White-Label Branding
Admin → Branding sets the product name, logo, favicon and colours with a live preview. The Manager, Chat UI, Platform Operator, Swagger/OpenAPI, A2A cards and the Keycloak theme all follow the brand, delivered same-origin. With no brand set, nothing changes.
🛰️ Cluster
Shared state, events and deployments across nodes, node identity with duplicate detection, a signed control plane (eddi.cluster.signing.key, HMAC-SHA256), fence-first leases that never lower the fence, lost-reply adoption, NATS TLS host-name verification and fail-loud readiness. A new multi-process E2E suite (three EDDI nodes, an R3 NATS cluster, Toxiproxy fault injection: partitions, half-open links, SIGSTOP, leader step-downs, kill -9 mid-turn) runs nightly on MongoDB and PostgreSQL, with soak and scale harnesses.
⚠️ Breaking Changes & Upgrade Notes
Full details: [Upgrading from 6.5 → Cha...
6.6.0
EDDI 6.6.0 is about running EDDI at scale and under failure, and about control over what agents do.
- 📈 Scale and overload. Turns run on virtual threads behind an in-flight limit, EDDI scales out on NATS JetStream, database round trips per turn dropped from 16.7 to about 6.5, and overload is refused early with
503instead of queueing without bound. - 🛟 LLM turns that survive failure. Failures are classified and retried by one owner, bad output is re-asked, a failing model is circuit-broken, and callers get structured errors and
Idempotency-Keyretries. - 🎚️ Every provider parameter. All 19 LLM integrations now read every parameter their API accepts (
topP,seed,stopSequences, reasoning controls and vendor fields). A model-aware catalog warns about settings a model rejects or ignores, and the Manager has a settings panel. A newopenai-compatibletype covers vLLM, llama-server, TGI and LiteLLM. - 📚 RAG you can see and trust. Ingestion shows live progress, run details and schedule status in the Manager, a knowledge-base inspector tests retrieval, and every knowledge base now has an isolated store.
- 🚧 Governance. Input and output guardrails (including a classifier backed by your own safety model), a per-conversation cost ceiling, an enforced tenant monthly budget, and agent test suites ("golden conversations").
- 🔌 Integration. A signed inbound webhook channel (CloudEvents), A2A 1.0, and W3C trace propagation on outbound calls.
- 🔒 Hardening. Fixes for secret handling, authorization gaps, outbound requests and deployment defaults. Many apply to code that shipped in 6.5.0 or earlier, so upgrading is recommended regardless of the new features.
Please read the Breaking Changes before upgrading.
🚀 What's New
📈 Scale & Overload
- 🧵 Virtual-thread turns.
eddi.conversation.max-in-flight-turnsis now derived from the heap by default. Past the limit a turn is refused with503 capacity_exceededandRetry-After, before any database read. One conversation may queue at most 20 turns, and a MongoDB pool wait is capped at 10 s instead of 120 s. - ⏱️ The turn timeout holds under load.
agentTimeoutInSecondscounts from the request's arrival. A caller whose time ran out gets408, and a turn still queued for them is dropped without running (input kept,Idempotency-Keyreleased)./q/metricsis served on its own threads, so graphs no longer go blank during a burst. - 🗄️ Fewer database round trips per turn: 16.7 → about 6.5.
- 🌐 Cluster mode.
eddi.messaging.type=natsis read at runtime from the one image: any number of replicas behind a round-robin load balancer, one database, one NATS cluster. Leases with fencing, dead letters, and one turn per idempotency key across nodes. The Manager gets a cluster console with health, leases, dead letters and safe recovery actions.in-memorystays the default. - 📏 Load-test suite (
scripts/loadtest): throughput, streaming time to first token, cluster scaling, group discussions, and a CI gate on database operations per turn.
🛟 Resilient LLM Turns
- Failure classification: a daily quota is no longer retried like a per-minute limit, the provider's retry delay is honoured, and langchain4j's own retries no longer stack under EDDI's.
- Recovery policies:
responseValidationcan re-ask the same model before escalating (onInvalidJson,onSchemaMismatch,onContextTooLong).responseSchemaandnonBlankFieldscatch valid JSON of the wrong shape. circuitBreaker(opt-in) skips a model that cannot answer at all.- One turn deadline (
turnDeadlineMs,X-EDDI-Turn-Deadline-Ms) across retries, cascade steps and HTTP calls. - Tool repeat guard refuses identical failing tool calls (on by default, see Breaking Changes).
- Structured errors and idempotent turns: a failed turn returns
error.code,retryableandRetry-After; resending with the sameIdempotency-Keyreturns the finished answer instead of409 IN_PROGRESS.
🚧 Governance & Testing
- Guardrails.
inputGuardrailsandoutputGuardrailson an LLM task screen for prompt-injection phrasing, PII, regex, length and JSON shape withblock,warn,redactorreprompt, on every path including streaming and HITL resume. Aclassifierguardrail sends the text to a safety model you configure (Granite Guardian, ShieldGemma, any registered provider or OpenAI-compatible endpoint). Only a positive match ofsafeLabelcounts as safe, andfailModedefaults toclosed. - Cost.
maxCostPerConversationUsdon the agent bounds one conversation, group-member turns included. The tenantmaxMonthlyCostUsdbudget was stored but never metered; settled turns and Dream runs are now charged and the model-call gate trips when it is spent. - Agent test suites. An
AgentTestSuiteconfig holds scripted cases with per-turn expectations (actionsContain,properties,outputContains,toolCalled,maxCostUsd) and tool mocks that fail closed. Runs go against thetestenvironment, are capped by a per-run dollar ceiling (default $1) and never touch long-term user memory. Available over REST, MCP and in the Manager.
🔌 Integration
- Signed webhook channel.
channelType: "webhook"exposesPOST /integrations/webhook/{integrationId}. The HMAC over the raw body is checked fail-closed (eddi-v1,githuborgeneric-hmac). CloudEvents and plain JSON arrive as the context valueevent(data, never a template) and route by event type to an agent or group. - A2A 1.0. Agent Cards and tasks follow the spec (1.0 and 0.3 served from one endpoint). Task states are honest: a failing LLM or a HITL pause is no longer reported as
completed. Tasks survive a restart. - Observability. W3C trace context propagates on outbound calls, and every tool call gets an
execute_toolspan. - Platform Operator. It can look up the running version, edit configs that hold vault references, and explain
503,408and node sizing.
🔄 Promote Without Ending Conversations
A conversation follows newer agent versions only within its compatibility generation, and imports and syncs used to break it. Now:
POST /backup/importand/backup/import/sync[/batch]takecompatible(defaultfalse, so nothing changes unless you ask). Previews show how many open conversations would follow.POST /administration/{environment}/upgradeconversations/{agentId}(MCP:upgrade_conversations) moves already-pinned conversations onto the current version. It defaults to a dry run.
⚠️ Breaking Changes & Upgrade Notes
| Change | Impact |
|---|---|
🔑 Secret creates need allowedHosts |
With eddi.vault.grant-enforcement=enforce (the default), creating a secret without allowedHosts returns 400. ["*"] opts out explicitly. Rotations are unaffected. |
| 🗄️ MongoDB user | EDDI connects as eddi_app instead of root. Compose and Helm create the user on every start, so existing volumes migrate without a manual step. Kustomize users with their own mongodb-secrets need the patch in docs/upgrading-from-6.5.md. |
| 🪪 Keycloak default password | docker-compose.auth.yml refuses to start Keycloak off loopback while the bootstrap password is unset or admin. |
| 🚦 Overload answers | Clients can now receive 503 capacity_exceeded (limit reached, queue full, database pool wait) and 408 (their time ran out) and should honour Retry-After. |
| 📦 Resource defaults | The image uses 75 % of the memory limit as heap, G1, and exits on out-of-memory. Helm and Kustomize request 1 CPU and 3 GiB (production overlay 2 CPU and 4 GiB). Check that your nodes can schedule it. |
| 🔁 Tool repeat guard on by default | Disable per agent with "toolRepeatGuard": {"enabled": false}. |
| 🌐 SSRF switch covers more | With eddi.security.ssrf-protection.enabled=true, LLM, embedding, vector-store and OpenAPI-discovery targets are checked too. Self-hosted model servers on private addresses should use the openai-compatible type or leave the switch off. |
| 🔒 Credentials hidden from editors | Non-admins no longer read plaintext credentials in any config store. Resetting a tenant's vault requires confirm=true. |
| 🧩 Hugging Face | Uses the langchain4j default router when baseUrl is unset. baseUrl is the service root without models/. |
| 🛰️ Cluster | Messaging is chosen by eddi.messaging.type at runtime. Any value other than in-memory or nats fails the boot. |
Take a backup before upgrading.
🔒 Security
- Secrets go only where allowed:
allowedHostsis enforced for LLM, embedding, vector-store, MCP and A2A references and editable in the Manager; no default grant on create; wider redaction of provider key shapes and Digest headers. - Authorization gaps closed in directory listings, workflow references, group
USEchecks,platform.*variables and group attachments. GDPR erasure and export now reach group discussions. - Outbound requests: one facade for SSRF policy, redirects, header stripping and body caps; unreadable hosts are refused; log lines are sanitised.
- Hostile input: the expression parser, dictionary regexes, template string operations and JSON fence stripping are bounded.
- Deployment: CI/CD, Helm, Compose and installer fixes.
SHA256SUMSis signed with cosign and the installers verify it. - MCP: remote tool schemas are checked, redirects refused, tool budgets enforced by default, and
read_audit_trailhidescompiledPromptfrom callers without VIEW on the agent.
🐛 Bug Fixes
- Malformed model JSON no longer fails a turn; fenced or prose-wrapped JSON is recovered.
- A HITL-paused turn is delivered only after the pause is persisted, and approval cards are never approvable before they desc...
6.5.0
EDDI 6.5.0 is a hardening release. It also brings knowledge-base ingestion, a large update to the Manager and Chat UI, workspaces people can share in and eight new LLM providers.
Most of the release came out of a whole-repository security review, an audit of every Manager screen, and live end-to-end runs, including a rehearsed upgrade of a production EDDI 5 database. Many of the fixes apply to code that shipped in 6.4.0 or earlier, so we recommend upgrading for the fixes alone.
Important
Read the Breaking Changes before upgrading. Several defaults now fail closed. Some Keycloak realms, Helm releases with the in-chart MongoDB, and weak vault master keys will stop a deployment from starting or make it answer 401/403 until you act. Full procedure: [docs/upgrading-from-6.4.md](https://claude.ai/epitaxy/docs/upgrading-from-6.4.md). For databases that came from EDDI 5: [docs/upgrading-from-5x.md](https://claude.ai/epitaxy/docs/upgrading-from-5x.md).
🚀 What's New
📚 Knowledge bases fill themselves
Knowledge bases now have sources:
web: a robots-aware crawler with sitemap discovery.upload: PDF, Word, Excel, PowerPoint, text, Markdown, JSON, XML, YAML, CSV and HTML.
Ingestion is incremental: unchanged documents are skipped, changed ones are re-embedded, and removed ones lose their vectors. Cost is bounded per run, and a preview mode shows what a run would do. Sources can run on a cron or on demand, from REST or the Manager. Retrieved context is marked with its source, so a document cannot pose as instructions. The eddi://ai.labs.rag workflow step now deploys; in 6.4.0 it was unregistered, so vector RAG could not be used at all. Guide: docs/rag.md.
👥 Workspaces you can share in
- Share by username or verified email, with autocomplete.
- Notifications, access requests and "Shared with me". A link you can't open offers Request access instead of an error.
- Per-team secrets and variables on a new
/manage/workspacespage. - New visibility
internal: anyone signed in can chat with the agent, but its configuration stays private. - Opt-in conversation review, with a notice shown to users before their first message.
🤖 Eight new LLM providers
Grok (xai), DeepSeek, Kimi (moonshot), Qwen, GLM (zhipu), MiniMax, OpenRouter and Groq. Each has its endpoint, regions and default model built in. Existing openai + baseUrl configurations keep working unchanged.
🔐 MCP clients sign themselves in
/mcp is advertised as an OAuth protected resource (RFC 9728), and the shipped realm now has an eddi-mcp client. MCP clients such as Claude Desktop log in through Keycloak on their own, so nobody has to paste a bearer token any more.
🧩 Also new
- 🔑 Vault:
- Change which agents may use a secret without re-entering its value.
- Mark a context value
secret: it is usable for one turn, then scrubbed. - Recover from a lost master key.
- The audit ledger has its own HMAC key.
- ⏱️ Every tool call is time-bounded. The default is 120 s, configurable per task (
defaultToolTimeoutMs) and per tool (toolTimeoutsMs). A tool that hangs no longer blocks the turn: the model is told the call timed out and can recover. - 📈 LLM telemetry on every provider: duration, tokens and errors, plus an OpenTelemetry GenAI span. Failed turns now report the provider's reason in
taskErrorsinstead of an empty200. - 🔀 Compatible agent versions: save a version with
compatible=trueand running conversations move to it on their next turn. - 🔄 Agent Sync works repeatedly, can create the target agent, keeps the target's secrets and flags local edits as conflicts.
- 💎 Gemini 3.x can call tools.
- 🦙 Jlama runs on the Vector API.
- 🪜 Cascades no longer re-run tools when escalating to the next model.
- 🛠️ The Platform Operator works behind proxies, can diagnose knowledge bases, and upgrades in one click.
🖥️ Manager & Chat UI
The Manager and Chat UI now live in this repository (ui/manager, ui/chat) and are built into the image with Maven. The old repositories are archived.
New in the Manager
- 🗺️ Live Overview for group discussions: phase progress, each member's stance and spend, and running cost.
- 📚 Ingestion in the RAG editor: web and upload sources, drag-and-drop files, run, preview, purge and run history.
- 👥 Workspace tools: notification bell, access requests, space switcher and the Workspaces page.
- 🤖 Grouped provider picker with regions, used everywhere a model is chosen.
- 🔑 Secret grant editor that shows who would lose access before you save.
- 🔄 Sync page: conflict rows and honest outcome messages.
Fixed in the Manager: the important ones
- Secret rotation opened the secret to every agent, and "Add Secret" silently overwrote existing values.
- A stale approval row could approve a different pause. The audit "SIGNED" badge never actually checked the signatures.
- A cascade save could deploy a version without the edit. Some editors wrote empty or wrong values and lost edits.
- Secret input showed in clear, and a reply could land in another conversation. Workforce "Stop" left the discussion running and spending on the server.
- Lists stopped at 50 items, so Sync duplicated agents. Non-admins could not start group discussions.
- Several screens showed the wrong state: "live" after a plain Save, "Offline" for non-admins, "no dead letters" when the read had failed. The log stream could hang the whole Manager.
- Model suggestions offered ids that vendors had retired or renamed. The agent then deployed and failed on its first message. Every suggested id was checked against vendor documentation, and the list now includes Claude 5.5 and GPT-6.1 Sol.
Chat UI
- 🧩 Embeddable in an iframe on origins you allow (
eddi.chat.frame-ancestors), with apostMessagetoken hand-off that keeps the token out of the URL. - 🔧 Shows "Using {tool}…" while a tool runs.
- ✍️ Streaming fixes: no stray spaces, working password fields, and secrets that stay masked. Math and code highlighting now render.
- 🌍
/chat/{environment}/…reaches the deployment it names; before, every chat went to production.
⚠️ Breaking Changes
Warning
Back up, then stop all 6.4 instances before starting 6.5. Rolling upgrades and rollbacks to 6.4 are not supported.
Can take a working 6.4 deployment down:
| Change | What to do |
|---|---|
| 🪪 Tokens without a user name get 401. Realms imported from EDDI 6.1.0–6.4.0 issue such tokens | Repair the realm before upgrading: re-run install.sh, or use the script in docs/security.md |
🎯 Token audience eddi-backend is enforced |
Add an audience mapper to your clients, or set QUARKUS_OIDC_TOKEN_AUDIENCE=any |
🧑⚖️ Roles are read from realm_access/roles |
If your IdP puts EDDI roles in another claim, set QUARKUS_OIDC_ROLES_ROLE_CLAIM_PATH |
| ⎈ Helm: in-chart MongoDB requires authentication | Create the root user, then upgrade with mongodb.rootPassword and mongodb.authMigrated=true |
| 🔑 A weak vault master key stops startup | Boot once with EDDI_VAULT_ALLOW_WEAK_MASTER_KEY=true, run rotate-kek, then remove the flag |
| 🔗 Credential references resolve only where the configuration wrote them | Put ${vault:…} and similar references directly into the HTTP call's template |
💬 Slack users become slack:<team>:<user>, and /v1 header users become openwebui:<id> |
Set platformConfig.teamId. Decide pending Slack approvals before upgrading. See the guide for Open WebUI |
| 🧩 Runtime templates use a restricted engine. Fetched data is no longer rendered | Test your templates with POST /administration/preview/template |
🐳 Compose publishes on 127.0.0.1 |
Set the bind address in .env for remote access |
Also changed:
- Reserved context keys (
groupId, …) sent by clients are dropped. - Stricter roles on
/conversations/active,/conversations/endand/parser, and schedules are owner-scoped. - User-memory writes are validated.
scope: "secret"now fails the turn when no vault is configured.- Outbound HTTP:
- Calls no longer share cookies.
- Credentialed requests don't follow redirects.
- More address ranges are blocked.
- Only listed tools are cached for HTTP, MCP and A2A calls.
- Tool calls time out after 120 s by default. Set
0or-1for tools that legitimately run longer. maximumLifeTimeOfIdleConversationsInDaysbelow 1 now disables idle-ending. Before, a value of-1ended every conversation.- Conversation listings page exactly.
indexnow counts pages of results, andindex × limitabove 10,000 returns400. - ZIP imports are size-limited.
- Export links created before the upgrade no longer work.
- Audit signatures use a new format.
- Helm chart 2.3.0: pin
eddi.image.tag.
Some duplicate user-memory and deployment rows are merged or removed automatically at startup. The [upgrade guide](docs/upgrading-from-6.4.md) lists every change, including what to check if the database came from EDDI 5.
🔒 Security
Fixed after a whole-repository review. Most of these affect 6.4.0 and earlier.
- Authorization:
- Soft-deleted conversations, groups, other users' schedules and triggers, export downloads, dynamic-agent teardown and managed-agent endpoints were reachable without the right ownership or role.
- Tokens issued to any client of the realm were accepted.
- Secrets:
- Auto-vaulted secrets shared one slot per agent, so one user could ...
6.4.0
EDDI 6.4.0 makes EDDI multi-user and gives agents a governed way to reach external systems.
Per-user workspaces introduce ownership, spaces and sharing for every configuration resource. Connections provide a single credential model for outbound calls, covering organisation-wide keys, service-account OAuth, each user's own OAuth account, and credentials supplied by the calling system. Both are backed by an outbound hardening pass: tool results carry provenance and a directive guardrail, credentials are kept out of URLs and console logs, and /mcp and /secretstore require an explicit opt-in to run unauthenticated in production. The release also adds Slack Observe Mode, moves to a UBI 10 base image, and publishes to Red Hat's certified catalog.
The rest of the release is a correctness effort driven by a whole-repository code review and a full end-to-end run of 6.4.0 (342 REST operations, all 84 MCP tools, every group style). Many of the resulting fixes apply to code that shipped in 6.3.0 or earlier, including audit ledger verification, agent sync, scheduling on PostgreSQL and configuration deletes, so upgrading is recommended independently of the new features. Please review the Breaking Changes before upgrading.
🚀 What's New
👥 Per-User Workspaces & Resource Sharing
Configuration resources previously had no ownership: any editor could read, change or delete any resource. Every descriptor now carries an owner, a space (user:<principal> or team:<keycloak group>), a visibility (private / space / published) and explicit grants.
| Level | Permits |
|---|---|
USE |
Talking to an agent |
VIEW |
Reading its configuration (prompts, tools, vault references) |
EDIT |
Changing it, without deleting or re-sharing |
OWN |
Everything, including delete and share |
Disabled by default (eddi.workspaces.enabled=false) and designed for a gradual rollout:
- 📝 Ownership is recorded whenever authentication is on, so attribution can be verified before enforcement is enabled.
- 🗂️ Nothing disappears on upgrade. Existing descriptors are backfilled, and
eddi.workspaces.legacy-visibility=sharedkeeps them visible to everyone. - 🕸️ Sharing an agent covers its workflows and extensions, skipping and naming any resource the sharer does not own.
- 🪪 Listings carry the caller's
callerLevel,?space=filters server-side, andGET /workspacesreports the caller's spaces and whether enforcement is active. - 🔑 Administrators can transfer ownership of resources whose owner has left.
The USE check applies to every path that reaches an agent: REST, MCP conversation tools, schedules, triggers, channel targets, group membership, and the OpenAI-compatible /v1 API (published agents only under enforcement). The shipped Keycloak realm adds a groups mapper and defines the eddi-approver role. Built-in sub-agent tools remain governed by tool approval rather than workspaces. Guide: docs/workspaces.md.
🔌 Connections
A new ConnectionConfiguration resource describes how to authenticate to one external system. HTTP calls, MCP servers and A2A peers reference it as ${connection:name}, and it resolves per request. The feature is off until enabled.
| Shape | Credential source |
|---|---|
STATIC / BASIC, binding SERVICE |
An organisation-wide key built from vault references |
OAUTH2_CLIENT_CREDENTIALS, binding SERVICE |
A service-account grant that EDDI obtains and refreshes |
OAUTH2_AUTHORIZATION_CODE, binding PER_USER |
Each user's own linked account |
STATIC, binding CALLER_SUPPLIED |
The calling system, per request, via X-EDDI-Connection-Credential. Never stored, so the agent can do no more than its user |
- 🔐 Secrets are always references. Client secrets, passwords and template segments must be
${vault:…}or${vars:…}; literals are refused at write time. - 🧱 Two separate allowlists. A connection decides where its access token may be sent; the deployment decides where client secrets may be sent. Token endpoints must use https and must not redirect.
- 🔁 Safe token refresh across replicas, using an atomic lease so rotating refresh tokens are never redeemed twice. Transient provider errors do not invalidate a grant.
- 🍪 Hardened OAuth flow with persisted state, mandatory PKCE, a browser-bound nonce cookie, and binding to the connection's id.
- 🪪
PER_USERrequires a verified identity and never falls back to a service grant. On a HITL resume, the credential follows the conversation owner, not the approver. - ⚙️ Runtime settings via
PUT /connectionstore/settings(eddi-admin), with properties able to pin values. Agent exports include referenced connections (never grants).
Guide: docs/connections.md.
🛡️ Outbound Hardening
- 🏷️ Tool results carry provenance. Results from all seven tool sources are wrapped in an envelope that marks them as data rather than instructions.
- 🧹 Configurable tool-result guardrail (
toolResultGuardrails) that marks, redacts, warns on or blocks directive-shaped text, per source and with tool exemptions. The default is marking plus redaction. - 🤝 A2A Agent Card descriptions are governed like MCP tool descriptions, and MCP and A2A calls now show approvers their target and a request fingerprint.
- ♻️ Rotated secrets are evicted from the MCP client and channel caches immediately.
- 🧰 Stdio-only MCP servers can be reached through a sidecar bridge (
docker-compose.mcp-sidecar.yml,docs/mcp-client.md).
👀 Slack Observe Mode
observeMode is now implemented. An observer agent watches channel messages that do not mention the bot and replies in a thread when all four checks pass:
| Check | Rule |
|---|---|
| Trigger | A keyword, or a file of a listed MIME type (neither configured: all messages) |
| Cooldown | cooldownSeconds since the observer's last reply in the channel |
| Daily count | maxDailyResponses per UTC day |
| Daily cost | maxCostPerDay per UTC day |
Observers support AGENT targets only. Decisions are counted in eddi_channel_observe_decisions_total{reason}. See docs/slack-integration.md.
🐧 UBI 10 & Red Hat Certified Catalog
- The production image now uses
ubi10/openjdk-25-runtime. It scans clean at every severity (UBI 9: 10 HIGH, 223 MEDIUM/LOW), is ~19 MB smaller, and ships the same JDK build. See Breaking Changes for the two platform constraints. - Stable releases are also published to Red Hat's certified catalog (
registry.connect.redhat.com) as a retag of the released image, with the same digest.
📊 Observability & Developer Experience
- 📈 Full Metrics Reference dashboard in Grafana with a panel for every registered meter, enforced by a coverage test. Two existing panels that could never display data are fixed.
- 🧾
docs/configuration-reference.mddocuments everyeddi.*property, 61 of which were previously undocumented. - 🚶 The developer quickstart is rewritten and verified end to end, and every documentation page was checked against the source.
- 🦙
docker-compose.ollama.ymlruns Ollama 0.34.0 alongside EDDI with the base URL pre-filled. Ollama also gainsthinkandreturnThinking. - 🗺️ Clearer API errors. Malformed configuration bodies report the failing JSON path, validation messages reach the client, and missing conversations or agents return 404 instead of 500 or 202.
⚠️ Breaking Changes & Upgrade Notes
| Change | Impact |
|---|---|
🚪 Unauthenticated /mcp and /secretstore require an opt-in |
A production boot with authorization.enabled=false now fails unless EDDI_MCP_ALLOW_UNAUTHENTICATED=true and EDDI_SECRETSTORE_ALLOW_UNAUTHENTICATED=true are set. The shipped compose files, Kubernetes manifests and Helm chart set them. Dev and test profiles are exempt. |
| 🖥️ UBI 10 platform requirements | The host CPU must support x86-64-v3 (Intel Haswell / AMD Excavator or newer). Static-RSA TLS 1.2 cipher suites are disabled, so endpoints that offer only non-forward-secret suites can no longer be reached. Red Hat does not support UBI 10 images on RHEL 8 hosts. |
| 🔑 Discovery endpoints moved to POST | discover-tools takes the key in an X-Mcp-Authorization header. discover-endpoints takes authHeaderRef, which must be a ${vault:…}, ${vars:…} or ${caller:…} reference. The GET forms remain for public specs and return 400 if a credential parameter is present. |
| 📈 Metric renames | eddi.tool.costs.total is now eddi.tool.costs.accrued. Its name collided with the eddi.tool.costs counter, which caused priced tool calls to fail in production. The dream.* and summarization.* meters gained the eddi. prefix. eddi.tenant.quota.denied is now exposed only with tenant and type labels. |
| 🏷️ Tool results are wrapped and screened | Results arrive in a provenance envelope, and directive-shaped text inside them is redacted by default. Adjust per LLM task with toolResultGuardrails. |
| ☸️ Kubernetes & Helm | k8s/base/eddi-secret.yaml is now an example that is not applied; create the secret with k8s/create-secrets.sh. The Keycloak component reads its admin password from an operator-created keycloak-admin Secret with no default. Helm chart 2.0.0 removes the unused manager, monitoring and namespace values. |
🐳 docker-compose.postgres.yml removed |
Use docker-compose.postgres-only.yml. |
📜 Rule groups serialize as behaviorRules |
Reads previously returned rules. Both names are accepted on write. |
| 📤 GDPR partial results | Export returns 207 (previously 206) with complete and omittedCategories. Erasure returns 207 with per-step outcomes when a step fails. |
| 🌍 Stricter request validation | An unknown environment returns 400 inst... |
6.3.0
EDDI 6.3.0 turns group conversations from a debate feature into a collaboration platform, and introduces the Platform Operator, a meta-agent that reads and operates the deployment with every write behind a human approval gate, superseding the Agent Father.
Groups gain the machinery a real team needs: explicit voting with quorum and weights, shared artifacts, bid-based task assignment, standing teams with backlogs and cron cadences, a facilitator with bounded moves, humans as first-class members, a NEGOTIATION style, and retro phases that harvest team-owned memory. Five preset templates ship so none of it has to be hand-wired.
EDDI also gains an OpenAI-compatible /v1 API, presenting deployed agents as OpenAI models to Open WebUI, the openai SDK, LangChain and LiteLLM. Alongside that: most tool-enabled turns now stream token-by-token, the tool orchestrator is decomposed behind a ToolSourceProvider SPI, and vault allowedAgents moves from advisory to enforced. Four security fixes apply to code that shipped in 6.2.0, so existing deployments are affected regardless of whether they adopt anything new in this release.
🚀 What's New
🧙 Platform Operator, and the end of the Agent Father
The Platform Operator (/manage/operator) is a meta-agent that reads and operates the deployment through EDDI's own API, including creating other agents, with every write behind a human approval gate. The form-based agent wizard (/manage/agents/wizard) covers the same ground without a conversation. Both call AgentSetupService.
- 🔍 Deterministic gate verification.
POST /administration/operator/gate-dry-runanswers "would this tool call be gated?" without executing anything, so a policy can be proven before it is trusted. - 🔁 Caller-set tool-iteration budget on the setup API, so a long provisioning conversation is not cut off mid-way by a fixed round limit.
- 🧾 Operator metrics and audit surfaces, so operator activity is observable and reconstructable after the fact.
The Agent Father is retired, along with POST /backup/import/initialAgents and the bundled starter ZIP. See Breaking Changes.
👥 Group Collaboration: Deliberation and Work Products
The largest body of work in this release. Groups move from "agents take turns talking" to a team that can decide, produce, and persist.
| Capability | What it does |
|---|---|
| 🗳️ Voting | VOTE phases collect explicit ballots (majority or approval, weighted, quorum-gated) and record a DecisionRecord with the full tally, raw ballots, and the losing side's dissents |
| 📄 Shared artifacts | Content-addressed blackboard with declarative validators; members read and revise a shared work product instead of restating it |
| 🏷️ Bid-based assignment | CNP-lite: members bid for tasks rather than being assigned round-robin |
| 🏭 Standing teams | Persistent teams with a backlog, cron cadences, and metrics |
| 🧠 Retro phases | RETRO harvests team-owned group memory that survives the discussion |
| 🎛️ Facilitator | Bounded moves (CONTINUE, END_PHASE, EXTEND_PHASE, CALL_VOTE, ESCALATE_HUMAN) with a checkpoint cadence |
| 🙋 Humans as members | A HUMAN roster member takes a real turn in the discussion, not just an approval |
| 🤝 NEGOTIATION style | The trade form: offers, concessions, and an arbiter |
| 🧰 Preset templates | Five packaged, validated configs: research pod, editorial team, ops task force, decision board, negotiation table |
Plus: convergence detection with early exit, structured verdicts and deterministic synthesis, abstention and minority reports, runtime recruitment and delegation, an agent-writable shared task list, group cost ceilings with per-child attribution, transcript windowing for rendered member context, a LiveDiscussionRegistry, speaker-level resume points, and graceful-shutdown integration.
🤖 OpenAI-Compatible API: Open WebUI, the openai SDK, LangChain, LiteLLM
A new /v1 surface presents deployed agents as OpenAI "models", so any OpenAI-protocol client can drive EDDI conversations. New integrations/openai/ package, parallel to integrations/slack/. Disabled by default; enable with eddi.openai-compat.enabled=true. Full guide: docs/open-webui-integration.md.
- 🔀 Sync and streaming dispatch on the request body's
streamfield, not onAccept.openai-pythonhardcodesAccept: application/jsonregardless ofstream, and Open WebUI sends noAcceptheader at all, so content negotiation would have routed every streaming request to the JSON path. This matches the OpenAI spec and what vLLM, llama.cpp, LiteLLM and Ollama do. - 🧵 Per-chat conversation isolation keyed on
X-OpenWebUI-Chat-Id, so each chat in the client maps to its own EDDI conversation. - 🎨 Structured outputs survive the protocol. An EDDI turn carries eight output types; the OpenAI protocol carries one string.
OpenAiOutputRenderertakes the extractor's text verbatim, because a reply's wording must not depend on the channel it left through, then appends a Markdown rendering of the rest: quick replies as backticked values, images as, application links as links, buttons as their label, input fields as a described prompt. Without this, an agent whose turn is a question plus five quick replies arrived as a question with no visible answers. - 📊 Token usage reporting, including for streamed responses via
stream_options. - 🔑 Its own auth surface: API-key filter, configurable HTTP policy, optional anonymous access, and a startup guard, all separate from the main REST auth.
- 🧯 HITL-aware, multimodal-aware, with an exception mapper that returns OpenAI-shaped errors.
🪪 Caller Identity: An Agent Can Call an API As the Signed-In User
An HTTP call header may now reference the authenticated caller, so the agent calls the API with that user's credentials rather than a static one:
| Reference | Resolves to |
|---|---|
${caller:token} |
The caller's raw bearer token |
${caller:userId} |
The caller's principal name (not a secret) |
This matters most when an agent calls EDDI's own API, where a static credential expires within the hour, cannot be least-privilege, and attributes every action to one synthetic principal.
Resolution is deliberately narrow and fails loudly rather than degrading quietly. It is same origin only, released to the exact scheme://host:port the caller addressed, read from the inbound request rather than config, so a config naming a third-party host cannot exfiltrate the token. It is headers only for ${caller:token}, which is rejected in a query parameter, body or path. It works on authenticated turns only, so scheduled jobs and triggers cannot satisfy it. And it fails closed, erroring rather than sending an empty Bearer. The token is never persisted, since authorization headers are scrubbed before the request is written to conversation memory. An MCP server's apiKey may also carry it, sending the tool call as the chatting user. Disable with eddi.caller-identity.enabled=false.
🔑 Vault Keys Are Shared, Not Minted Per Agent
Provisioning several agents against one provider key previously left one vault entry per agent (setup.<agent>.<timestamp>.apiKey), so rotating that provider key meant hunting down N unguessably named entries. Agent setup now offers three ways to share one key, including a new REST-only vaultKeyName field that names the entry directly. With vaultKeyName and no apiKey, the entry must already exist, so a second agent needs no plaintext at all.
Pasting an existing ${vault:...} reference into the wizard's API-key field also works reliably now. The reference check was a full-string regex that never trimmed its input, so a reference copied from a UI list carried trailing whitespace, failed the match, and was vaulted as a secret whose value is a reference: a new, useless key on every setup.
🌊 Streaming: Live Output Through Tool Turns
- ⚡ Most tool-enabled turns stream token-by-token (
eddi.llm.tool-loop.streaming.enabled). These turns previously ran on the synchronousChatModel, so output arrived only once the whole tool loop had finished.ToolLoopStreamingChatModeladapts the streaming transport to the synchronous contract, andToolLoopRunneris untouched, so retries, iteration budget, approval gate and pause/resume all keep working. A single-chunk fallback still applies where live streaming is not possible: the kill-switch off, no event sink, output-suppressed tasks, providers with no streaming builder, JSON-formatted final rounds, and the cascade-agent path. When it applies, astreamingDowngradedflag is recorded in the response metadata so the downgrade is observable rather than silent. - 🔧 Live
tool_callSSE event, emitted immediately before each tool executes, so clients can show "Using {tool}…" while the turn is still running. Only the tool name travels; arguments stay in the redacted end-of-turn trace. - 🆔
doneevents carry the pause identity (hitlPausedAt), so a client can tell which pause it is looking at. - 🚦 Known client conditions are typed error events, giving clients something actionable instead of a generic 500.
- 🩹 Leading whitespace is preserved in SSE data lines, correcting spacing in streamed replies.
🔌 MCP Server: 84 Tools
Up from 77. New group-collaboration and HITL discovery tools, plus a documentation bridge so agents can read EDDI's own docs, exposed both as MCP resources and over REST at GET /administration/docs. OpenAPI-generated tools can now read response headers.
Two further REST surfaces arrive with the group work: /groupstore/templates for listing templates and POST /{templateId}/instantiate to create a group from one, and **`/groupsto...
6.2.0
EDDI 6.2.0 is the largest release since 6.0. Its headline is the Human-in-the-Loop (HITL) framework: two independent human-approval gates — turn-level and per-tool-call — with Slack, REST and MCP approval surfaces, crash recovery, timeout policies and full audit trails. Alongside it, multimodal attachments become a complete pipeline, the multi-model cascade gets an enterprise pass, group conversations gain a real lifecycle (follow-up → continue → close), and a broad remediation campaign closes a cross-user tool-cache leak, three audit-ledger integrity bugs, as well as quota, serialization and cost-accounting defects.
The Manager UI ships Workforce — a second, agent-first workspace alongside the admin dashboard — plus HITL approvals, cascade editors, an analytics dashboard and a schedules overhaul.
🚀 What's New
🧑⚖️ Human-in-the-Loop — Two Approval Gates, Four Surfaces
EDDI can now pause an agent mid-flight and wait for a human. Two independent gates share one pause/timeout/audit machinery:
| Gate | Trigger | Pause state | Blocks |
|---|---|---|---|
| Turn-level | PAUSE_CONVERSATION action emitted by a behavior rule |
AWAITING_HUMAN |
The remaining lifecycle pipeline for that turn |
| Tool-call | hitlConfig.toolApprovals pattern match |
hitlPauseType: TOOL_CALL |
The individual tool call, before it executes |
| Group phase | requiresApproval: true on a phase |
AWAITING_APPROVAL |
Phase advance (PHASE) or each task result (TASK) |
- 🔌 Tool-call gating across all 7 tool sources —
builtin,http,mcp,a2a,dynamic,memory,recall. Per-tool-call verdicts, and the approver can amend the arguments before the call runs. - 📓 Write-ahead journal — approved tool executions are journaled before they run, with transcript replay so resume re-enters the LLM loop at the same tool index. MongoDB and PostgreSQL journal stores, TTL retention, GDPR erasure.
- 💬 Slack approval surface — approval buttons with tool-pause detail blocks, an interactivity endpoint bound to the owning integration, and continuation pushed back into the conversation.
- 🤖 MCP HITL tools —
list/status/resume/cancelfor both regular conversations and groups, aneddi.mcp.hitl.mutations.enabledkill-switch, structured error codes, andresume_conversationnamed in thePAUSED_FOR_APPROVALpayload for client chaining. - 📥 Cross-group approval inbox —
GET /groups/pending-approvals, owner-filtered and bounded. - ⏱️ Timeout & no-progress policies —
WAIT/AUTO_APPROVE/AUTO_REJECT/ABORT, scoped per task with an agent-level default, armed as one-shot schedules and honored across pods. - 🔁 Crash recovery — a startup observer repairs paused conversations after an unclean shutdown, asynchronously so it never stalls boot.
- 🛡️ Save-time linting — reserved-action near-misses (
PAUSE_CONVERSATON) and inerthitlConfigblocks are flagged at deploy, not discovered in production.
Full reference: docs/hitl.md.
📎 Multimodal Attachments
- 🧩 One unified forwarder turns attachments into model content. Bytes resolve from a stored blob, a URL or base64 under uniform per-file (10 MB) and aggregate (20 MB) caps across all sources, then gate on the target model's real capabilities.
- 📄 Hybrid PDF — native document content when the model supports it, PDFBox text extraction inlined when it doesn't. Text-like files (
text/*, JSON, XML, CSV, YAML) always inline, no capability required. - 🗄️ Deletion actually deletes — conversation delete and GDPR erasure previously cascaded through a different store than uploads wrote to, so uploaded blobs were never removed.
- 🔑 Grants + owner-or-grant authorization — unguessable UUID storage refs, server-validated metadata reads, single-item download and delete, and cross-conversation grants that let group members read a shared blob without opening general access.
- 🔁 A file stays usable for the whole conversation, not just the turn it arrives on. The document itself is inlined only on the upload turn — re-sending it every turn would burn the context window — but the model keeps a way back to it.
readAttachmentis installed whenever the conversation has files from any turn, and when the current turn carries none the model gets a one-line note naming the earlier files and pointing at the tool. Without that note the tool is present but never looked at. - 🔓
readAttachmentdoes not requireenableBuiltInTools. That switch gates outbound, billable capabilities — web search, scraping, HTTP. Reading a blob already stored under this conversation and authorized by ownership is neither, and gating it there meant the tool was never registered for any agent the wizards create (the flag defaults tofalse). An explicitbuiltInToolsWhitelistis still honoured. - 👥 Group parity — attachments fan out to members and stay reachable across later phases, follow-up rounds and per-member follow-ups. Attachments and content-type behavior rules also survive a HITL pause/resume, which re-enters the same step from a reloaded conversation.
- 📖 Text extraction cap aligned to the tool-response limit — 50,000 characters (
eddi.attachments.text-extraction.max-chars), up from 10,000. The old cap clamped a document to roughly three pages before the layer that actually guards the context window got a say, so a follow-up question saw far less of a PDF than the upload turn did. Larger documents stay reachable throughreadAttachment's page parameter and the truncator's pagination cursors. - 🧯 Never silent — every cap hit, store failure or capability gate is recorded to
attachments:errorsand leaves a note the model can relay to the user. - 📊 Forwarder metrics, GDPR portability metadata, and per-conversation quotas (50 attachments / 100 MB, configurable).
🎚️ Multi-Model Cascade — Enterprise Hardening
- ⚖️ The audit records the real model —
audit:cascade_modelis written from the cascade-selected step (provider/model (step N)), not the task default, so an auditor can reconstruct which model produced an answer.audit:cascade_costandaudit:cascade_token_usageadded. - 🧑⚖️
judgeModel— a real config block, built through the model registry with vault and global-variable resolution. - 📡 SSE cascade events —
cascade_step_startandcascade_escalationare live end-to-end. - 💰 Ceilings —
maxTotalDurationMs(wall-clock) andmaxCostPerRun(dollars, from per-stepinputPricePer1M/outputPricePer1M) stop escalation and return the best response so far. - 📈 Metrics under
eddi.llm.cascade.*— executions, escalations by reason, accepted step, step latency, confidence distribution, tokens, cost, ceiling exceeded. - 🌊 The final step streams live token-by-token instead of buffering, and is no longer cancelled mid-stream.
- 🌍 Config-driven heuristics — confidence phrases and thresholds are configurable, and the no-match fallback is language-agnostic.
- ✅ Configure-time validation hard-fails only on invalid pricing/ceiling values; legacy conditions warn at deploy, so upgrading can never stop a previously-loading agent.
💬 Group Conversations — A Real Lifecycle
discuss → COMPLETED → [followup | continue]* → close → CLOSED
- 🎯 Follow up with any member — ask one agent (or the moderator) a question; both sides append to the transcript as
FOLLOW_UPentries. Accepts an agent ID or a display name, case-insensitive, with available members listed on a miss. - 🔄 Continue the full group — re-runs all phases with a new question; agents retain memory from prior rounds through reused private conversations, and a
roundcounter increments. - 🔒 Explicit close — ends member conversations, cleans up ephemeral agents, and locks the conversation permanently.
- 🧭
availableActionsis computed into every response andmemberDisplayNamesmaps agent IDs to names, so clients discover what they can do without transcript scanning. - 🚦 Honest HTTP statuses — follow-up and continue failures are split by cause; a mid-round member timeout is a 504, not a 502.
⚡ Error Handling & Recovery
- 🔁 Shared retry configuration — exponential backoff and retryable-error classification, configurable per subsystem.
- 🧮 Pipeline error classification — failure audit entries,
task_failedSSE events, and metrics tagged byerror.type. - 🩺 Admin state reset —
PATCH /{conversationId}/staterecovers stuck conversations. - 🔌 MCP
continueOnError+ retry + circuit breaker, config-driven per MCP call. - ✅ LLM response validation — config-driven policies for empty, truncated and filtered responses. Zero-token streaming failures are retried, partial responses are returned with metadata, and an interrupted stream now counts as a failure instead of a success.
- 📥 HTTP 4xx/5xx response bodies are stored in memory so an agent can react to them.
🧰 Tool Cost, Context & Cache Controls
- 🧱
maxToolContextTokens(default 60,000) — the in-turn tool context finally has a ceiling. The oldest tool exchanges are dropped, with a log line naming the knob to raise. - 💸
maxBudgetPerConversationcan bind — built-in tools are priced and rate-limited by their canonical slug, so a configured ceiling is no longer inert. A ceiling that cannot take effect now warns. - ⏳ Cache entries expire — per-entry TTLs are honoured; previously the lifespan argument was discarded and size eviction was the only mechanism.
- 🧹 Removed config that never did anything:
enableParallelExecution/parallelExecutionTimeoutMs, RAGinjectionStrategy/contextTemplate, andeddi.audit.retentionDays.
🔌 MCP Server — 77 Tools
Up from 65. New: 9 HITL tools and the group follow-up / continue / close tools. The memory and GDPR tools are now reach...
6.1.2
EDDI 6.1.2
🚀 What's New
🤖 Task Force Discussion Style — Dynamic Multi-Agent Orchestration
Agents can now create, recruit, and delegate to sub-agents at runtime during group conversations. The new TASK_FORCE discussion style enables collaborative task orchestration where agents autonomously:
- 🏗️ Create sub-agents on-the-fly with specific roles and instructions
- 📋 Manage shared task lists — agents claim, update, and complete tasks collaboratively
- 🔄 Recruit existing agents into the conversation dynamically
- 🛡️ Guardrails — configurable provider/model allow-lists, max depth limits, and tenant quota enforcement prevent runaway agent creation
🔌 New MCP Tools
start_group_discussion— async variant that returns immediately with a conversation ID (client polls for results)delete_group_conversation— REST-MCP parity, previously only available via REST API
📦 Dependency Updates
| Dependency | Previous | New |
|---|---|---|
| ☕ Quarkus Platform | 3.36.3 | 3.37.0 |
| 🧠 langchain4j | 1.16.3 | 1.17.0 |
| 🧠 langchain4j-libs | 1.16.3 | 1.17.0 |
| 🧪 langchain4j-beta | 1.16.3-beta26 | 1.17.0-beta27 |
| 🌐 langchain4j-community | 1.16.0-beta26 | 1.17.0-beta27 |
🐛 Bug Fixes
- 🔧 Jackson serialization — Disabled Quarkus 3.37's new reflection-free serializers which broke
ConversationOutput(extendsLinkedHashMap). The generated serializer treated it as a bean instead of a map, causing conversation data (input,actions,output) to serialize asnull - 🔧 MCP
discuss_with_group— Added missing@Blockingannotation. Multi-minute TASK_FORCE discussions would block the Vert.x event loop, potentially freezing the MCP server - 🔧 Tenant quota enforcement — Quota errors now propagate regardless of
onAgentFailurepolicy (previously silently swallowed under SKIP policy) - 🔧 Dynamic agent tracking — Fixed critical bugs in tracking list propagation, defensive copies in
SharedTaskList, and null-safety across the dynamic agent system - 🔧 Manager UI assets — Corrected bundled Manager UI assets that were missing in 6.1.1
🧪 Testing
- ✅ 9,645+ tests passing
- 🔒 Eliminated flaky race condition in
startAndDiscussAsynctest usingCountDownLatch - 📊 60+ new unit tests for the Task Force / Dynamic Agent system
- 🛡️ Concurrency and deadlock safety tests for
SharedTaskList
📋 Full Changelog
6.1.1
EDDI v6.1.1 is a hardening release focused on security, test coverage, and developer experience. It closes critical IDOR vulnerabilities across all user-facing endpoints, achieves OpenSSF Scorecard Gold with >90% instruction / >80% branch coverage and 9,000+ tests, delivers a completely overhauled Swagger UI with branded dark mode, and fixes several concurrency bugs found during code review. The Manager UI ships parser editing, comprehensive SSE reliability fixes, and Keycloak auth improvements.
🏅 OpenSSF Scorecard — Gold Badge Achieved
EDDI has achieved OpenSSF Scorecard Gold level, up from Silver in v6.1.0.
- 9,000+ tests (up from 5,500+ in v6.1.0) — added ~3,500 new tests across 43 test files in 10 coverage rounds.
- JaCoCo CI gates raised to 90% instruction / 80% branch (from 70%/60% in v6.1.0).
- CodeQL SAST now runs on all push-to-main events (previously skipped Dependabot merges, causing Scorecard warnings).
- All CI action dependencies pinned to SHA hashes.
- Added
SECURITY.mdwith vulnerability disclosure policy.
🛡️ Security — IDOR Remediation & Ownership Validation
A comprehensive security audit uncovered and fixed Insecure Direct Object Reference (IDOR) vulnerabilities across all user-facing REST and MCP endpoints.
New Component: OwnershipValidator
Centralized @ApplicationScoped utility for ownership checks. Three methods: validateUserAccess(), validateAndResolveUserId(), requireOwnerOrAdmin(). All checks are no-ops when authorization.enabled=false (dev mode). eddi-admin role bypasses all checks. Legacy data without ownership is allowed through gracefully. WARN-level audit logging on all failures.
Conversations (HIGH → FIXED)
Any authenticated user could previously read/modify ANY conversation by guessing the conversationId. All conversation-scoped endpoints now validate caller ownership. startConversation validates that the provided userId matches the caller's identity (admins can set any userId).
User Memory (HIGH → FIXED)
Any authenticated user could previously read/delete another user's persistent memories. All endpoints now validate that the {userId} path parameter matches the authenticated caller.
Group Conversations (HIGH → FIXED)
Any authenticated user could previously read/delete any group conversation. listGroupConversations now filters to the caller's conversations only.
MCP Memory Tools (NEW → FIXED)
MCP memory read tools now validate userId via OwnershipValidator before executing. Input validation (non-null/non-blank) runs before ownership checks for correct error messages.
Additional Security Fixes
- GDPR annotation hardening —
@RolesAllowed("eddi-admin")moved to interface level. - A2A endpoint clarity —
@PermitAlladded to all 5 GET discovery endpoints (intentional public access per A2A spec). - CodeQL remediation — 12 log injection findings fixed via
LogSanitizer.sanitize(). Fail-closed ownership check onResourceStoreException. - Secrets vault — Tenant reset endpoint added, double-vaulting bug fixed,
tenantIdsanitized in logs.
36 new security tests covering all ownership validation paths.
🐞 Bug Fixes
Concurrency & Null Safety (from Code Review)
- PropertySetterTask NPE —
CATCH_ANY_INPUT_AS_PROPERTYhandler now guards against nullinput:initialdata, preventing pipeline crashes on empty/whitespace-only messages. - Config version race condition — Introduced optimistic locking via
storeIfCurrentVersion()onIResourceStorage. MongoDB uses version-conditionedupdateOne; PostgreSQL usesUPDATE WHERE version = ?. Prevents silent last-write-wins on concurrent edits. - ComponentCache HashMap race — Replaced
HashMapwithConcurrentHashMapin the@ApplicationScopedsingleton. Fixes potential map corruption under concurrent reads (every conversation turn) and writes (lazy agent deployment). - Zombie-write snapshot clobber — After agent timeout cancellation,
Thread.currentThread().isInterrupted()is now checked beforeonComplete(). Interrupted threads route toonFailure()instead, preventing stale LLM results from overwriting newer conversation state.
Swagger UI CSP
- Blank Swagger UI page — Fixed CSP blocking inline scripts. Two independent bugs fixed across two PRs:
- Initial fix: Per-path
quarkus.http.filterentries with order-based precedence. - Follow-up: Both filters were firing and adding separate
Content-Security-Policyheaders. Browser enforces the intersection (most restrictive), so Swagger's inline scripts were still blocked. Fixed by adding a negative lookahead regex to exclude/q/swagger-uifrom the default CSP filter.
- Initial fix: Per-path
Other Fixes
- White page at root —
index.htmlreverted to a simple<meta http-equiv="refresh">redirect to/manage(was referencing deleted asset hashes after a Manager rebuild). - Keycloak logout — Fixed incorrect logout redirect; now correctly redirects to
/manage. Addedpost.logout.redirect.uristo Keycloak client config. PreservedidTokenforid_token_hint. - MCP stale conversation cleanup —
getOrCreateManagedConversation()was catchingjakarta.ws.rs.NotFoundExceptionbut the code path throwsConversationNotFoundException. Changed catch clause to the correct exception type. - Tenant quota 404 on fresh instances — Added default tenant quota bootstrapping to both
MongoTenantQuotaStoreandPostgresTenantQuotaStore. Atomic bootstrap viasetOnInsert(Mongo) /DO NOTHING(Postgres). - Gitleaks false positives — Resolved false positives in
rotateKektests; added.gitleaksignoreentries with per-line comments.
🔧 Swagger UI Overhaul
A complete visual and organizational overhaul of the Swagger UI developer experience.
Tag Taxonomy (40 tags, 9 categories)
All @Tag annotations reorganized from flat names to a category-based hierarchy:
- Agents — Setup, Agents, Administration, Agent Groups
- Configuration — Workflows, LLM, Behavior Rules, Dictionary, Output, API Calls, MCP Calls, Properties, Prompt Snippets, Global Variables
- Conversations — Conversations, Group Conversations, Conversation Store, Attachments
- Integrations — A2A Protocol, Capability Registry, Channel Integrations, Slack Webhook
- Knowledge & Memory — RAG Knowledge Bases, RAG Ingestion, User Memory
- Security — Authentication, Secrets Vault, Audit Trail, GDPR / Privacy, Tenant Quotas
- Administration — Backup, Schedules, Coordinator Admin, Orphan Admin, Log Admin, Descriptors
- Tools — Tool History, Template Preview, Standalone NLP
- UI — Chat UI
All 49 REST interface @Tag annotations now include description attributes. 4 previously untagged endpoints received new tags. New OpenApiTagSortFilter OAS filter sorts tags alphabetically at build time.
Branded Dark Mode
- Light mode: white backgrounds, dark text, amber-600 accents
- Dark mode (lamp toggle): EDDI Manager palette — zinc-950 bg, zinc-900 surfaces, amber-500 accents
- HTTP verb tinted operation blocks (blue GET, green POST, amber PUT, red DELETE, purple PATCH)
- EDDI logo branding in topbar
🧪 Testing
Test count grew from ~5,500 to 9,000+ across this release — a 64% increase.
- ~2,800 unit tests added in the initial coverage push across 43 files.
- 10 coverage expansion rounds targeting specific modules:
AgentOrchestrator,LlmTask,StructuralMatcher,McpToolProvider,McpAdminTools,ApiCallExecutor,Expression,HistorizedResourceStore,RestImportService,A2A,GroupConversation. - 36 security tests for
OwnershipValidator,RestAgentEngine,RestUserMemoryStore,RestGroupConversation. - 17 branch coverage tests for
PropertySetterTask. - Secrets vault tests —
resetTenant,handleDekDecryptionFailure,vaultApiKey. - JaCoCo thresholds raised: 70%/60% → 90%/80% (instruction/branch).
🐳 CI/CD & Infrastructure
- Quay.io release push — CI now pushes to Red Hat scan registry on release tags for container certification.
- CodeQL on all pushes — SAST job now runs on all push-to-main events (fixes OpenSSF Scorecard gap).
- Docker base image bump — Red Hat UBI9 OpenJDK 25 runtime updated to latest digest.
- Dependabot — ClusterFuzzLite base builder bumped (3 updates),
github/codeql-actionbumped to 4.36.2, UBI9 runtime bumped. - GCP provisioning script — New script for automated Google Cloud Platform system provisioning.
📦 Dependency Upgrades
| Dependency | v6.1.0 | v6.1.1 |
|---|---|---|
| Quarkus | 3.35.4 | 3.36.3 |
| LangChain4j | 1.15.1 | 1.16.3 ¹ |
| LangChain4j Beta | 1.15.1-beta25 | 1.16.3-beta26 |
| LangChain4j Community | 1.15.0-beta25 | 1.16.0-beta26 |
| Quarkus MCP Server HTTP | 1.12.1 | 1.13.0 |
| Swagger Parser | 2.1.42 | 2.1.44 |
| Testcontainers | 1.21.0 | 1.21.4 |
| WireMock | 3.12.1 | 3.13.2 |
| Jazzer | 0.28.0 | 0.30.0 |
| JaCoCo | 0.8.13 | 0.8.14 |
¹ LangChain4j 1.16.3 includes fix for CVE-2026-55405.
🖥️ EDDI Manager (Admin Dashboard)
The Manager UI (version 6.1.0 assets, bundled with EDDI 6.1.1) received significant updates focused on reliability, new editing capabilities, and test coverage.
New Features
- Parser Editor — Full parser configuration editor for
ai.labs.parserconfigs with dual-mode support: inline editing within the workflow pipeline (via dialog) and standalone resource browsing at/manage/resources/parser/:id. Collapsible sections for Configuration, Dictionaries (6 built-in types + regular dict CRUD), Corrections (3 types with Levenshtein distance), and Normalizers (4 types). 49 new tests at 98.82% line coverage. - **Quotas Dashboard ...
6.1.0
🚀 EDDI v6.1.0 Release Notes — 2026-06-03
EDDI v6.1.0 is our biggest release since the v6.0 launch. It delivers major new capabilities — ChromaDB vector store support, multimodal attachments, LLM-driven memory summarization, a fleet-wide Global Variable Store, and a completely rearchitected channel integration system — alongside deep security hardening, supply-chain compliance, and a test suite that has more than doubled in size.
✨ New Features
🗄️ ChromaDB & Gemini Embedding Support
Contributed by @niedch — thank you! 🙌
- ChromaDB is now a fully supported vector database backend for RAG, joining pgvector, MongoDB Atlas, Elasticsearch, and Qdrant. Includes
docker-compose.chroma.ymlfor local development. - Gemini Embedding Model added as a natively supported embedding provider.
⚙️ Global Variable Store (vars)
A new non-encrypted, deployment-wide key-value store for runtime configuration. Change operational values — LLM models, API endpoints, feature flags, temperatures — across all agents simultaneously without redeployment.
- Dual-backend persistence: MongoDB (
globalvariablescollection) and PostgreSQL (global_variablestable). - Late-binding resolution via
${vars:key}in any template or config field, resolved at runtime alongside${vault:key}. - Full REST CRUD API with tenant isolation.
- Template-layer access via
{{vars.key}}in system prompts and HTTP call templates.
📎 Multimodal Attachments
Added end-to-end support for file attachments in conversations:
- Dual-backend storage: PostgreSQL (BYTEA) and MongoDB (GridFS) with configurable size caps (default 20MB).
- Magic-byte MIME validation for 14 file types without external dependencies.
- LLM forwarding: Images are automatically converted to base64 data URIs for maximum provider compatibility. Oversized images (>10MB) gracefully degrade to text placeholders.
- GDPR-compliant: Cross-conversation access denied by design; cascading erasure support.
🧠 DreamService — LLM-Driven Memory Summarization
A config-driven memory consolidation engine that compresses related user memory entries during scheduled "dream" cycles.
- Configurable grouping by category or agent provenance, with multi-agent visibility upgrades.
- Cost-bounded:
maxSummarizationCallsandmaxCostPerRun(default $0.50) prevent runaway LLM spend. - Safety guarantees: Insert-before-delete pattern with rollback on partial failure. LLM errors or garbage output skip the group and leave originals untouched.
- LLM output guardrails: Rejects blank keys/values, truncates to safe limits, caps result count.
💬 Channel Integrations & Slack
Completely rearchitected channel integration system, decoupled from agent configurations:
- Standalone
ChannelIntegrationConfigurationresource — first-class versioned MongoDB document with platform credentials, targets, and trigger keywords. - Multi-target routing: Multiple agents or groups on a single Slack channel, with deterministic colon-required triggers (e.g.,
architect: question). - Thread target locking: First message in a thread locks the target, preventing jarring mid-conversation switches.
- Direct Message support: Slack never fires
app_mentionin DMs —channel_type: "im"is now detected and routed correctly. - Startup migration: Automatic, non-destructive migration of legacy
ChannelConnectorconfigs on first boot. - MCP admin tools: 6 new tools for managing integrations programmatically.
🛡️ Agentic Safety & Orchestration
- Behavioral Counterweights: Config-driven safety injection into LLM system prompts with preset levels (
cautious,strict) and customizable instructions. Strict auto-downgrades to cautious for scheduled agents. - Identity Masking: Prepends identity concealment rules to system prompts, independent of counterweights.
- Session Checkpoints: Memory checkpoint and rollback service with type-aware property restoration, auto-pruning, and Micrometer metrics. Dual-backend (MongoDB + PostgreSQL).
- A2A Capability Registry: Deterministic
round_robinstrategy (replaced brokenshuffle), public discovery endpoints, audit trail for capability selections, miss/strategy metrics.
🔧 Tool Response Management
- Paginated responses: Oversized tool output is split into retrievable pages via
FetchToolResponsePageTool, enabling the LLM to navigate large results. - LLM summarization: New
summarizetruncation strategy routes oversized responses through a cheaper model (configurable viasummarizerModel), inheriting the parent task's full provider context. 6-point fallback chain degrades gracefully to truncation on any failure. - Lazy tool discovery:
DiscoverToolsToolmeta-tool allows the LLM to discover available tools by category/keyword instead of receiving all schemas upfront, reducing context window overhead.
🔐 Security & Compliance
Cryptographic Agent Identity
- End-to-end Ed25519 signing of group conversation transcript entries with versioned key rotation.
- Nonce-based replay protection (Caffeine-backed, 5min TTL, 30s clock-skew tolerance).
- Fail-safe design: Signing failures discard the broken signature and fall back to unsigned entries, rather than persisting corrupt data.
- Peer verification: Receiving agents can verify prior speakers' signatures when
requirePeerVerificationis enabled.
Supply Chain & Infrastructure Security
- Docker image signing with Sigstore cosign (keyless OIDC) on every release.
- SLSA provenance attestation pushed to Docker Hub alongside images.
- ClusterFuzzLite continuous fuzzing for
PathNavigatorandMatchingUtilities— security-critical input parsers. - Trivy image scanning gates Docker push on CRITICAL CVEs.
- Gitleaks secret scanning in CI.
- CycloneDX SBOM generation for EU AI Act compliance.
- SPDX copyright headers added to all 1,089 Java source files.
Vulnerability Fixes
- CVE-2026-42198: Pinned PostgreSQL JDBC driver to
42.7.11(CVSS 7.5 High — SCRAM iteration count DoS). - Log injection (CWE-117): Centralized
LogSanitizerapplied across 17+ files, handling\r,\n,\t, and Unicode line separators. - Array bounds & arithmetic overflow: Guards added to
CronDescriber,RestConversationStore,DescriptorStorepagination. - TOCTOU quota fix:
tryAddCost()boundary aligned withcheckCostBudget(). Quota acquisition moved after all validation checks. - Fail-closed cost accounting:
PostgresTenantQuotaStore.tryAddCost()now returnsDENIEDon SQL failure instead ofOK.
Governance
- Added
GOVERNANCE.mdwith code review standards andCODEOWNERS. - Force-push prohibition enforced via
.githooks/pre-pushhook. - RHEL/OpenShift certification documentation rewritten.
🐞 Bug Fixes
- Docker Compose startup crash — Non-auth compose files were missing
EDDI_SECURITY_ALLOW_UNAUTHENTICATED=true, causingAuthStartupGuardto block startup. - Template error messages — Errors now include the failing parameter key, the Qute engine's specific cause, and a preview of the template, instead of a generic message.
- PowerShell install script — Fixed
iwr | iexfailures caused by block comments and[CmdletBinding()]in expression parser context. Switched to download-and-execute pattern. - Boolean matching guard —
MatchingUtilitiesnow guards the Boolean branch behind an existence check. - MongoDB healthcheck — Docker Compose now uses authenticated MongoDB healthcheck.
- MigrationLogStore injection — Migration classes now inject the
IMigrationLogStoreinterface instead of the concrete MongoDB class, fixing failures in the PostgreSQL profile. - Property scope loss on rollback —
MemoryCheckpointnow preserves the fullPropertyobject (scope, visibility) instead of flattening to raw values. - Tenant signing key mismatch —
GroupConversationService.sign()now usesdefaultTenantIdinstead ofgc.getUserId()for private key lookup. - Late-binding prefixes — Renamed
${eddivar:...}→${vars:...}and${eddivault:...}→${vault:...}with backward-compatible dual-pattern regex. - Tenant Quota persistence — Quota stores upgraded from in-memory only to durable MongoDB and PostgreSQL backends. Restarts no longer reset quota counters.
- Extension endpoint URI wrapping — Task type identifiers are now wrapped in a URI to clarify whether the full URI or just the identifier should be used (contributed by @niedch).
- V1 support removed — Cleaned up legacy V1 code paths and set proper default values.
- Keycloak auth integration overhaul — Added
eddi-backend-audiencemapper so tokens include the backend audience claim; injected a runtime__auth_config__.jsendpoint so the Manager UI auto-discovers Keycloak URL, realm, and client ID without build-time config; widened CSPconnect-srcto allow Keycloak origins; set default user passwords to non-temporary; added static asset permit paths for new branding files (contributed by @rolandpickl). - MCP endpoint audit — 13 fixes — Comprehensive audit of all MCP tool endpoints uncovered and fixed: empty
read_resourcefor langchain configs (missing@JsonProperty), group discussion returning raw metadata instead of agent output,list_conversationsagent filter using wrong accessor,read_conversation_logNPE on null log size,delete_agent_triggerreturning 200 for missing resources,chat_managedreusing stale triggers after conversation deletion,version=0resolution not delegating togetCurrentResourceId,returningFieldsfilter being silently ignored,chat_managedblocking the event loop (missing@Blocking), and group discussion ...