Agents

Agents

Glimmer separates agent scopes cleanly so an assistant can never leak private data across studies or hallucinate unverified statistics.

1. Per-study Workbench Agent (Local KB or Live AEX/BYOK)

Inside /explore/<study>/, the persistent right-hand rail is scoped strictly to that study and your working branch (work/<user>-<study>):

  • Default (Local KB Engine): Runs locally with zero external API keys required. Answers strictly from verified aggregates, study pipelines, curated papers, and indexed graph nodes. Requests for variables outside the study's verified aggregate tables are refused honestly instead of fabricating numbers.
  • Live LLM (AEX Credits or TAP BYOK): Routes through the AEX best-price gateway (X-AEX-Routing: best-price, X-AEX-Cache-Key) or user-owned keys via TAP enclave references (X-AEX-Key-Ref), reporting real clearing micro-USD costs.

2. External Agents via Streamable-HTTP MCP

External tools (Claude, Cursor, Gemini CLI, custom pipelines) connect directly to /mcp/<org>/<study> using four read/verify tools (get_verified_findings, get_nulls_and_caveats, verify_provenance, format_citation). See MCP & Agents for setup and epistemic separation guarantees.

3. Public Hub Assistant

On /explore/, the site-level assistant (scope: "site") sees only the approved public catalog (site/explore/projects.json). It helps visitors discover studies and compare public summaries without ever touching gated study files.

4. First-Class Agent Identities & Always-On Background Scientists

Glimmer treats autonomous and background AI scientists as accountable, first-class identities rather than anonymous bots:

  • Explicit identity frontmatter: Every emitted node records authored_by, actor_type (human, agent, or background-agent), and agent_role alongside branch, created_at, and status.
  • Isolated working branches: Passing X-Glimmer-User (for example ai-sci-m02-p111@example.org) isolates each agent onto its own working branch (work/<agent-handle>-<study>) and thread so hundreds of concurrent background scientists never collide.
  • Typed scientific lifecycle: Agents emit first-class hypothesis, experiment, run-record, review, and claim nodes, run Seatbelt-sandboxed Python Compute checks (GLIMMER_AGG_JSON, GLIMMER_GRAPH_JSON, GLIMMER_PAPERS_JSON, GLIMMER_ALL_STUDIES_JSON), and stage work for human or peer-agent merge without ever modifying verified study findings.

5. Local CLI Skills

Install $glimmer in any local repository with glimmer install-skill --project . to give terminal coding agents structured access to canonical Markdown sidecars, BM25 search, and SHA-256 verification.