Skip to main content

ACE Sidecar

Local developer observability sidecar, transcript mining, and workflow skill miner for Claude Code & Antigravity.

CI PyPI License

ACE Sidecar Dashboard Preview


What is ACE Sidecar?

ACE Sidecar is a local developer observability sidecar, transcript analytics engine, and workflow skill miner designed for heterogeneous AI coding agents (Claude Code and Google Antigravity).

It runs 100% locally on your machine (127.0.0.1:8787) to provide unified session observability, real-time model market pricing, prompt cache hit tracking, and automatic workflow skill extraction — with zero cloud overhead and complete privacy.

Core Capabilities

  • Heterogeneous Agent Observability: Unified session analytics across Claude Code and Google Antigravity turns, tracking token spend, peak context sizes, wall-clock active/idle time, and list-price cost valuations.
  • Local Loopback Relay: Serves as a transparent local relay (POST /v1/messages) for your agent CLI tools, recording turn telemetry in a local SQLite database (accountant.db).
  • Transcript Log Scanner: Automatically scans local agent transcript logs (~/.claude/projects, ~/.gemini/antigravity/brain) to extract historical turn metrics and compute efficiency headroom.
  • Workflow Skill Miner: Analyzes transcript patterns for repeated tool invocations and multi-step workflows, enabling 1-click installation of reusable skills into .agents/skills/<skill_id>/SKILL.md.
  • Prometheus Metrics Exposition: Exposes standard Prometheus text format metrics at GET /metrics for seamless integration with Grafana, OpenTelemetry Collector, or Datadog.

Quickstart

pip install ace-sidecar
ace up

Once running, point your developer tools to the local ACE sidecar:

export ANTHROPIC_BASE_URL=http://127.0.0.1:8787

Features

  • Local Proxy & Observability: Intercepts local Claude Code and agent requests on loopback (127.0.0.1:8787) with zero cloud overhead.
  • Privacy-First Zero-Trust Architecture: Your API keys and full request bodies remain on your machine by default.
  • Transcript Mining: Analyzes Antigravity and Claude Code transcript logs to calculate real-world context utilization, cache savings, and token efficiency.
  • Workflow Skill Miner: Automatically detects repetitive multi-turn command patterns and proposes reusable agent skills.
  • Interactive Developer Dashboard: Access local metrics and reports directly at http://127.0.0.1:8787/dashboard.
  • Prometheus Metrics Exporter: Native /metrics endpoint serving standard Prometheus text exposition format for scraping into Prometheus, Grafana, OTel, and Datadog (see docs/PROMETHEUS_METRICS.md).

Usage & CLI Reference

ace up

Launches the local sidecar service with default settings (127.0.0.1:8787):

ace up

Optional Customization Flags

  • ace up --key sk-ant-...: Specify Anthropic API key explicitly.
  • ace up --no-key: Run without a stored key (relaying caller's credentials).
  • ace up --port 8788 --host 127.0.0.1: Specify custom port or bind address.
  • ace up --capture: Enable local request body capture for offline analysis.
  • ace up --help: Display all available configuration options.

ace env

Prints shell export configuration for easy terminal setup:

eval "$(ace env)"

Configuration

Configuration values are resolved in the following precedence order:

  1. CLI Flags (e.g. --port, --no-key)
  2. Configuration File (~/.ace/config.json)
  3. Environment Variables (ANTHROPIC_API_KEY, ACE_SIDECAR_PORT, etc.)
  4. Built-in Defaults

Sample ~/.ace/config.json:

{
  "port": 8787,
  "no_key": true,
  "log_level": "info",
  "antigravity_dir": "~/.gemini/antigravity/brain"
}

Development & Testing

Installation from Source

# Clone the repository
git clone https://github.com/ACE-Engineering/ace-sidecar.git
cd ace-sidecar

# Create local virtual environment and install editable package
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[test]"

Running Tests

# Run 33 unit tests
pytest

# Run E2E server route verification
python scripts/e2e_test.py

License

Distributed under the terms of the GNU Affero General Public License v3.0 (AGPL-3.0).

Download files

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

Source Distribution

ace_sidecar-0.1.0.tar.gz (541.0 kB view details)

Uploaded Source

Built Distribution

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

ace_sidecar-0.1.0-py3-none-any.whl (117.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ace_sidecar-0.1.0.tar.gz
  • Upload date:
  • Size: 541.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ace_sidecar-0.1.0.tar.gz
Algorithm Hash digest
SHA256 40b7475045c021dd934f974b9b9937f2cad21b1fc37f436967fe0b75ff6c33df
MD5 19509466999faf7bb52ef27078d1aff1
BLAKE2b-256 9fba7918dbdb30f7e7a316d726a5808b456c948a4583c3ae2227001cbfb0c752

See more details on using hashes here.

Provenance

The following attestation bundles were made for ace_sidecar-0.1.0.tar.gz:

Publisher: publish.yml on ACE-Engineering/ace-sidecar

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: ace_sidecar-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 117.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ace_sidecar-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1301764aaeb0f736c4d8a160b9e2d16bff9e64dd7eb3f9a30d5c6f2814a3feff
MD5 893b443514de0ba7748a1d759c8337f7
BLAKE2b-256 cf10470cfabbc1428064b8946d1a5830e1184052b8abbec2a0a9b13505931805

See more details on using hashes here.

Provenance

The following attestation bundles were made for ace_sidecar-0.1.0-py3-none-any.whl:

Publisher: publish.yml on ACE-Engineering/ace-sidecar

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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