r/coolgithubprojects • • 9h ago

Beacon: Self-improving memory for coding agents

Post image

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

  • Shared memory: Learn something in Claude Code and reuse it in Codex.
  • Self-improving skills: Automatically turn successful workflows and debugging patterns into reusable skills.
  • Unified session history: Search and inspect agent conversations, tool calls, shell commands, and file changes across harnesses.
  • Self-improving security: Learn from risky agent behavior and generate guardrails to prevent similar mistakes through Beacon Cloud.
  • Usage analytics: Track token consumption and spending across agents and models.

Beacon runs in the background, supports macOS, Windows, and Linux, and can be used locally without an account.

MIT licensed, with 3.6k+ GitHub stars and 43 contributors.

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

Website: https://beacon.sh

We're actively building this and would love feedback, bug reports, and PRs, especially from developers who regularly switch between coding agents.

185 Upvotes

14 comments sorted by

8

u/Comfortable-Duty7143 8h ago

turning sessions into skills is a nice but messy in practice. what happens when the skills go stale?

2

u/TheAceRedBarron 7h ago

I agree, would need to have a pool of each skill with random walks generated so that a router can sample from. The equivalent of only taking the cream off the top. There by any queriable mem data bases that go stale sink to the bottom and only the top accurate outputs get used... Yet the barrier to this is bloat as it would be a massive hog even in the cloud let alone on a private server. Thoughts on how that could be implemented while dodging the bloat problem?

3

u/thegodhimself119 7h ago

Great question! This is exactly why we think the underlying agent session traces are just as important as the skills themselves. Each session provides a continuous feedback loop to identify when existing skills stop working or need updating. Beacon also evolves memories alongside your codebase, and you can config a human-in-the-loop review step as well before creation!

2

u/TheAceRedBarron 7h ago

But the feadback loop is suseptable when the skill only has one sample pipe. How do you track when it starts to slip off the rails?

1

u/Sullinator07 5h ago

“Claude make sure you don’t slip off the rails”
“ChatGPT make sure Claude doesn’t let it slip off the rails”
“Qwen, make sure ChatGPT doesn’t let Claude slip off the rails”
“Hermes make sure Qwen doesn’t let ChatGPT let Claude off the rails. Download more porn”

Prompt this into your models and change the last prompt to whatever you’re passionate about.

1

u/farfaraway 3h ago

In my experience, skills that aren't custom and tailored for general tasks never get used again.

2

u/thegodhimself119 1h ago

This makes sense and I agree generally! The most valuable skills tend to come from workflows you actually repeat.

2

u/SpartanHydrazine117 7h ago

curious how are secrets in tool output handled before sessions are stored?

2

u/thegodhimself119 7h ago

Secrets are redacted at the collection layer, before session traces are persisted or used to generate skills! See https://docs.beacon.sh/security/retention-redaction

2

u/Longjumping_Music572 6h ago

Do you have any metrics?

3

u/thegodhimself119 3h ago

Metrics on memory benchmarks or something else? What sort of evals you be looking to see?

2

u/Longjumping_Music572 3h ago

Yeah memory benchmarks.

2

u/Human_Flounder7067 3h ago

Really cool! I jump between Claude Code, Cursor and Codex all day so I'll try this out.

1

u/thegodhimself119 1h ago

Awesome! Would love your feedback :)