Repository navigation
Description
Problem
NemoClaw has strong agent-facing documentation, skills, CLI references, and recovery surfaces, but an external assistant still cannot give a credible, repeatable answer to:
Is NemoClaw fast enough on this machine, and what latency does the sandbox/policy/inference path add?
The OSS Table Manners readiness review called this out as the main remaining Fair area: there is no developer-facing benchmark harness or perf-on-this-machine workflow for sandbox cold start, inference round-trip latency, or policy-shield overhead. Without this, Sprint 7 performance/readiness claims are hard to validate and hard for an agent to summarize for a builder.
Goal
Add a small, agent-runnable benchmark workflow that measures core NemoClaw first-use and inference-path timings, then emits a concise Markdown value report that a developer or assistant can attach to support/debug/planning conversations.
Proposed Scope
- Add a lightweight benchmark harness, for example under
scripts/bench/, that can be run by a developer or coding assistant. - Measure at least:
- sandbox cold-start or first usable prompt time
- inference round-trip latency through the routed inference layer
- policy-shield overhead on a fixed, documented request set
- Emit machine-readable output, such as JSON, for follow-on analysis.
- Emit a short Markdown report that includes:
- environment summary
- provider/model under test
- benchmark timings
- pass/warn/fail interpretation where thresholds are owner-approved
- links or pointers to troubleshooting next steps when results are poor
- Add documentation, likely
docs/reference/benchmarking.md, explaining:- prerequisites
- supported providers/platforms
- how to run the benchmark
- how to interpret and share the report
Acceptance Criteria
- A developer can run one documented command to produce both structured benchmark output and a Markdown value report.
- The benchmark records sandbox/startup, inference round-trip, and policy overhead timings, or explicitly marks a metric unsupported with a clear reason.
- The report includes enough environment and provider context to compare results across machines without exposing secrets.
- The workflow fails clearly when required prerequisites, credentials, provider configuration, or sandbox state are missing.
- Documentation explains how an agent should run the benchmark and summarize the result.
- The benchmark does not require posting telemetry or sending results to an external service.
Non-Goals
- Do not establish permanent public performance claims from a single local run.
- Do not require GPU hardware for the first version unless the selected provider path requires it.
- Do not add mutating policy or sandbox-management behavior beyond what is needed to run the benchmark safely.
- Do not make benchmark thresholds normative until owners approve baseline expectations.
Related Work
- perf(onboard): define onboard performance budget and CI regression signal #3776 - Define onboard performance budget and CI regression signal
- perf(cli): add opt-in onboard profiling traces #3070 - Add opt-in onboard profiling traces
- Model performance / capability audit across supported agents #3123 - Model performance and capability audit across supported agents
Activity
abhi-0906 commentedon Jun 23, 2026
v1 opened as PR #5649 (
scripts/bench/,npm run bench).Delivered: live inference round-trip latency; sandbox cold-start + policy-shield overhead ingested from onboard trace spans (
nemoclaw.sandbox.create_stream,nemoclaw.sandbox.readiness_wait,nemoclaw.policy.application); JSON (nemoclaw.bench.v1) + Markdown value report; secret redaction; no external telemetry; clear non-zero failure on missing prerequisites; README incl. agent-usage. 23 unit tests.Deferred (not in this PR, design-gated): normative pass/warn/fail thresholds (depends on #3776) and the
docs/reference/benchmarkingsite page. Live GPU-path numbers still need DGX Spark validation.docs(inference): add single-user vLLM validation matrix to Spark reci…
docs(inference): add DGX Spark local-assistant golden recipe (NVIDIA#…
docs(inference): add single-user vLLM validation matrix to Spark reci…
feat(bench): add agent-runnable value benchmark harness (NVIDIA#5604)
feat(bench): add agent-runnable value benchmark harness (NVIDIA#5604)
fix(bench): validate shareable benchmark evidence (NVIDIA#5604)
test(bench): satisfy conditional guard (NVIDIA#5604)
fix(bench): require TLS for remote inference (NVIDIA#5604)
fix(bench): constrain report secret boundaries (NVIDIA#5604)
feat(bench): add agent-runnable value benchmark harness (NVIDIA#5604) (…
feat(bench): add agent-runnable value benchmark harness (NVIDIA#5604) (…