debug-inference
Skill15k starsChanged 59 days agoApache-2.0View on GitHub
Debug inference clients that use an attached provider and its native endpoint, including hosted APIs and host-local Ollama, vLLM, SGLang, TRT-LLM, LM Studio, or NIM. Use for provider attachment, endpoint policy, credential substitution, topology, and migration from the removed managed inference endpoint. Trigger keywords - debug inference, managed inference endpoint, local inference, ollama, lm studio, vllm, sglang, trtllm, NIM, inference failing, model server unreachable, credential_endpoint_mismatch, host.openshell.internal.
Trending
Less talk lately.about the whole repository
Who's talking about NVIDIA/OpenShell
- @sungkim.bsky.social“When you feel you need a head-inducing list of configurable ACL for your shell/VM, to run your AI agents. …”Bluesky · Sep 29, 2026 · 23 likes
- cncf/sandbox“[Sandbox] OpenShell”GitHub · Sep 8, 2026 · 17 reactions
- @cboettig.bsky.social“hmm, openshell looks pretty interesting: github.com/NVIDIA/OpenS... basically just runs your agent in an …”Bluesky · Mar 23, 2026 · 4 likes
- A Hacker News story“OpenShell: Nvidia's sandbox for AI agents like OpenClaw”Hacker News · Mar 16, 2026 · 4 points
- @github-trending.bsky.social“🎉 Celebrating! 🎉 (500+ new stars) 📦 NVIDIA / OpenShell ⭐ 9,944 (+978) 🗒 Rust OpenShell is the safe, …”Bluesky · Sep 29, 2026 · 3 likes
The biggest 5 of 44 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 44
Talked about on GitHub, Bluesky and Hacker News (44 times).
On GitHub · 26
- Sep 8, 2026[Sandbox] OpenShell — cncf/sandbox17 reactions · 14 comments
- Jul 3, 2026feat: add openshell_direct adapter for NVIDIA OpenShell sandboxed agent execution — paperclipai/paperclip3 reactions · 1 comment
- Sep 27, 2026chore(deps): update dependency nvidia/openshell to v0.1.2 — fullsend-ai/fullsend2 reactions · 8 comments
- Aug 31, 2026Add retry with backoff for openshell binary download in sandbox setup — fullsend-ai/fullsend2 reactions · 3 comments
- Aug 28, 2026chore(deps): update dependency nvidia/openshell to v0.0.116 — fullsend-ai/fullsend2 reactions · 10 comments
21 more on GitHub
- Aug 22, 2026chore(deps): update dependency nvidia/openshell to v0.0.111 — fullsend-ai/fullsend2 reactions · 20 comments
- Aug 20, 2026sandbox name should be no more than 19 characters — fullsend-ai/fullsend2 reactions · 4 comments
- Aug 17, 2026Supporting Nvidia OpenShell as shell provider — langgenius/dify2 reactions · 1 comment
- Mar 19, 2026Support OpenShift deployment via agent-sandbox CRD — NVIDIA/NemoClaw2 reactions · 5 comments
- Oct 3, 2026feat: support Laya as a typed dispatch provider — kunchenguid/firstmate1 reaction · 3 comments
- Oct 1, 2026Update OpenShell to v0.1.3-pre.1 — openclaw/openclaw-enterprise1 reaction · 2 comments
- Sep 25, 2026Add NVIDIA OpenShell as an optional sandbox provider — napetrov/enterprise-agent-toolkit1 reaction · 3 comments
- Sep 2, 2026Migrate sandbox operations from OpenShell CLI subprocesses to the Go SDK — fullsend-ai/fullsend1 reaction · 4 comments
- Aug 25, 2026replace gateway info command calls as it's no longer available on recent OpenShell versions — openkaiden/kaiden1 reaction · 1 comment
- Aug 21, 2026feat(dify-agent): add OpenShell runtime backend — langgenius/dify1 reaction · 4 comments
- Aug 6, 2026Add controller-managed, time-bounded disruption protection for Sandbox pods — kubernetes-sigs/agent-sandbox1 reaction · 2 comments
- Aug 5, 2026rust: support SCCACHE_BASEDIRS across checkout roots — mozilla/sccache1 reaction · 6 comments
- Jul 26, 2026fix(openshell): bound generated sandbox names — openclaw/openclaw1 reaction · 5 comments
- Jul 14, 2026chore(deps): update dependency nvidia/openshell to v0.0.83 — fullsend-ai/fullsend1 reaction · 1 comment
- Jul 3, 2026Rewrite openshell-cli.ts on top of the new OpenShell typescript SDK — openkaiden/kaiden1 reaction · 5 comments
- Jun 30, 2026Update OpenCode to support VertexAI — openkaiden/kaiden1 reaction · 3 comments
- Jun 23, 2026[Bug]: Mirror mode with OpenShell >= 0.0.37 creates recursively nested previous-workspace directories in sandbox — openclaw/openclaw1 reaction · 1 comment
- Jun 11, 2026feat(openshell): build and create sandbox via openshell-image-builder — openkaiden/kaiden1 reaction · 4 comments
- Jun 3, 2026AgentHarness: phaseToCondition should fall back to status.conditions when phase=UNSPECIFIED — kagent-dev/kagent1 reaction · 2 comments
- May 10, 2026openshell: 0.0.116 -> 0.1.0 — NixOS/nixpkgs1 reaction · 10 comments
- Apr 18, 2026Composite action needs retry logic for OpenShell and CLI downloads to handle transient CDN failures — fullsend-ai/fullsend1 reaction · 7 comments
On Bluesky · 14
- Sep 29, 2026When you feel you need a head-inducing list of configurable ACL for your shell/VM, to run your AI agents. github.com/NVIDIA/OpenS... — @sungkim.bsky.social23 likes and reposts
- Mar 23, 2026hmm, openshell looks pretty interesting: github.com/NVIDIA/OpenS... basically just runs your agent in an OCI container (like we already do)… — @cboettig.bsky.social4 likes and reposts · 1 reply
- Sep 29, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 NVIDIA / OpenShell ⭐ 9,944 (+978) 🗒 Rust OpenShell is the safe, private runtime for autonomous AI… — @github-trending.bsky.social3 likes and reposts · 1 reply
- Sep 1, 2026NVIDIA / OpenShell: OpenShell is the safe, private runtime for autonomous AI agents. ★8466 https://github.com/NVIDIA/OpenShell — @rusttrending.bsky.social3 likes and reposts
- Jul 10, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 NVIDIA / OpenShell ⭐ 7,607 (+108) 🗒 Rust OpenShell is the safe, private runtime for autonomous AI… — @github-trending-rs.bsky.social3 likes and reposts
9 more on Bluesky
- Sep 29, 2026今日のGitHubトレンド NVIDIA/OpenShell OpenShellは、自律型AIエージェント向けの安全でプライベートな実行環境です。 エージェントにファイル操作やAPI利用などの機能を提供しつつ、ポリシーによってデータやネットワークへのアクセスを制限します。… — @dailygithubtrends.bsky.social2 likes and reposts
- May 13, 2026NVIDIA / OpenShell: OpenShell is the safe, private runtime for autonomous AI agents. ★5863 https://github.com/NVIDIA/OpenShell — @rusttrending.bsky.social2 likes and reposts
- Oct 2, 2026AI news - Oct 2, 2026 1. Cloudflare Releases Open-Source Clef Decision Models LINK 2. NVIDIA OpenShell enforces agent security via… — @hackobar.bsky.social1 likes and repost · 1 reply
- Oct 1, 2026NVIDIA / OpenShell: OpenShell is the safe, private runtime for autonomous AI agents. ★13657 https://github.com/NVIDIA/OpenShell — @rusttrending.bsky.social1 likes and repost
- Jul 22, 2026NVIDIA / OpenShell: OpenShell is the safe, private runtime for autonomous AI agents. ★7733 https://github.com/NVIDIA/OpenShell — @rusttrending.bsky.social1 likes and repost
- Jun 2, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 NVIDIA / OpenShell ⭐ 6,582 (+142) 🗒 Rust OpenShell is the safe, private runtime for autonomous AI… — @github-trending-rs.bsky.social1 likes and repost
- May 14, 2026📦 NVIDIA / OpenShell ⭐ 5,866 (+46) 🗒 Rust OpenShell is the safe, private runtime for autonomous AI agents. — @github-trending-rs.bsky.social1 likes and repost
- Mar 21, 2026NVIDIA OpenShell: safe, private runtime for autonomous AI agents https://github.com/NVIDIA/OpenShell — @nono2357.bsky.social1 likes and repost · 1 reply
- Sep 29, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 NVIDIA / OpenShell ⭐ 9,944 (+978) 🗒 Rust OpenShell is the safe, private runtime for autonomous AI… — @github-trending-rs.bsky.social0 likes and reposts · 1 reply
On Hacker News · 4
- Mar 16, 2026OpenShell: Nvidia's sandbox for AI agents like OpenClaw4 points · 1 comment
- Oct 2, 2026Nvidia/OpenShell: Safe, private runtime for autonomous AI agents2 points
- Apr 21, 2026Nvidia OpenShell: safe, private runtime for autonomous AI agents2 points
- Mar 17, 2026OpenShell – private runtime for autonomous AI agents2 points
In this repository25 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- build-from-issueSkill
- build-openshell-mxc-windowsSkill
- create-github-issueSkill
- create-github-prSkill
- create-rfcSkill
- create-spikeSkill
- fix-security-issueSkill
- helm-dev-environmentSkill
- launch-openshell-gatorSkill
- review-github-prSkill
- review-security-issueSkill
- sbomSkill
- sync-agent-infraSkill
- test-release-canarySkill
- triage-issueSkill
- tui-developmentSkill
- update-docs-from-commitsSkill
- watch-github-actionsSkill
- openshell-policy-advisorSkill
- gator-gateSkill
- debug-openshell-clusterSkill
- generate-sandbox-policySkill
- openshell-cliSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 13
Use installed openshell --help output as the authority for command syntax.
- Distinctive: line 40
Check that the profile:
- Very specific: line 57
Add the required --credential KEY or --credential KEY=VALUE arguments shown by the profile.
- Distinctive: line 76
After updating an ordinary static provider, wait for that change and launch a new client.
- Distinctive: line 78
Keep credentials and issued references out of diagnostic output.
- Distinctive: line 116
Verify the engine from the gateway host.
- Distinctive: line 117
Verify it listens on an address reachable from the gateway runtime.
- Very specific: line 118
Import a custom profile naming host.openshell.internal and the actual port.
- Distinctive: line 120
Create and attach the provider.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill 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.
Files
Debug Inference
Diagnose inference as ordinary provider-authorized network traffic. OpenShell no longer supplies a managed inference route, rewrites request shapes, or selects a model. The application calls the provider's native endpoint and owns its base URL, model, request format, and timeout.
Use installed openshell --help output as the authority for command syntax.
Refer to the published provider management guide
and provider profile guide
for current behavior.
Diagnostic Workflow
1. Confirm Gateway and Sandbox Context
openshell status
openshell gateway info
openshell sandbox get <sandbox>For a host-local model server, host.openshell.internal identifies the machine
running the gateway. It does not identify the operator's laptop when the gateway
is remote. A server listening only on 127.0.0.1 may also be unreachable from a
container; bind it to an address reachable from the gateway runtime.
2. Inspect the Provider and Its Profile
openshell provider get <provider>
openshell profile export <profile-id> -o yamlCheck that the profile:
- Names the exact endpoint host, port, and protocol the client calls.
- Allows the client binary.
- Declares the credential key and intended authentication style.
- Uses narrow HTTP rules when the provider should expose only part of an API.
For a custom or self-hosted OpenAI-compatible endpoint, import an endpoint-bearing profile. A base URL stored only in provider configuration does not authorize a new endpoint.
openshell profile lint -f ./provider-profile.yaml
openshell profile import -f ./provider-profile.yaml
openshell provider create --name <provider> --type <profile-id>Add the required --credential KEY or --credential KEY=VALUE arguments shown
by the profile. Never broaden endpoint policy merely to silence a credential
binding error.
3. Confirm Attachment
openshell sandbox provider list <sandbox>
openshell sandbox provider attach <sandbox> <provider> --wait --timeout 30Save the change's receipt_id and use openshell sandbox provider status <sandbox> <provider> --receipt <receipt-id> --wait --timeout 30 to check when it takes effect. Success confirms that the sandbox applied the credentials, policy, and environment for new processes. If the result is pending, failed, withheld, or superseded, inspect its reason before launching the client.
Launch the client after the attachment wait succeeds so it receives the updated environment:
openshell sandbox exec <sandbox> -- <client-command>After updating an ordinary static provider, wait for that change and launch a new client. An existing process keeps its revision-scoped reference; readiness does not make the old reference resolve the replacement value. Diagnose managed-refresh credentials according to their own lifecycle.
Keep credentials and issued references out of diagnostic output. Acknowledged detach revokes future credential resolution and removes the reference from future process environments. Requests already forwarded may still finish:
openshell sandbox provider detach <sandbox> <provider> --wait --timeout 304. Verify Native Client Configuration
The application must use the real upstream contract:
- Native provider base URL, not the retired managed virtual endpoint.
- Real model ID, not a placeholder that OpenShell used to rewrite.
- Native OpenAI, Anthropic, Vertex, or other provider request shape.
- Application-owned timeout and retry settings.
- The credential environment variable declared by the attached profile.
Probe the exact endpoint from a newly launched sandbox process. Start with a non-secret discovery endpoint when the provider offers one, then send a minimal inference request using the provider's documented API shape.
5. Interpret Common Failures
| Symptom | Likely cause | Fix |
credential_placeholder_in_request_body | A body reference is invalid/revoked, or classification metadata is unavailable | Check the controlled denial reason; remove the reference from conversation history or restore provider access. Do not enable body credential rewriting or bypass flags to send tool output. Unknown literals and valid issued placeholders pass unchanged, including the model provider’s own placeholder. Header resolution does not enable body rewriting. |
| A retired managed endpoint fails DNS resolution | Client still uses the removed managed endpoint | Configure the provider's native base URL and attach an endpoint-bearing provider profile |
| Direct request is denied | Missing attachment, endpoint policy, HTTP rule, or binary authorization | Inspect the attached provider profile and sandbox effective policy |
credential_endpoint_mismatch | Credential profile does not authorize the request recipient | Correct the host/port/path or import a narrowly scoped profile for the intended endpoint |
request_authority_mismatch | HTTP authority differs from the CONNECT destination | Use the same host and effective port in both authorities |
| Credential variable is absent | Provider was not attached when this process launched, or profiles collide on a key | Attach the provider and launch a new process; resolve duplicate keys explicitly |
| Upstream rejects the model or body | Client relied on removed model/request rewriting | Configure the real model and provider-native request format in the application |
127.0.0.1 works on the host but not in the sandbox | Loopback refers to different runtime | Use host.openshell.internal or another gateway-reachable endpoint and profile |
| Host-local request times out | Server bind address, gateway topology, or host firewall blocks container-to-host traffic | Verify the listener and permit only the required gateway network path and port |
Host-Local Inference Checklist
For Ollama, LM Studio, vLLM, SGLang, TRT-LLM, and local NIM deployments:
- Verify the engine from the gateway host.
- Verify it listens on an address reachable from the gateway runtime.
- Import a custom profile naming
host.openshell.internaland the actual port. - Restrict the profile to the intended binaries and API paths.
- Create and attach the provider.
- Configure the application's base URL, model, and timeout.
- Probe the native endpoint from a newly launched sandbox process.
Reporting
Report:
- The active gateway and whether topology contributes to the failure.
- The provider, profile, attachment, endpoint, and client binary involved.
- The exact failed host, port, path, and request authority without secrets.
- Whether the client still relies on removed managed-routing behavior.
- The narrowest profile, attachment, or application configuration change that resolves the problem.
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
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.

