Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

Beacon

GitHub release Homebrew GitHub Workflow Status MIT license Docs Discord

Website · Docs · Discord · Install · Commands

Beacon captures agent session history across Claude Code, Cursor, Codex, OpenCode, and 20+ other harnesses, then turns useful workflows, corrections, and debugging patterns into reusable knowledge for future agents.

A problem solved by one agent shouldn't need to be learned from scratch by another.


Beacon Overview

Beacon is an open-source memory layer for AI coding agents that learns from your work across Claude Code, Cursor, Codex, OpenCode, and 20+ other harnesses. It captures full session history, identifies useful workflows, corrections, and debugging patterns, and makes that knowledge reusable by future agents. Built for developers who want agent knowledge to compound across tools instead of disappearing when a session ends.

Key Capabilities:

  • Cross-harness history - sessions from Claude Code, Cursor, Codex, OpenCode, Cline, and 20+ harnesses in one place
  • Knowledge that compounds - workflows, corrections, debugging patterns, and repo conventions that survive beyond a single session
  • Shared agent memory - reviewed knowledge future agents can retrieve through MCP or Agent Skills
  • Exact session replay - prompts, responses, tools, commands, edits, approvals, MCP activity, and tokens in one trace
  • Local-first portability - durable JSONL, explicit destinations, and no harness lock-in

🚀 Quick Start

Beacon is open source and local-first. Interactive endpoint setup signs in through beacon.sh and preselects Beacon Managed, with an explicit Local opt-out. Nothing is forwarded until the separate connect step. System, package, MDM, and CI installation paths remain noninteractive and account-free.

1. Install Beacon

macOS
brew trust asymptote-labs/tap
brew tap asymptote-labs/tap
brew install beacon

beacon endpoint install
Linux

Download the .deb or .rpm from the latest release.

sudo apt install ./beacon_<version>_linux_amd64.deb

or:

sudo dnf install ./beacon_<version>_linux_amd64.rpm
Windows

Download the x64 MSI from the latest release.

msiexec /i BeaconEndpointAgent-<version>-x64.msi

For silent installation:

msiexec /i BeaconEndpointAgent-<version>-x64.msi /qn

2. Use your agents normally

Open Claude Code, Cursor, Codex, or any other supported harness.

Beacon continuously captures your session history in the background

3. Explore your history

beacon traces

This opens a local terminal browser for traces, event timelines, token usage, and retained content. Nothing is sent anywhere. To use the local web view instead:

beacon endpoint dashboard

Or inspect the raw event stream:

~/.beacon/endpoint/logs/runtime.jsonl

[!NOTE] Local until connected: signing in or accepting the preselected Managed option does not enable forwarding. The onboarding wizard records Standard or Metadata-only privacy; beacon endpoint connect uses that choice, or --privacy-mode overrides it.

Inspect the account used during interactive setup:

beacon whoami

🧠 Turn Session History Into Memory

Every agent session contains potentially useful knowledge about your codebase.

Beacon creates a loop around that history:

Run agents
    ↓
Capture session history
    ↓
Evaluate what worked
    ↓
Extract useful knowledge
    ↓
Review + approve
    ↓
Reuse across future agents

That could be:

  • the right way to run a migration
  • a debugging path that finally fixed an obscure issue
  • a testing convention agents repeatedly get wrong
  • a repository-specific workflow
  • the right sequence of internal tools
  • a correction you've given multiple agents

Instead of disappearing into old sessions, that knowledge becomes reusable.


🔀 Cross-Harness by Design

Most agent memory belongs to a single harness.

Beacon sits across the harness layer.

Claude Code ─┐
Cursor ──────┤
Codex ───────┼──→ Beacon ──→ shared project knowledge
OpenCode ────┤
Cline ───────┘

Because Beacon captures and normalizes session history across tools, knowledge learned through Claude Code doesn't have to stay in Claude Code.

Your Cursor sessions can improve Codex.
Your Codex sessions can improve OpenCode.
Your history keeps compounding even as you switch tools.

Your agent session history belongs to you, not the harness.


🔎 One Trace Format for Every Agent

Beacon captures agent execution where it happens and normalizes it into a common OpenTelemetry-based event model.

That includes:

  • sessions
  • prompts and responses
  • tool calls
  • commands
  • file activity
  • approvals
  • MCP interactions
  • token usage

Instead of separate proprietary histories for every coding tool, you get one dataset you can inspect, search, learn from, and build on.


🖥️ Local Dashboard

Beacon ships with a local, read-only dashboard:

beacon endpoint dashboard

Use it to explore session history across harnesses and understand what your agents actually did.

The underlying JSONL remains directly accessible, so you're never dependent on the UI.


Supported Agents

Beacon supports local agents, browser agents, cloud agents, CI workflows, and agent SDKs.

Local Agent Coverage

RuntimeCollectionSessionPromptToolCommandFileApprovalMCPTokens
Antigravity CLIHooks
Claude CodeOTLP + hooks + poll
Claude CoworkOTLP
ClinePlugin + poll
Codex CLIOTLP + hooks + poll
Codex DesktopOTLP
CursorHooks + poll
DeepSeek HarnessHooks + poll
Devin CLIHooks
Devin DesktopHooks
Factory DroidOTLP + hooks + poll
fx (Vercel Labs)Poll
Gemini CLIOTLP
GitHub Copilot CLIOTLP + poll
gooseAdapter only; manual hooks/OTLP
Grok BuildHooks + poll
Hermes AgentHooks + poll
Kimi CodeHooks
KiroHooks
Muse CodeHooks
Oh My PiExtension
OpenClaw GatewayPlugin + OTLP + poll~
OpenCodePlugin + poll
OpenHandsHooks
PiExtension + poll
Prime AgentExtension + poll
Qwen CodeHooks
SenpiExtension
VS CodeOTLP + hooks~~~

Browser Chat

SiteCollectionPromptResponseToolTokens
Claude.aiExtension → local OTLP~
ChatGPTExtension → local OTLP

Cloud Agents

RuntimeCollectionSessionPromptToolCommandFileTokens
Claude Code Cloud AgentsSandbox hooks → GCS or S3
Cursor Cloud AgentsSandbox hooks → GCS or S3
Devin Cloud AgentsAPI poll → GCS
CI jobsbeacon ci exec → temporary local collector

SDK Instrumentation

SDK SurfaceCollectionCaptures
AnthropicOpenLLMetry through @asymptote/sdkModel call spans, errors, and OTel attributes
OpenAIOpenLLMetry through @asymptote/sdkModel call spans, errors, and OTel attributes
Claude Agent SDKObserve.wrapClaudeAgentQuery()Query root spans with Beacon-compatible prompt attributes
Vercel AI SDKexperimental_telemetry tracer handoffModel call and tool spans where telemetry is enabled

Output Destinations

Beacon writes endpoint telemetry to local JSONL by default.

You can also forward the same normalized session history into infrastructure you already use:

Splunk · Datadog · Elastic · Microsoft Sentinel · CrowdStrike Falcon LogScale · Sumo Logic · Wazuh · AWS S3 · GCS · CloudWatch

DestinationCategorySupport Path
Local JSONLLocalDefault endpoint log and local dashboard source
Beacon ManagedHosted forwardingSigned-in device enrollment with Standard or Metadata-only privacy
CrowdStrike Falcon LogScale HECSIEMEndpoint forwarding with LogScale ingest tokens
Microsoft SentinelSIEMAzure Monitor Agent and Data Collection Rule content pack
Rapid7 InsightIDRSIEMCustom Logs webhook content pack
Splunk HECSIEMEndpoint forwarding during install or repair
Sumo LogicSIEMHTTP Logs & Metrics Source content pack
WazuhSIEMLocalfile configuration and Beacon content pack
AWS CloudWatch LogsLog aggregationVector content pack
DatadogLog aggregationDatadog Agent custom log collection
ElasticLog aggregationFilebeat or Elastic Agent
Customer-managed pipelinesLog aggregationForward directly from local Beacon JSONL
AWS S3Object storageVector, CI upload, or cloud-agent snapshots
Google Cloud StorageObject storageVector, CI upload, or cloud-agent snapshots

Architecture

Beacon captures activity where agents actually run and normalizes it into one shared event model.

Local agents ───────┐
Browser chat ───────┤
CI ─────────────────┼──→ Beacon ──→ unified session history
Cloud agents ───────┤                    │
Agent SDKs ─────────┘                    ├──→ local JSONL
                                         ├──→ reviewed memory
                                         ├──→ MCP / Agent Skills
                                         └──→ your own infrastructure

See the documentation for the full architecture breakdown.


Documentation

Read the docs for:

  • installation
  • supported runtimes
  • event schema
  • session history
  • memory
  • MCP
  • Agent Skills
  • forwarding
  • advanced configuration

Read the docs →


Contributing

Contributions are welcome.

Open an issue, submit a pull request, or join the Discord.


License

MIT

Star History

Star History Chart

关于 About

The cross-harness self-improving memory layer for AI agents.
agent-ai-cliagent-harnessesagent-securitybrowser-extensionciclaude-codecloudcodexcursordetection-engineeringjevknowledge-basememorymobile-device-managementobservabilitysecuritysecurity-information-and-event-managementsecurity-toolstelemetrytraces

语言 Languages

Go88.2%
TypeScript5.0%
Shell2.5%
JavaScript2.4%
CSS0.8%
HTML0.6%
PowerShell0.2%
Go Template0.2%
Makefile0.1%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
1586
Total Commits
峰值: 203次/周
Less
More

核心贡献者 Contributors