r/BestGitHubRepos • • 2d ago

šŸ¤– AI repositories Beacon: Self-improving memory for coding agents

Post image

What it does

Beacon is an open-source, self-improving memory layer for AI coding agents across Claude Code, Codex, Cursor, OpenCode, and 20+ other harnesses.

  • Cross-harness memory: Turns successful workflows, debugging patterns, and developer corrections into reusable knowledge across coding agents.
  • Self-improving security: Learns from risky agent behavior and helps generate guardrails to prevent sensitive data leakage, dangerous commands, and unintended infrastructure changes through Beacon Cloud.
  • Unified session history: Captures prompts, responses, tool calls, shell commands, file changes, MCP interactions, and token usage.
  • Local-first: Supports local storage and dashboards, with optional cloud connectivity and integrations with existing infrastructure.
  • No vendor lock-in: Built on an open, OpenTelemetry-based event schema.

Minimum requirements

  • macOS, Linux, or Windows
  • A supported AI agent, such as Claude Code, Cursor, or Codex
  • No account required for local-only installations

How it works

Beacon runs in the background while you use your coding agents normally. It captures and normalizes agent sessions across different harnesses into a unified history.

Beacon can identify useful knowledge from previous sessions and turn it into reusable skills that future agents can access. Something Claude Code learns today can improve how Codex or Cursor works tomorrow.

With Beacon Cloud, it can also learn from risky agent behavior and help turn security findings into enforceable guardrails.

To get started, paste the following prompt into your coding agent:

Read https://beacon.sh/start.md then set me up on Beacon

Repository

https://github.com/Asymptote-Labs/agent-beacon

Repository stats

Metric Value
Stars 3,664
Forks 337
Last release v1.3.68 (2026-11-27)
Primary language Go
Contributors 43
AI contributor accounts Claude, Cursor
License MIT

Project maintainers

Field Value
Organization Asymptote Labs
Founders Justin D'Souza and Shukan Shah
GitHub https://github.com/Asymptote-Labs
Location New York City, USA
Project website https://beacon.sh
Company website https://asymptotelabs.ai
X / Twitter u/asymptotelabs
Documentation https://docs.beacon.sh
Discord https://discord.com/invite/zdNChS2fBu
537 Upvotes

33 comments sorted by

8

u/crazymoooo 2d ago

how would you like to differentiate from e.g. https://github.com/hindsightai/hindsight?

3

u/thegodhimself119 1d ago

Hindsight is a great project! There's definitely some overlap. Hindsight is more focused on what agents remember and retrieve, whereas we're focused on how agents self-improve their actual behavior over time.

With Beacon, we capture the underlying session traces across harnesses and use them to turn recurring workflows + corrections into reusable skills and enforceable guardrails. Memory is one part of that broader feedback loop in our tech approach!

4

u/Nice_Economics2032 1d ago

Can't I just then merge the two ideas, to even get a better project???

0

u/crazymoooo 1d ago

thanks for the comment šŸ‘šŸ»šŸ‘šŸ»

4

u/BlackDemon___ 2d ago

looks cool. does it pick up sessions from the claude desktop app or just the cli?

4

u/thegodhimself119 2d ago

We capture Claude Cowork + Claude Code on the desktop app, but not Claude Chat on the desktop app (we're working on this!). Full coverage matrix here: https://docs.beacon.sh/runtimes#support-matrix

12

u/JuanToronDoe 2d ago

Noob question but isn't this somehow the purpose of AGENTS.md ?

16

u/interrupt_hdlr 2d ago

shhhh! don't spoil the release of another memory framework this week please

1

u/shniydder 1d ago

Right? They made another one.

2

u/thegodhimself119 1d ago

Fair question! AGENTS.md is great for telling agents what to do. Beacon is more about automatically learning what those instructions should be based on what actually happens across your agent sessions, rather than having to maintain them yourself! We process your agent traces as a feedback loop to generate memory candidates :)

3

u/SpartanHydrazine117 2d ago

how do you stop it from learning from the sessions where the agent went totally off track?

4

u/thegodhimself119 2d ago

Sometimes those sessions can be valuable! Beacon looks at signals like user corrections, failed approaches, and eventual outcomes to extract lessons! We also have a configurable human-in-the-loop review step for those lessons before they become persistent memory.

2

u/TemporaryQuiet1337 2d ago

Please make it compatible with T3! 😭

1

u/thegodhimself119 1d ago

Yeah definitely, I will look into this!

5

u/sublimegeek 2d ago

I’m tired, boss.

1

u/Constant_Broccoli_74 2d ago

Thanks for sharing

1

u/thegodhimself119 2d ago

Of course! Would love your feedback if you try Beacon out :)

1

u/Comfortable-Duty7143 2d ago

how is this different from hermes auto creating skills? sorry i might have missed that part

2

u/thegodhimself119 2d ago

Hermes has a similar philosophy! The biggest difference is that Beacon is harness-agnostic. Beacon learns across Claude Code, Codex, Cursor, and 20+ other harnesses, so knowledge gained in one agent can benefit another.

We also leverage the underlying session traces as a continuous feedback loop to evaluate and refine existing skills over time.

1

u/Adventurous-Watch501 2d ago

Does this also track claude code extension installed into vscode or cursor?

1

u/thegodhimself119 1d ago

Yes! Beacon integrates with Claude Code at the harness level rather than the IDE level, so it should capture sessions from the VS Code or Cursor extension as well, provided they're running locally and using the same Claude Code hooks.

1

u/starly396 2d ago

No T3 support?

1

u/thegodhimself119 1d ago

Haven't actually heard of T3 till you mentioned it! Given that we already support several of the underlying harnesses, this could be a straightforward integration. Will look into it!

1

u/fetballe 2d ago

Beacon Cloud, yeah na. I only want fully local. No telemetry or outgoing calls.

4

u/thegodhimself119 1d ago

Hey! We do support a fully local-only mode where your session data and memories can stay entirely on your machine. There's no requirement to use our cloud. See here: https://docs.beacon.sh/deployment/open-source

1

u/Over_Technology_1764 2d ago

this is bloat shit and spyware stealing your memory on remote servers

1

u/thegodhimself119 1d ago

We actually support a fully local-only mode! Your session data and memories can stay entirely on your machine. There's no requirement to use our cloud. See here: https://docs.beacon.sh/deployment/open-source

1

u/Beautiful_Squash1827 2d ago

agentmemory has been working very well for me so far !

1

u/Grantoid 1d ago

I wish I could block specific flairs

1

u/a__b 1d ago

How this compares to MemPalace?

1

u/Substantial-Walk-554 1d ago

Interesting project, especially the cross-harness memory. A few things I'd be curious about:

  • How does Beacon prevent incorrect conclusions, hallucinations or compromised session data from becoming persistent knowledge?
  • How does it handle conflicting knowledge, outdated project context and changes to a codebase?
  • Has the memory system been benchmarked against ordinary coding sessions in terms of token consumption, task completion rates and context retrieval accuracy?
  • How are credentials and sensitive information filtered before being written to persistent storage?

I also noticed that the interactive setup preselects Beacon Cloud despite the local-first positioning. Considering the sensitivity of the data being collected, I'd argue that local storage should be the default.

Persistent memory across agents has enormous potential, but the quality, integrity and security of that memory are arguably more important than the amount of information retained.