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

197 Upvotes

18 comments sorted by

13

u/Comfortable-Duty7143 1d ago

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

2

u/TheAceRedBarron 1d 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 1d 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 1d 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 1d 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/TheAceRedBarron 16h ago

Hmm use this to force the router to call competitor rails to ensure QC

1

u/touristtam 8h ago

Wouldn't make sense to call something like https://github.com/agent-ecosystem/skill-validator at interval to ensure freshness?

1

u/farfaraway 1d ago

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

2

u/thegodhimself119 1d ago

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

2

u/SpartanHydrazine117 1d ago

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

2

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

Do you have any metrics?

3

u/thegodhimself119 1d ago

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

2

u/Longjumping_Music572 1d ago

Yeah memory benchmarks.

2

u/Human_Flounder7067 1d ago

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

1

u/thegodhimself119 1d ago

Awesome! Would love your feedback :)

1

u/Vulltrax 12h ago

Combine them all with something like Orca or T3.

2

u/Irmao0 20h ago

Difference between this and Google's harness2?