agentleFS
sam-siavoshiansam-siavoshian/Symposium/CLAUDE.md

Symposium

CLAUDE.md1 starsChanged 8 months agoMITView on GitHub

Multi-agent reasoning engine. MCP server that spawns parallel Nia-powered research agents to discover knowledge that language models don't have, then stores it for future recall. Bun. Not Node. Use bun test, bun run, bun install. MCP server (stdio transport). Three tools: symposium (main research pipeline), symposium_knowledge (inspect stored knowledge), and symposium_export (export knowledge as training data). Pipeline: recall -> decompose -> spawn agents -> collect -> synthesize -> verify (advisor) -> learn -> deliver Key files: - src/index.ts - MCP…

  • Reads credentials

The file

We split this CLAUDE.md into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is 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.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Critical: Do NOT set OpenAPI.BASE manually.

    line 36
  2. Distinctive:

    All log output goes to stderr (MCP uses stdout for protocol).

    line 54

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

Symposium

Multi-agent reasoning engine. MCP server that spawns parallel Nia-powered research agents to discover knowledge that language models don't have, then stores it for future recall.

Runtime

Bun. Not Node. Use bun test, bun run, bun install.

Architecture

MCP server (stdio transport). Three tools: symposium (main research pipeline), symposium_knowledge (inspect stored knowledge), and symposium_export (export knowledge as training data).

Pipeline: recall -> decompose -> spawn agents -> collect -> synthesize -> verify (advisor) -> learn -> deliver

Key files:

  • src/index.ts - MCP server, tool handlers, output formatting
  • src/tools/symposium.ts - Main pipeline orchestration, fast path logic
  • src/engine/spawner.ts - Parallel agent dispatch with batching, retry, dual-mode
  • src/engine/collector.ts - Evidence scoring (agent convergence + tracer evidence + cross-validation)
  • src/engine/synthesizer.ts - Oracle synthesis with fallback
  • src/engine/learner.ts - Store novel discoveries to Nia Context
  • src/engine/recall.ts - Search Nia Context for prior knowledge
  • src/nia/client.ts - Nia SDK wrapper (Oracle, Tracer, Context, Advisor, Search, Subscribe)
  • src/utils/prompts.ts - All prompt templates (decomposer, 6 research dimensions, synthesizer, fast path)

Nia API

Uses nia-ai-ts SDK. Key services:

  • NiaSDK.oracle - Research agents and synthesis (createJob, waitForJob)
  • GithubSearchService - Tracer (GitHub code search)
  • V2ApiContextsService - Context Sharing (learning loop storage)
  • AdvisorService - Code verification against indexed docs
  • V2ApiSearchService - Fast code search
  • V2ApiSourcesService - Auto-subscribe to dependency docs

Critical: Do NOT set OpenAPI.BASE manually. The NiaSDK constructor handles it.

Testing

bun test runs all tests. 96 tests across 8 files. Tests don't require NIA_API_KEY.

NIA_API_KEY=key bun run scripts/smoke-test.ts for live API verification.

Type checking

bunx tsc --noEmit --skipLibCheck

Key design decisions

  • Quick mode (demo default, 3 agents) skips the decomposer Oracle call. Uses hardcoded defaults.
  • api_correctness runs in dual mode: both Oracle AND Tracer in parallel for cross-validated evidence.
  • Fast path: if recall finds prior knowledge, skips full research. One Oracle call instead of 5+.
  • Evidence scoring is computed from real signals (agent count, repo count, cross-validation), not hallucinated by Oracle.
  • All log output goes to stderr (MCP uses stdout for protocol).
  • Server starts even without NIA_API_KEY (returns clear errors on tool calls instead of crashing).
  • Oracle uses streaming (SSE) first, falls back to polling. Saves ~3-9s per pipeline run.
  • Synthesizer receives pre-computed evidence score to calibrate its confidence output.
  • Knowledge quality gate: 4-criteria test (novel, corrective, specific, verified) before storing.
  • Auto-subscribe: extracts library names from issue and indexes their docs before research.
  • safeParseJSON handles trailing commas, comments, multi-code-block extraction, balanced brace matching.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.