r/BestGitHubRepos • • 1d 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

MetricValue
Stars3,664
Forks337
Last releasev1.3.68 (2026-11-27)
Primary languageGo
Contributors43
AI contributor accountsClaude, Cursor
LicenseMIT

Project maintainers

FieldValue
OrganizationAsymptote Labs
FoundersJustin D'Souza and Shukan Shah
GitHubhttps://github.com/Asymptote-Labs
LocationNew York City, USA
Project websitehttps://beacon.sh
Company websitehttps://asymptotelabs.ai
X / Twitteru/asymptotelabs
Documentationhttps://docs.beacon.sh
Discordhttps://discord.com/invite/zdNChS2fBu
456 Upvotes

32 comments sorted by

5

u/crazymoooo 1d ago

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

3

u/thegodhimself119 19h 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!

2

u/Nice_Economics2032 12h ago

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

1

u/crazymoooo 17h ago

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

4

u/BlackDemon___ 1d ago

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

4

u/thegodhimself119 1d 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

9

u/JuanToronDoe 1d ago

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

9

u/interrupt_hdlr 1d ago

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

1

u/shniydder 21h ago

Right? They made another one.

2

u/thegodhimself119 19h 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 1d ago

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

4

u/thegodhimself119 1d 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 1d ago

Please make it compatible with T3! 😭

1

u/thegodhimself119 19h ago

Yeah definitely, I will look into this!

2

u/Over_Technology_1764 1d ago

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

1

u/thegodhimself119 19h 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/Constant_Broccoli_74 1d ago

Thanks for sharing

1

u/thegodhimself119 1d ago

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

1

u/Comfortable-Duty7143 1d ago

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

2

u/thegodhimself119 1d 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 1d ago

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

1

u/thegodhimself119 19h 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 1d ago

No T3 support?

1

u/thegodhimself119 19h 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 23h ago

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

2

u/thegodhimself119 19h 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

3

u/sublimegeek 23h ago

I’m tired, boss.

1

u/Beautiful_Squash1827 1d ago

agentmemory has been working very well for me so far !

1

u/Grantoid 8h ago

I wish I could block specific flairs

1

u/a__b 7h ago

How this compares to MemPalace?

1

u/Substantial-Walk-554 11h 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.