evex-agent-messaging

evex-agent-messaging

Provider-neutral MCP transport for Parent Main, Child Main, and Role Child conversation operations, enabling agents to create child conversations, send results, request user decisions, and manage missions via HMAC-signed capabilities without exposing credentials.

Category
Visit Server

README

EVEX Agent Messaging Gateway

Provider-neutral MCP transport for Parent Main, Child Main, and Role Child conversation operations. Agents call this MCP; they do not call OpenHands' Conversation API directly.

Tools

  • create_child: validate the complete structured Mission and the clean deterministic Git checkout, bind Child identity plus callback capability, then create one deterministic Conversation. The provider runs one tool-free admission turn, restores and revalidates the exact branch/head after ACP bootstrap, and only then admits tools and delivers the Mission. No Conversation API call occurs when checkout authority is missing or mismatched. Source roles receive only Messaging; only explicit QA/repair Missions may request capabilities: ["runtime_environment"].
  • send_to_parent: deliver a structured RESULT/NEEDS_INPUT to the capability's owning Main.
  • request_user_decision: deliver an A/B/C-style question to the owning Main.
  • cancel_mission / resume_mission: stop or resume the exact Child task.
  • publish_navigation_links: publish informational Issue/Main/Child/PR links to the owning Main.

Capabilities are compact opaque evx1_ HMAC-SHA256 references. They bind the owning Main, Child, task key, role, allowed action, and expiry. The server holds the OpenHands credential; it never appears in tool input, tool output, or child environment variables. There is no persistent state: callers provide a stable message key and the Main deduplicates semantic replays.

Each created Child receives an asynchronous native Stop hook. The hook calls the private /completion-hook endpoint with its scoped reference; the gateway waits for terminal native state and sends one stable RECOVERY_WAKE containing the bounded terminal assistant response to the owning Main. This is the provider-neutral fallback when a model finishes without calling send_to_parent. Repeated hooks reuse the same semantic message key and do not require a database, poller, read tool, or receipt store.

The trusted Event Gateway/host mints the short-lived Main capability with main_capability_token(...) and injects it into the Main Mission. The MCP does not expose a capability minting tool to agents.

The Parent creates or fetches only the persistent bare mirror at /home/openhands/workspace/mirrors/<owner>--<repository>.git. create_child derives /home/openhands/workspace/delivery/child-<child UUID>, creates the exact branch worktree when absent, and validates repository, origin, branch, head, and cleanliness before touching the Conversation API. It never clones/fetches remotely, deletes, resets, or repurposes an existing worktree.

Run

The server uses MCP stdio framing (Content-Length headers):

export EVEX_MESSAGING_SECRET='long-random-secret'
export OPENHANDS_URL='http://openhands:8000'
export OPENHANDS_API_KEY='server-only-key'
export OPENHANDS_PUBLIC_URL='http://openhands.example/canvas'
PYTHONPATH=src python3 -m evex_agent_messaging

Only the adapter reads the OpenHands variables. A fake provider can be injected in tests or by a host embedding the service, so skills and Missions remain runtime-neutral.

Validation

python3 -m unittest discover -s tests -p 'test_*.py' -q

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured