Manuscript Offprint

arXiv:2610.36221

EREBOTS 4.0: A framework for conversational assistants with A2A agents and MCP tools

Elia Pacioni, Davide Calvaresi, Andrei C. Coman, Ismael Jaggi, Valerio Crocetti, Gaetano Manzo, Michael Ignaz Schumacher

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

In recent years, multi-agent systems have shifted from rule-based, symbolic agents to sub-symbolic agents built on language models. However, several limitations remain unresolved. The new frontier is neuro-symbolic agents, which pair language models with deterministic tools and explicit protocols. Without a common framework to standardize and compose them, each study rebuilds the same infrastructure, and results are hard to replicate. This paper presents EREBOTS 4.0, an open-source, hybrid-AI, multi-agent framework that fills this gap for conversational assistants. Language-model agents plan and route requests, while deterministic tools compute exact results over the Model Context Protocol (MCP). An orchestrator selects one or more specialist agents per turn and calls them over the Agent2Agent protocol (A2A). A new agent, local or remote, is added by listing its URL in a configuration file. The framework also manages identity, user context with consent flags, task states and traces. Its A2A server passed 97 tracked requirements in the official A2A Technology Compatibility Kit, with no failures.

Keywords: multi-agent systems, agent interoperability, Agent2Agent protocol, Model Context Protocol, conversational assistants, agentic AI

Required Metadata

Current code version

Table 1 describes the version reported here.

*Corresponding author.

Email address: elia.pacioni@hevs.ch (Elia Pacioni)

Nr.Code metadata descriptionValue
C1Current code version1.0.0
C2Permanent GitHub link to code/repository used for this code versionhttps://github.com/aislab-hevs/erebots4.0/tree/v1.0.0
C3Legal Code LicenseMIT
C4Code versioning system usedgit
C5Software code languages, tools, and services usedPython, FastAPI, a2a-sdk, MCP Python SDK, OpenAI-compatible LLM APIs, SQLAlchemy, PostgreSQL and SQLite, Keycloak, Vue.js, Gradio, Docker Compose, Traefik
C6Compilation requirements, operating environments & dependenciesPython ≥ 3.13 and an OpenAI-compatible LLM endpoint. A checkout resolves from a uv lockfile, and the published wheel bounds the three SDKs the framework codes against. Tool-using specialists need a model that supports tool calls. Docker Compose provides an optional deployment stack
C7If available Link to developer documentation/manualhttps://github.com/aislab-hevs/erebots4.0/tree/v1.0.0/docs
C8Support email for questionselia.pacioni@hevs.ch

Table 1: Code metadata

1. Motivation and significance

The building blocks of a multi-agent system have changed. Most multi-agent research built its agents from deliberative components that exchanged explicit communication acts, coordinating or competing over goals that were their own or partly shared [1]. A current wave builds them from language models that plan, call tools, and delegate in natural language, and the surveys of that shift already run to hundreds of primary studies [2, 3]. One reading of this wave is that it renames the earlier concepts [4]. The engineering problem moved with that shift, from building an agent to composing several. An agent is now assembled from parts that each hold a model, a prompt, and a set of executable operations, and those parts are often written by different groups on different hosts.

Research on such systems needs a platform, for the same reason earlier multi-agent research needed one. Comparing routing strategies, delegation policies, or the right granularity for a specialist means holding everything else fixed: discovery, transport, task lifecycle, streaming, identity, conversation state. A researcher who rebuilds that substrate for each study spends the effort there, and the result is hard for anyone else to replicate. A platform that holds it fixed turns those questions into things a researcher can change one at a time and measure, and into claims others can test on the same substrate.

The challenge itself is not new. JADE [5] and SPADE [6] gave multi-agent research platforms where agents met over a specification, FIPA-ACL [7] in one case and XMPP [8] in the other, so researchers could compose each other's agents and replicate an experiment elsewhere. Rasa played a comparable role for open conversational systems [9], and PEAK still builds agent communities on SPADE today [10].

Two specifications now do that job for language-model agents. A2A defines agent cards, messages, artifacts, and task operations [11], and MCP defines tool discovery and invocation [12]. Both have been taken up by the frameworks in common use.

LangGraph [13], CrewAI [14], AutoGen [15], Microsoft Agent Framework [16] and Google ADK [17] are toolkits for building and orchestrating agents. They provide stores for conversation history and memory, and leave it to the application to authenticate the user and tie each request to that user. All are permissively licensed, four under MIT terms and ADK under Apache 2.0. Several of them now speak A2A. CrewAI delegates to a remote agent from its card URL, and Google ADK and Microsoft Agent Framework wrap one the same way. A LangGraph assistant serves a card of its own once deployed on LangChain's hosted server [18]. In all of them the peer is reached from application code, so adding a peer or moving it to another host means changing that code. CrewAI and LangChain develop their open core alongside a commercial managed platform. AutoGen began as a research artifact, and its repository now describes it as in maintenance mode, with no new features and under community management.

EREBOTS 4.0 is a new generation of the EREBOTS platform for personalized health chatbots [19], which supported work on nutritional coaching [20] and explainable assistants [21]. This implementation introduces LLM-driven routing and specialists behind protocol endpoints. EREBOTS 4.0 is built for one kind of system, an assistant a person talks to. That narrowing is what lets the framework take over what those toolkits leave to the application, since every assistant needs it. The orchestrator takes the identity from the login, loads the context stored for that user, and passes both to every specialist it calls, local or remote, in A2A metadata. The examples use personal-data management and a deterministic calculation, which explain delegation, tool execution, and conversational state. It declares its routable specialists as A2A endpoints (URL) in a configuration file, and the orchestrator discovers what each offers from its agent card without application code constructing a wrapper for it. Writing an agent here means subclassing a single class and naming the MCP servers that hold its tools.

A researcher uses the framework by writing a configuration file that lists agent endpoints, registering any specialist hosted in their own application, pointing each agent at a model endpoint, and starting the application with a GUI or CLI.

This paper presents three main contributions (C):

  • C1. a framework that composes specialists over A2A and MCP, so they run in one process or on separate hosts with no code change;

  • C2. the application layer a deployed study needs beyond an agent library, with OpenID Connect (OIDC) login, user-context persistence, execution traces, and one conversation service every frontend shares;

  • C3. a measured conformance result against the official A2A Technology Compatibility Kit, reported with the requirements it leaves untested and the two a2a-sdk deviations the measurement exposed.

References (20)