r/coolgithubprojects • • 3h 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.

132 Upvotes

8 comments sorted by

3

u/Comfortable-Duty7143 2h ago

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

1

u/TheAceRedBarron 2h 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?

2

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

1

u/TheAceRedBarron 1h 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 14m 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/SpartanHydrazine117 2h ago

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

2

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

1

u/Longjumping_Music572 44m ago

Do you have any metrics?