Skip to main content

A framework for building and managing AI agents with memory systems and API endpoints

Project description

Group 14

Muvius A2A Framework

The Muvius A2A (Agent-to-Agent) Framework is an open-source, modular system for building intelligent, role-driven, and memory-aware AI agents that can communicate with one another to accomplish complex marketplace tasks like negotiation, matchmaking, and fulfillment.


Memory-Retaining Agents

Each Muvius agent has three layers of memory:

  • Procedural Memory: Defines the agent’s role, goals, and policies.
  • Episodic Memory: Logs of prior interactions and session context.
  • Semantic Memory: A vectorized memory store for long-term understanding, reasoning, and context recall.

Agent Retention Flow

  1. User Message is received by an agent.
  2. System Prompt is constructed using:
    • Procedural memory
    • Episodic enrichment (e.g., recent messages)
    • Semantic context from vector search
  3. Working Memory is assembled into a structured prompt.
  4. LLM inference generates a response.
  5. Agent memory is updated with new episodic and semantic traces.
  6. Agents can optionally communicate with each other using structured JSON messages.

Architecture Overview

┌──────────────────────────────┐
│         Orchestrator         │
│ Routes messages & manages    │
│ A2A communication flow       │
└────────────┬─────────────────┘
             │
     ┌───────▼────────┐       ┌───────────────┐
     │  Buyer Agent   │ <---> │ Seller Agent  │
     └──────┬─────────┘       └───────────────┘
            │
  ┌─────────▼────────────┐
  │ Working Memory Builder│
  └─────────┬────────────┘
            │
   ┌────────▼──────────┐
   │ Memory Manager     │
   │ - Procedural (YAML)│
   │ - Episodic (SQLite)│
   │ - Semantic (Qdrant)│
   └────────────────────┘

Tech Stack (All Open Source)

Layer Tool/Framework
Vector Store Qdrant / Weaviate
Embeddings Sentence-Transformers
Local LLM Ollama / llama.cpp
Memory DB SQLite / DuckDB
Communication Bus JSON-RPC or Redis Pub/Sub
API Layer FastAPI (Python) or Echo/Fiber (Go)
Orchestration Docker Compose / Kubernetes

Agent Communication (A2A)

Agents communicate using structured JSON payloads:

{
  "from_agent": "BuyerAgent",
  "to_agent": "SellerAgent",
  "intent": "propose_trade",
  "semantic_context": ["price", "location", "urgency"],
  "proposed_action": "counter_offer",
  "timestamp": "2025-06-02T14:00:00Z"
}

Getting Started

1. Clone the Repo

git clone https://github.com/your-org/muvius-a2a-framework.git
cd muvius-a2a-framework

2. Start Agents Locally (with Docker Compose)

docker-compose up --build

3. Interact with Agents

Use the

/interact

API for each agent:

POST /api/agent/buyer/interact
{
  "user_id": "123",
  "message": "Is this scooter still available?"
}

Directory Structure

muvius/
├── orchestrator/        # Agent router & dispatcher
├── agents/
│   ├── buyer_agent/
│   │   ├── memory/       # procedural.yaml, episodic.db, embeddings/
│   │   └── main.py
│   └── seller_agent/
│       └── ...
├── shared/
│   └── memory_utils.py
├── embeddings/
│   └── models/
└── docker-compose.yml

Testing and Extending

- Add new roles by cloning an agent folder and modifying its procedural memory.
- Create shared memory overlays for organizational agents.
- Use pytest or go test for isolated unit testing.

License

MIT License. Fully open-source and extensible.

Roadmap

•	Multi-agent simulation testing suite
•	Agent registry & directory service
•	Multi-language agent support
•	Shared semantic memory overlays

Maintainers

Developed by the Muvio AI team

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

muvius-0.1.1.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

muvius-0.1.1-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file muvius-0.1.1.tar.gz.

File metadata

  • Download URL: muvius-0.1.1.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for muvius-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8d8d26857f23494b8e5bf44a46677a1d345f857f92ad903001f52884f8a641df
MD5 13e7205effd6f78dbaebb6ce485139b6
BLAKE2b-256 288c620d01e8950f7366679f3c6db8b9d60159e29ae5420a5b0543cac6cd005d

See more details on using hashes here.

File details

Details for the file muvius-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: muvius-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for muvius-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1c7b76af547e04977bd2ea98371014be1b405f0d5ad1f6f7e0c7aab510393288
MD5 228c801527d9f835dbde9a99040a1581
BLAKE2b-256 3bc9ba227d92b59c7928d5d44a898fcebcbf465dadac24ce3a4081b2b5d63a1a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page