Noolog Docs

Quorum SDK

latest documentation.

Architecture

  • Architecture & NATSHow NSED uses NATS JetStream for orchestration, task distribution, and state.
  • Agent internalsThe quorum-rs crate's library API and agent architecture for Rust developers.
  • Rooms & policiesWhy a policy (who deliberates and how) is orthogonal to a room (who can watch).
  • Policy & sessionsWhy the interactive client treats policy as the model and the session as the thread.
  • Provider registryWhy providers are a registry of factories a third-party crate can extend without forking.
  • MiddlewareThe pluggable pipeline for validation, transformation, and moderation at agent lifecycle points.
  • Persona layer stackingWhy personas stack in layers and why md paths resolve against process CWD.
  • Working dir overrideHow a before_prompt middleware picks the directory an agent's subprocess runs in.
  • read_file sandboxWhy HTTP-only agents get a sandboxed, read-only file tool scoped to operator roots.
  • Claim citationsHow an evaluator's claim quote is grounded back to the exact proposal span it came from.
  • Compact historyWhy agents fold older tool results into a summary to survive context-window pressure.
  • Context guardsWhy the shrink-guard counts tool schemas alongside messages when fitting a call.
  • Agent rankingHow agents declare capabilities and earn competitive rank via floor-based promotion.
  • Telemetry designWhy agent telemetry is metrics-only, fire-and-forget, with deterministic trace ids.
  • Thread TUI roadmapRoadmap for an email-style, branching, newest-on-top conversation thread view.
  • About provider-reported costWhy the SDK carries the charge a provider reported alongside its own estimate, and why that figure is optional.
  • About model-down benching

Tutorials

How-to

  • Redeem inviteBootstrap scoped NATS credentials by redeeming a single-use invite code on the agent host.
  • Register a deviceMint an operator token from a device key pair — self-serve, no invite code or admin needed.
  • Run an agent fleetBoot a whole agent fleet from a single quorum.yml with one quorum serve command.
  • Smoke-test an agentVerify one of your own agents in three escalating stages — chat, tool-calling, then full NSED.
  • Use the thread TUIHold a branching, email-style conversation whose replies are quorum deliberations.
  • Use Claude Code pluginExpose every quorum lifecycle command as a slash command inside Claude Code.
  • Compose personaBuild an agent persona from reusable stacked layers of shared markdown prompt files.
  • Register a providerTeach quorum serve a new provider.type via a ProviderFactory — no fork required.
  • Develop own agentBuild a deliberation agent in Rust and connect it to a quorum-rs orchestrator.
  • Limit job concurrencyCap an agent to N concurrent jobs so tasks sharing mutable state can't race and corrupt it.
  • Expose dashboard (LAN)Reach the per-agent control-plane dashboard from other hosts, and lock it down safely.
  • Dump promptsCapture each agent's exact model payload to hunt prompt bloat, with no config change or rebuild.
  • Opt out telemetryDisable all telemetry emission from your agent with a single config flag.
  • Verify telemetrySubscribe to your agent's telemetry subtree to inspect the events it actually publishes.
  • Inspect telemetry (NATS CLI)Live-tail and filter agent telemetry events straight from the NATS CLI, no forwarder needed.

Reference

  • GlossaryKey terms used across the NSED documentation and CLI output.
  • Chat Completions APIOpenAI-compatible /v1/chat/completions endpoint mapping model tags to NSED policies.
  • Exec agent protocolBridge protocol for external stdin/stdout subprocesses to act as NSED deliberation agents.
  • MCP agent protocolMCP protocol giving external agents full tool access during NSED deliberation.
  • Telemetry catalogEvery event type published by quorum-rs telemetry, with fields and redaction rules.
  • Sandboxed toolsSandboxed read_file and grep_search tools available to non-Claude agents.
  • Dashboard configThe knobs controlling whether the agent dashboard starts, where it binds, and how it authenticates.
  • openrouter configFields of the openrouter agent-config block for provider routing, ZDR, and web search.
  • persona yaml shapesThe two shapes the persona field on an agent entry accepts.
  • Task SKIP ProtocolHow an agent deliberately sits out a task as an explicit answer instead of silence.
  • Thread TUI refKeys, line formats, and persisted data model of the quorum thread TUI.
  • Proposal Structure MetadataThe measured shape evaluators see on each candidate, and the tools that address it by line.
  • Sampling ParametersWhich request fields are sent, when they are omitted, and how to talk to a backend that fixes them server-side.
  • Provider-Executed ToolsTools the backend runs itself, where our job is to hand the arguments back rather than do the work.
  • Task ClockThe date a task was issued, and why it is stated to the model rather than offered as a tool.
  • Model HealthHow an agent decides its own model is unusable, and why only one kind of answer benches it.
  • Agent Identity KeysThe keys an agent declares, the signatures an operator attaches to a held response, and what is carried but not yet checked.