Skip to main content

Real-time observability dashboard for multi-agent AI systems

Project description

mesh-health-dashboard

Real-time observability for multi-agent AI workflows. Monitor agent communication, task completion, token usage, and budget health in one dashboard.

What is this?

mesh-health-dashboard is a lightweight observability layer for ZachOS's AI agent mesh infrastructure. It provides real-time visibility into agent interactions, resource consumption, and cost metrics—helping you debug workflow bottlenecks, prevent budget overruns, and optimize task routing without friction. Deploy it alongside your existing agents and start monitoring immediately.

Features

  • Real-time Agent Monitoring – Track communication patterns, task completion rates, and agent health status
  • Token & Cost Tracking – Monitor token consumption and budget spend across your mesh with configurable alerts
  • Task Routing Insights – Visualize task distribution and identify routing inefficiencies
  • Multi-agent Debugging – Inspect agent interactions and workflow execution traces
  • Zero-friction Deployment – Docker Compose setup ready to run alongside your infrastructure
  • REST API – Programmatic access to metrics and health data
  • Lightweight Database – Embedded metrics storage with minimal operational overhead

Quick Start

Prerequisites

  • Docker & Docker Compose
  • Python 3.10+ (for local development)

Installation

Via Docker Compose (Recommended)

docker-compose up -d

The dashboard will be available at http://localhost:8000.

Local Development

# Install dependencies
pip install -e .

# Configure your mesh connection
export MESH_API_URL="http://your-mesh-endpoint:5000"

# Start the server
python -m mesh_health_dashboard.app

Usage

View the Dashboard

Navigate to http://localhost:8000 after startup. The dashboard displays:

  • Active agents and their current tasks
  • Real-time token consumption
  • Budget utilization and alerts
  • Communication topology between agents

Query Metrics via API

# Get agent status
curl http://localhost:8000/api/agents

# Get token usage summary
curl http://localhost:8000/api/metrics/tokens

# Get task completion rate
curl http://localhost:8000/api/metrics/tasks

Configuration

Create a .env file or edit src/mesh_health_dashboard/config.py:

MESH_API_URL=http://localhost:5000
BUDGET_LIMIT=1000
ALERT_TOKEN_THRESHOLD=80
DATABASE_PATH=./data/metrics.db

Tech Stack

  • Backend: FastAPI (Python)
  • Database: SQLite
  • Frontend: HTML5 + JavaScript (responsive, no build step)
  • Containerization: Docker & Docker Compose
  • Testing: pytest

License

MIT

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

mesh_health_dashboard-0.1.0.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

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

mesh_health_dashboard-0.1.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file mesh_health_dashboard-0.1.0.tar.gz.

File metadata

  • Download URL: mesh_health_dashboard-0.1.0.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for mesh_health_dashboard-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3df8f0e01b68e33448e83378c49b605cf0df4a47af515dfbf756011a13c7b352
MD5 8d572ccce928516e727f2fb4996787c6
BLAKE2b-256 698f5a3fb23203acaf89c7e290ca2f3403a0002a4d524d3ea46ceac1982547b8

See more details on using hashes here.

File details

Details for the file mesh_health_dashboard-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mesh_health_dashboard-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b285f5eda8edfadcb652b6e2bf877da88f5e57781976f3e922fbb9caaffcd7d1
MD5 64ad2684d8f9c9b62aa7383b59c64b8f
BLAKE2b-256 c4291d0b542b7bedf290a7a690699510c1e33159a6cf9ebb35d1ba28e442d37b

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