self-verify-beacon-in-sandbox
Skill1.8k starsChanged 2 months agoMITView on GitHub
Verify a Beacon change end to end by running a real Claude Code session inside a disposable Linux cloud sandbox and checking that Beacon captured what the agent actually did. Use when asked to verify, validate, test, or prove that a Beacon change works for real rather than just compiling; when asked whether telemetry, event capture, commands, file paths, prompts, tokens, or approvals are still recorded correctly; when investigating a suspected capture gap; or when preparing a Beacon pull request that touches the CLI, hooks, or the collector exporter.
- Reads credentials
- Installs packages
Trending
Quiet since October.about the whole repository
Who's talking about Asymptote-Labs/agent-beacon
- A Hacker News story“Show HN: Beacon - The open-source layer for local AI agent visibility”Hacker News · May 18, 2026 · 21 points
- @metasynthesis.net“It's regrettable that we're all having 1:1 conversations with AI rather than contributing to a pool of …”Bluesky · Sep 30, 2026 · 2 likes
- @reponews.bsky.social“Asymptote-Labs/agent-beacon [MIT License] 複数AIエージェントのセッション履歴を統合し、再利用できる知識にします ツール横断の記憶が便利です 言語:Go, …”Bluesky · Sep 26, 2026 · 2 likes
- @beyondthecode.bsky.social“🧠 The team developed an open-source tool that provides visibility into local AI agent operations. The …”Bluesky · May 18, 2026 · 1 likes
- sudosubin/agents.nix“agent-skills.github.asymptote-labs.agent-beacon: 1.3.30 → 1.3.31”GitHub · Oct 5, 2026
The biggest 5 of 20 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 20
Talked about on GitHub, Bluesky and Hacker News (20 times).
On GitHub · 16
- Oct 5, 2026agent-skills.github.asymptote-labs.agent-beacon: 1.3.30 → 1.3.31 — sudosubin/agents.nix0 reactions
- Oct 5, 2026agent-skills.github.asymptote-labs.agent-beacon: 1.3.29 → 1.3.30 — sudosubin/agents.nix0 reactions
- Oct 4, 2026agent-plugins.github.asymptote-labs.agent-beacon: init at 1.3.29 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.asymptote-labs.agent-beacon: 1.3.21 → 1.3.29 — sudosubin/agents.nix0 reactions
- Oct 1, 2026herdr(l3): parse Beacon Managed status correctly (#209) — RossGraeber/OAC0 reactions · 3 comments
11 more on GitHub
- Sep 29, 2026L2 — Beacon desk research: close or carry the four UNVERIFIED items at the pinned tag — RossGraeber/OAC0 reactions · 2 comments
- Sep 29, 2026L1 — Decision record: Beacon beside OAC, not inside it (pin, license, operator decisions Q1-Q5) — RossGraeber/OAC0 reactions · 3 comments
- Sep 29, 2026Epic L — Beacon (agent-beacon) as an external shared-memory layer beside OAC sessions — RossGraeber/OAC0 reactions · 10 comments
- Sep 25, 2026agent-skills.github.asymptote-labs.agent-beacon: init at 1.3.21 — sudosubin/agents.nix0 reactions
- Sep 23, 2026ATM-ORDER-053 — Zero-Cost Skill Intake + Install-Free ATM Skill Broker Expansion — simondalmasso/ATM0 reactions · 1 comment
- Sep 23, 2026Evaluate Agent Beacon as a bounded cross-harness collection adapter — joefeser/artifact-memory0 reactions
- Sep 23, 2026Practice 3: a lesson comes from a founder correction, not from an agent scoring its own runs — adriaan-wessels/solo-ai-kit0 reactions
- Sep 1, 2026sep 2026 — kimtth/azure-openai-llm-notes0 reactions
- Jul 1, 2026Asymptote-Labs/agent-beacon: 에이전트용 오픈소스 텔레메트리 레이어 — roomedia/ax-trend0 reactions · 1 comment
- May 25, 2026🔍 Weekly Discovery: 50 new tools found (2026-05-25) — heylabs-co/dev-tools-portal0 reactions
- May 19, 2026Miniflux Digest · AI 信息 · 2026-05-19 — urzz/repo_for_report0 reactions
On Bluesky · 3
- Sep 30, 2026It's regrettable that we're all having 1:1 conversations with AI rather than contributing to a pool of knowledge like we used to. It's the… — @metasynthesis.net2 likes and reposts
- Sep 26, 2026Asymptote-Labs/agent-beacon [MIT License] 複数AIエージェントのセッション履歴を統合し、再利用できる知識にします ツール横断の記憶が便利です 言語:Go, TypeScript 種類:Infra/Runtime ⭐ Star: +365… — @reponews.bsky.social2 likes and reposts
- May 18, 2026🧠 The team developed an open-source tool that provides visibility into local AI agent operations. The layer enables monitoring and… — @beyondthecode.bsky.social1 likes and repost · 1 reply
On Hacker News · 1
- May 18, 2026Show HN: Beacon - The open-source layer for local AI agent visibility21 points · 10 comments
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- beacon-sandbox/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Always start here. It is free, needs no sandbox, and prints the exact fix for anything missing:
- Very specific: line 27
Add --json for machine-readable output with a top-level ready boolean.
- Very specific: line 46
The Anthropic credential: Never invent, echo, or write a key.
- Very specific: line 50
Do not proceed to step 3 while doctor reports any FAIL — the run will fail later and more confusingly.
- Very specific: line 92
A FAIL may be a stale assertion, not a bug: Read the failing expectation's why field against the verdict's action histogram before …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Verify Beacon in a sandbox
This repository ships beacon-sandbox, which rents a disposable Linux sandbox from Modal,
installs the Beacon under test, runs a real Claude Code session inside it, and checks whether
Beacon recorded what the agent did.
Read beacon-sandbox/AGENTS.md for the full operating manual — scenario selection, how to
interpret a verdict, and the failure modes that look like Beacon bugs but are not. The commands
below are enough to start; that file is what stops you misreading the result.
Step 1: check prerequisites
Always start here. It is free, needs no sandbox, and prints the exact fix for anything missing:
cd beacon-sandbox
go run ./cmd/beacon-sandbox doctorAdd --json for machine-readable output with a top-level ready boolean.
Step 2: resolve what doctor reports
Apply the fix: line it prints, then rerun doctor. The two build artifacts you can resolve
yourself:
cd cli/beacon && make build-linux-amd64 # if beacon_binary FAILs
cd beacon-sandbox && go run ./cmd/beacon-sandbox doctor --fix # downloads the collectorTwo prerequisites you must NOT try to resolve yourself:
- Modal authentication.
modal token newcompletes through an authenticated web session, so it opens a browser and blocks — running it yourself will hang until timeout. Ifmodal_authFAILs, ask the user to run it, suggesting they type! pip install modal && modal token newso the output lands in the conversation. In CI,MODAL_TOKEN_IDandMODAL_TOKEN_SECRETwork non-interactively instead. - The Anthropic credential. Never invent, echo, or write a key. If
anthropic_credentialFAILs, ask the user which of the three paths they want:ANTHROPIC_API_KEY,--api-key-command CMD, or--modal-secret NAME.
Do not proceed to step 3 while doctor reports any FAIL — the run will fail later and more
confusingly.
Step 3: run it
go run ./cmd/beacon-sandbox run --scenario s02-bash-command # one scenario -- do this while iterating
go run ./cmd/beacon-sandbox run # the whole suite, ~30 minPick the scenario matching what changed:
| You changed | Scenario |
| Command capture / exporter tool handling | s02-bash-command |
| File read or write signals | s03-file-write or s04-file-read |
| Prompt, session, token, or cost capture | s01-hello |
| Approval or permission handling | s07-denied-tool |
endpoint install, config paths, service startup | i01-install-supervised |
| The systemd backend, unit files, Linux system mode | i02-install-systemd |
| Something broad, or preparing a PR | the whole suite (bare run) |
The s0* scenarios collect through beacon ci exec, a temporary collector. The i0* scenarios
install Beacon first, so they are the only ones that cover installation and service management.
i02 runs inside a nested privileged container, because systemd will not start unless it is PID 1
and the sandbox provider's own init holds that slot — expect it to take several minutes longer.
Other flags: --repeat N to tell flaky from broken, --keep-sandbox to leave the instance up for
debugging.
Four things not to get wrong
- A run costs real money — about $0.06 of sandbox plus a few cents of API per scenario, on
the user's account. Say what you are about to run and roughly what it costs before spending
it, and prefer a single
--scenariowhile iterating. If you only changed what counts as correct, useverify <run-dir>instead — it re-judges collected artifacts offline and free. - A change under
collector-builder/needs the collector rebuilt. The telemetry normalization compiles intobeacon-otelcol, not thebeaconCLI, so otherwise you verify the wrong binary and get a meaningless pass.doctorwarns about this ascollector_freshness. - INCONCLUSIVE means the model never did the work — retry the scenario; do not investigate Beacon.
- A FAIL may be a stale assertion, not a bug. Read the failing expectation's
whyfield against the verdict's action histogram before concluding anything.
beacon-sandbox/AGENTS.md explains each of these properly, plus diff, scenario authoring, and
how to self-test that the checks still have teeth.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

