ACE Sidecar
Local developer observability sidecar, transcript mining, and workflow skill miner for Claude Code & Antigravity.
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 /metricsfor 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
/metricsendpoint 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:
- CLI Flags (e.g.
--port,--no-key) - Configuration File (
~/.ace/config.json) - Environment Variables (
ANTHROPIC_API_KEY,ACE_SIDECAR_PORT, etc.) - 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40b7475045c021dd934f974b9b9937f2cad21b1fc37f436967fe0b75ff6c33df
|
|
| MD5 |
19509466999faf7bb52ef27078d1aff1
|
|
| BLAKE2b-256 |
9fba7918dbdb30f7e7a316d726a5808b456c948a4583c3ae2227001cbfb0c752
|
Provenance
The following attestation bundles were made for ace_sidecar-0.1.0.tar.gz:
Publisher:
publish.yml on ACE-Engineering/ace-sidecar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ace_sidecar-0.1.0.tar.gz -
Subject digest:
40b7475045c021dd934f974b9b9937f2cad21b1fc37f436967fe0b75ff6c33df - Sigstore transparency entry: 2472751985
- Sigstore integration time:
-
Permalink:
ACE-Engineering/ace-sidecar@f938a5ead6e9bf4ead5c0ad09146ebf881e5ea94 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/ACE-Engineering
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f938a5ead6e9bf4ead5c0ad09146ebf881e5ea94 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1301764aaeb0f736c4d8a160b9e2d16bff9e64dd7eb3f9a30d5c6f2814a3feff
|
|
| MD5 |
893b443514de0ba7748a1d759c8337f7
|
|
| BLAKE2b-256 |
cf10470cfabbc1428064b8946d1a5830e1184052b8abbec2a0a9b13505931805
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ace_sidecar-0.1.0-py3-none-any.whl -
Subject digest:
1301764aaeb0f736c4d8a160b9e2d16bff9e64dd7eb3f9a30d5c6f2814a3feff - Sigstore transparency entry: 2472752021
- Sigstore integration time:
-
Permalink:
ACE-Engineering/ace-sidecar@f938a5ead6e9bf4ead5c0ad09146ebf881e5ea94 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/ACE-Engineering
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f938a5ead6e9bf4ead5c0ad09146ebf881e5ea94 -
Trigger Event:
push
-
Statement type: