Skip to content
Agentmart
Submit a tool

AgentLens

Tamper-evident, SHA-256 hash-chained audit trail and observability for AI agents.

Connector by agentkitai · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)★ 24
Write a review

Chalk Labs

Need help deploying AgentLens?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/agentkitai-agentlens

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Tamper-evident, SHA-256 hash-chained audit trail and observability for AI agents.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.

Tools
12 read · 7 write · 0 delete · 4 not yet classified
Secrets
None asked for
Install scripts
Not scanned yet
Runs as
Node.js package

Tools by what they do 23

Read from the source code; the running server may list different tools.

Read 12 · Look things up without changing anything.

  • agentlens_agents
  • agentlens_analytics
  • agentlens_context
  • agentlens_discover
  • agentlens_guardrails
  • agentlens_health
  • agentlens_optimize
  • agentlens_query_events
  • agentlens_reflect
  • agentlens_sessions
  • agentlens_stats
  • agentlens_trust

Write 7 · Create, change, send or run things.

  • agentlens_alerts
  • agentlens_benchmark
  • agentlens_cost_budgets
  • agentlens_log_llm_call
  • agentlens_prompts
  • agentlens_session_start
  • diagnostic_report

Not yet classified 4 · We could not tell from the name and description.

  • agentlens_delegate
  • agentlens_log_event
  • agentlens_replay
  • agentlens_session_end

Tools (23)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • agentlens_agents

    List, inspect, and manage AgentLens agents. **When to use:** To see which agents are registered, check agent details and error rates, or unpause a paused agent. **Actions:** - `list`: List all agents with error rates - `detail`: Get agent detail by ID - `unpause`: Clear paused state for an agent **Example:** agentlens_agents({ action: "list" })

  • agentlens_alerts

    Manage alert rules and view alert history. **When to use:** To create alerting rules for error rates, costs, or latency thresholds; manage existing rules; or review past alert triggers. **Actions:** - `list`: List all alert rules - `create`: Create a new alert rule - `update`: Update an existing alert rule - `delete`: Delete an alert rule - `history`: View recent alert triggers **Example:** agentlens_alerts({ action: "create", name: "High error rate", condition: "error_rate_above", threshold: 0.1, windowMinutes: 60 })

  • agentlens_analytics

    Query operational analytics: metrics, costs, agent performance, and tool usage. **When to use:** To understand system performance trends, cost breakdowns, agent activity, or tool usage patterns over time. **Actions:** - `metrics`: Get bucketed metrics with optional range/date filters - `costs`: Get cost breakdown - `agents`: Get per-agent metrics - `tools`: Get tool usage statistics **Example:** agentlens_analytics({ action: "metrics", range: "24h" })

  • agentlens_benchmark

    Manage A/B benchmarks: create, list, check status, get results, and control lifecycle. **When to use:** To set up controlled experiments comparing different agent configurations (models, prompts, parameters), track which variant performs better, and get statistical results. **Workflow:** 1. `create` — Define a benchmark with 2+ variants and metrics 2. Tag sessions with variant tags during data collection 3. `start` — Transition benchmark to running 4. `status` — Check progress (session counts per variant) 5. `results` — Get statistical comparison with p-values 6. `complete` — Finalize the be…

  • agentlens_context

    Retrieve cross-session context for a topic — related session summaries and lessons ranked by relevance. **When to use:** At the start of a session to load relevant history, when building a system prompt with past experience, when starting work on a topic the agent has handled before, or to audit what happened with a specific topic. **What it returns:** Related sessions (with summaries, key events, and relevance scores) and related lessons, all ranked by relevance to the topic. Includes an overall summary. **Example:** agentlens_context({ topic: "database migrations", limit: 5 }) → returns p…

  • agentlens_cost_budgets

    Manage cost budgets and anomaly detection. **When to use:** To create/manage spending limits, check budget utilization, or configure cost anomaly detection. **Actions:** - `list`: List all cost budgets - `create`: Create a new budget - `update`: Update an existing budget - `delete`: Delete a budget - `status`: Check spend vs limit for a budget - `anomaly_config`: Get anomaly detection configuration - `anomaly_update`: Update anomaly detection settings **Example:** agentlens_cost_budgets({ action: "create", scope: "global", period: "daily", limitUsd: 10, onBreach: "alert" })

  • agentlens_delegate

    Delegate a task to another agent in the AgentLens network. **When to use:** When you've discovered an agent capable of handling a specific task (via agentlens_discover) and want to delegate work to it. **Example:** agentlens_delegate({ action: "delegate", targetAgentId: "anon-abc123", taskType: "translation", input: { text: "Hello", targetLang: "es" } })

  • agentlens_discover

    Discover available agent capabilities in the network. **When to use:** Before delegating a task, to find agents that can handle a specific task type. Returns ranked results with trust scores, estimated cost, and latency. **Example:** agentlens_discover({ action: "discover", taskType: "code-review", minTrustScore: 70, limit: 5 })

  • agentlens_guardrails

    Check guardrail status for the current agent. Returns active guardrail rules, their current state, and recent trigger history. **When to use:** To check what guardrails are protecting this agent, whether any have been triggered recently, and what conditions/actions are configured. **What it returns:** A list of configured guardrail rules with their status (enabled/disabled, trigger count, last trigger time) and recent trigger history. **Example:** agentlens_guardrails({}) → returns all guardrail rules and their status.

  • agentlens_health

    Check the health score of the current agent. Returns overall score (0-100), trend, and dimension breakdown. **When to use:** To assess the current health and performance of the agent, to check if error rates or latency are degrading, or to get a quick overview of agent reliability metrics. **What it returns:** An overall health score (0-100), a trend indicator (improving/stable/degrading), and a breakdown by five dimensions: error rate, cost efficiency, tool success, latency, and completion rate. **Example:** agentlens_health({ window: 7 }) → returns health score with dimension breakdown fo…

  • agentlens_log_event

    Log an event to an active AgentLens session.

  • agentlens_log_llm_call

    Log a complete LLM call (request + response) to an active AgentLens session. Emits paired llm_call and llm_response events.

  • agentlens_optimize

    Get cost optimization recommendations. Analyzes LLM call patterns and suggests cheaper model alternatives. **When to use:** To identify cost-saving opportunities by switching expensive models to cheaper alternatives for tasks that don't require the most capable model. Analyzes call complexity (simple/moderate/complex) and success rates. **What it returns:** A list of model switch recommendations with estimated monthly savings, confidence levels, and success rate comparisons. Sorted by potential savings. **Example:** agentlens_optimize({ period: 7 }) → returns recommendations like "Switch gp…

  • agentlens_prompts

    Manage prompt templates and versions. **Actions:** - `list`: List prompt templates (optional category, search filters) - `get`: Get a template with all versions by ID - `create`: Create a new prompt template with initial content - `update`: Create a new version of an existing template - `analytics`: Get per-version metrics for a template - `fingerprints`: List auto-discovered prompt fingerprints - `environments`: List configured deploy environments - `deploy`: Deploy a version live in an environment (protected envs need AgentGate approval) - `rollback`: Roll an environment back to an earlier …

  • agentlens_query_events

    Query events from an AgentLens session.

Show 8 more tools
  • agentlens_reflect

    Analyze behavioral patterns from agent sessions — error patterns, tool sequences, cost analysis, and performance trends. **When to use:** To identify recurring errors and their root causes (error_patterns), to understand cost drivers and optimize model usage (cost_analysis), to discover common tool usage chains and their success rates (tool_sequences), or to track performance over time (performance_trends). **What it returns:** A list of structured insights with type, summary, data, and confidence score, plus metadata about how many sessions/events were analyzed. Each analysis type returns d…

  • agentlens_replay

    Replay a past session as a structured, human-readable timeline. **When to use:** To review what happened in a previous session — understand failures, decision patterns, timing, or cost accumulation. Great for debugging or post-mortem analysis. **What it returns:** A session header (agent, status, duration, cost, event counts) followed by numbered, timestamped steps with event type icons and context annotations. **Parameters:** - sessionId (required): The session to replay - fromStep/toStep: Replay a specific step range - eventTypes: Comma-separated filter (e.g., "llm_call,tool_call") - summ…

  • agentlens_session_end

    End an active AgentLens monitoring session.

  • agentlens_session_start

    Start a new AgentLens monitoring session. Returns a sessionId to use for subsequent events.

  • agentlens_sessions

    Browse and inspect AgentLens sessions. **When to use:** To find past sessions, inspect session details, or view a timeline of events within a session. Useful for debugging, auditing, or reviewing agent activity. **Actions:** - `list`: List sessions with optional filters (agentId, status, date range, tags) - `detail`: Get full session detail with aggregates - `timeline`: Get timestamped event list for a session **Example:** agentlens_sessions({ action: "list", agentId: "my-agent", status: "completed", limit: 10 })

  • agentlens_stats

    Get storage statistics and system overview metrics. **When to use:** To check database/storage utilization or get a high-level system overview. **Actions:** - `storage`: Get storage stats (database size, event counts, etc.) - `overview`: Get overview metrics (active sessions, agents, recent activity) **Example:** agentlens_stats({ action: "storage" })

  • agentlens_trust

    Get trust scores for agents. **When to use:** To check the trust/reliability score of an agent before delegating tasks or to monitor agent reputation. **Actions:** - `score`: Get trust score for a specific agent **Example:** agentlens_trust({ action: "score", agentId: "my-agent" })

  • diagnostic_report

    Submit the diagnostic report as structured JSON

Signals

Stars
24
Forks
5
Open issues
4
Weekly downloads
21
Last commit
Aug 1, 2026 (3 months ago)
Last release
Jun 26, 2026 (4 months ago)
Last package publish
Jun 27, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026) and the package registry.

Details

Registry name
io.github.agentkitai/agentlens
Version
0.13.7
Auth
No auth
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 25, 2026

More from agentkitai

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get AgentLens running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying AgentLens?

CallGet help
Cite this page

AgentLens MCP server. Agent Mart. https://agentmart.dev/connectors/agentkitai-agentlens (last updated 2026-10-25)