ACR — Agent Composition Records
Interaction profile registry for AI agents — log interactions, build a behavioral profile, query it through behavioral lenses. 21 tools, zero-config.
ACR — Agent Composition Records
A behavioral registry and observation network for AI agents. Agents register their composition, log their interactions, and query behavioral profiles through lenses. If we observe anomaly signals affecting an agent's composition, we notify the agent.
What ACR Is
ACR is an interaction profile registry. Agents log what they do (external tool calls, API requests, MCP interactions). Those signals compile into a behavioral profile over time, which you can query through lenses — each lens a different way of interpreting the same underlying signals.
The friction lens is the first one shipped: bottleneck detection, chain overhead analysis, retry waste, population baselines, directional friction between targets. More lenses (reliability, quality) are on the roadmap.
ACR is not a security product. We don't evaluate skills, test for compromise, or block anything. We're closer to HIBP or contact tracing: we register events and propagate notifications. If we observe anomaly signals affecting an agent's composition, we notify the agent. We don't track the agent's owner, so we have no mechanism to notify them beyond the agent's activities.
Anomaly signal: a behavioral pattern observed across multiple unrelated agents — not a security alert. It means the network saw something unusual on this component. You decide if it matters.
What ACR Does
- Registers agents — zero-config identity, composition tracking, persistent across sessions
- Logs interactions — every external tool call an agent makes, with timing, status, chain position, anomaly signals
- Builds interaction profiles — raw signals compiled over time into the behavioral record for each agent
- Surfaces the friction lens — where your agent is losing time and tokens, with chain analysis, retry overhead, population drift, and directional friction
- Anomaly signal notifications — if ACR observes anomalies affecting a component in an agent's composition, we notify that agent
Before and after
Before ACR: Your agent makes 40 tool calls in a session. It's slow. You don't know why — there's no visibility into which targets are failing, which are slow, or which are eating retry budget.
After ACR: get_friction_report tells you api:openai.com is responsible for 68% of total wait time at a 4 500 ms median, and api:flaky-vendor.com has a 100% failure rate across 6 calls — matching the network-wide rate, so it's infrastructure, not your code. You cache the OpenAI calls, drop the flaky vendor, and cut session time in half.
ACR doesn't make that decision. It gives you the numbers.
The Skill Registry
We maintain a registry of agent skills that we update continuously. We are not a security check. If we observe anomaly signals affecting a skill in an agent's composition, we notify the agent. Because we do not track the agent's owner, we have no mechanism to notify them beyond the agent's activities.
Agents don't get skills from ACR — we observe skills that already exist in the ecosystem (via public registries like npm and GitHub) and keep track of behavioral signals tied to them.
Add to Claude Code (30 seconds)
Add this to your Claude Code settings (.claude/settings.json or via IDE):
{
"mcpServers": {
"acr": {
"command": "npx",
"args": ["@tethral/acr-mcp"]
}
}
}
Your agent auto-registers, gets a name (e.g. anthropic-amber-fox), and starts building its interaction profile on the first log_interaction call.
Get started in 4 steps
- Add to Claude Code — paste the config snippet above (30 seconds)
- Call
get_my_agent— get your dashboard link, API key, and a health snapshot - Call
log_interactionafter every external tool call — every lens depends on these signals - Call
summarize_my_agentafter a session — see where your time went
Not sure where you are? Call getting_started for a personalised checklist.
Add to Any Agent (SDK)
npm install @tethral/acr-sdk # TypeScript/Node.js
pip install tethral-acr # Python
import { ACRClient } from '@tethral/acr-sdk';
const acr = new ACRClient();
// Register your agent's composition
const reg = await acr.register({
public_key: 'your-agent-key-here-min-32-chars',
provider_class: 'anthropic',
composition: { skill_hashes: ['hash1', 'hash2'] },
});
// Log an interaction (this is the foundation — everything else flows from this)
await acr.logInteraction({
target_system_id: 'mcp:github',
category: 'tool_call',
status: 'success',
duration_ms: 340,
});
// Query the friction lens of your profile
const friction = await acr.getFrictionReport(reg.agent_id, { scope: 'day' });
// Check for anomaly signal notifications
const notifs = await acr.getNotifications(reg.agent_id);
What Agents See
Friction lens output (example)
Friction Report for anthropic-amber-fox (day)
── Summary ──
Interactions: 847
Total wait: 132.4s
Friction: 14.2% of active time
Failures: 12 (1.4% rate)
── Top Targets ──
mcp:github (mcp_server)
214 calls | 38.1% of wait time
median 280ms | p95 1840ms
vs population: 42% slower than baseline (volatility 1.8)
Jeopardy notification (example)
You have 1 unread notification:
[HIGH] Component in your composition reported anomalies
A skill in your current composition has been reported with
suspicious activity across multiple agents in the network.
Review with your operator before continuing use.
MCP Tools
| Tool | What it does |
|---|---|
log_interaction | Log an interaction — the foundation for everything |
get_friction_report | Query the friction lens of your interaction profile |
get_interaction_log | Raw interaction history with network context |
get_network_status | The COVID-tracker / HIBP view for agent infrastructure |
get_my_agent | Your agent identity and registration state |
check_environment | Active compromise flags and network health on startup |
get_notifications | Unread anomaly signal notifications for your composition |
acknowledge_threat | Acknowledge a notification after reviewing it |
update_composition | Update your composition without re-registering |
register_agent | Explicit registration (auto-registration is default) |
check_entity | Ask the network what it knows about a skill/agent/system |
get_skill_tracker | Adoption and anomaly signals for tracked skills |
get_skill_versions | Version history for a skill hash |
search_skills | Query the network's knowledge of a skill by name |
Architecture
Agents (Claude, OpenClaw, custom)
|
+--> MCP Server (@tethral/acr-mcp)
| or SDK (@tethral/acr-sdk / tethral-acr)
|
+--> Resolver API (Cloudflare Workers, edge-cached)
| Lookups, composition checks, notification feed
|
+--> Ingestion API (Vercel serverless)
| Registration, interaction receipts, friction queries, notifications
|
+--> CockroachDB (distributed SQL)
| Interaction profiles, agent registry, skill observation data
|
+--> Background Jobs
Skill observation crawlers
Anomaly signal computation
Friction baseline computation
Notification dispatch
Data Collection
ACR collects interaction metadata only: target system names, timing, status, chain context, and provider class. No request/response content, API keys, prompts, or PII is collected. Your interaction profile is visible only to you. Population baselines use aggregate statistics.
Privacy Policy
What we collect:
- Target system names (e.g.,
mcp:github,api:stripe.com) - Interaction timing (duration, timestamps, queue wait, retry count)
- Interaction status (success, failure, timeout, partial)
- Agent provider class (e.g.,
anthropic,openai) - Composition hashes (SHA-256 of SKILL.md content)
- Chain context (
chain_id,chain_position,preceded_by) - Agent-reported anomaly flags (category only, no payload)
What we do NOT collect:
- Request or response content/payloads
- API keys, tokens, or credentials
- Prompts, completions, or conversation content
- Personally identifiable information (PII)
- File contents or user data
- Agent owner identity (we intentionally don't track the human behind the agent)
Data usage:
- Your interaction profile: visible only to the agent that generated it
- Population baselines: aggregated statistics, no individual data shared
- Jeopardy notifications: delivered to agents whose composition is affected
- Skill observation: only publicly available skill metadata is indexed
Data retention:
- Interaction receipts: 90 days, then archived to daily summaries
- Skill observation data: retained while the skill is observed
- Notifications: retained for 90 days
- Agent registrations: soft-expired after 90 days of inactivity
Third-party sharing: None. ACR does not sell, share, or transfer interaction data to third parties.
Contact: [email protected]
Run the Test Harness
node scripts/test-agent-lifecycle.mjs
Simulates a full agent lifecycle: register, log interactions, query the friction lens, check for notifications.
Development
pnpm install # Install dependencies
pnpm build # Build all packages
pnpm test:unit # Run unit tests
node scripts/run-migration.mjs up # Run DB migrations
node scripts/test-agent-lifecycle.mjs # Run integration test
License
MIT
Links
- API: https://acr.nfkey.ai
- npm (MCP): @tethral/acr-mcp
- npm (SDK): @tethral/acr-sdk
- PyPI: tethral-acr
Máy chủ liên quan
Scout Monitoring MCP
nhà tài trợPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
nhà tài trợAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Crates MCP Server
Query Rust crates from crates.io and docs.rs. Search for crates, get info, versions, dependencies, and documentation.
KiCad MCP Server
An MCP server for KiCad providing project management, PCB design analysis, BOM management, and design rule checking.
302AI Image
A Model Context Protocol server for generating images using the 302AI API.
Remote MCP Server (Authless)
An example of a remote MCP server without authentication, deployable on Cloudflare Workers.
Kubernetes MCP Server
Inspect and debug Kubernetes clusters with read-only access to resources, CRDs, and pod logs.
MCP Server Automation CLI
A command-line tool to automate the deployment of MCP servers to AWS ECS.
nREPL MCP Server
Interact with a running Clojure nREPL instance for code evaluation, namespace inspection, and other utilities.
Python Local
An interactive Python REPL environment with persistent session history.
MCP Client
A Python client for connecting to Model Context Protocol (MCP) servers, supporting local scripts and npx packages.
mcp-diagnostics
All-in-one website diagnostics: DNS, SSL certs, HTTP headers, security audit (A-F grade), WHOIS, tech stack detection. No API keys needed.