# pipecat-ai/nemotron-voicechat-dgx-spark — AlpLab Radar Static Code Audit

- Ring: `trial`
- Category: `agents`
- Overall score: `3.2/5`
- Implementation check: `verified`
- Maturity: `early`
- Audited commit: `587c3e08df6d` (read-only; nothing from the repository was executed)
- Reviewed at: 2026-12-02T10:57:24Z
- Repository: https://github.com/pipecat-ai/nemotron-voicechat-dgx-spark
- Radar entry: https://radar.alplab.co/#repo/pipecat-ai/nemotron-voicechat-dgx-spark
- License: `Apache-2.0`
- CI workflows: `.github/workflows`
- Tags: `voice-agents`, `pipecat`, `nemotron`, `dgx-spark`, `webrtc`

## Summary

A DGX Spark-only local runtime that verifies model artifacts, serves Nemotron VoiceChat over WebSocket, and fronts it with a Pipecat WebRTC voice bot.

## Implementation Check

README.md's local VoiceChat/Pipecat stack is implemented by `cli.command_up`, `server.py`'s v3 runtime, and `demo.create_pipeline`.

## When to Use

Use for a bounded, local DGX Spark pilot of full-duplex voice interaction and tool calling. Do not use for multi-client production or high-stakes autonomous tool routing.

## Sub-scores

| Dimension | Score |
|---|---|
| quality | 4.0/5 |
| usability | 2.5/5 |
| reliability | 3.0/5 |
| security | 3.5/5 |
| integration | 3.0/5 |

## Code Evidence

- src/nemotron_voicechat_runtime/bootstrap_download.py `download_all` downloads pinned revisions and verifies inventories, sizes, and SHA-256 hashes.
- src/nemotron_voicechat_runtime/cli.py `command_up` starts the model, health-checks loopback, then starts Pipecat and records runtime state.
- src/nemotron_voicechat_pipecat/demo.py `create_pipeline` connects SmallWebRTC audio to `NemotronVoicechatLLMService` at a loopback WebSocket.
- src/nemotron_voicechat_runtime/server.py `FunctionCallBudget` and `function_call_loop_terminal_events` bound tool-call loops and fail sessions closed.
- src/nemotron_voicechat_runtime/artifacts.py `load_config` validates frozen runtime environment and disjoint CPU affinities.
- .github/workflows/ci.yml runs locked dependency sync, `./voicechat test`, and Ruff on pushes and pull requests.

## Issues Found

None recorded.

## Key Risks

- config/production-candidate-1.toml supports only aarch64 NVIDIA GB10 hardware, a pinned driver/kernel, Python 3.12, and Docker.
- README.md states bootstrap downloads about 65 GiB, needs at least 90 GiB free, and can require gated NVIDIA model access.
- docs/known-limitations.md documents one-client, one-GPU operation and an 82 ms p95 cadence against an 80 ms target.
- docs/known-limitations.md reports stochastic tool mis-selection, skipped tools, transcript failures, and retained session failures.
- src/nemotron_voicechat_runtime/cli.py `command_test` excludes `tests/e2e` unless live qualification is explicitly requested.

## Reviewed Files

- `README.md`
- `pyproject.toml`
- `voicechat`
- `container/Dockerfile.public-runtime`
- `src/nemotron_voicechat_runtime/cli.py`
- `src/nemotron_voicechat_pipecat/demo.py`
- `src/nemotron_voicechat_runtime/artifacts.py`
- `src/nemotron_voicechat_runtime/bootstrap_download.py`
- `config/production-candidate-1.toml`
- `src/nemotron_voicechat_runtime/server.py`
- `src/nemotron_voicechat_pipecat/llm.py`
- `docs/known-limitations.md`
