Sign inSign up

ajeetraina777/datadog-ai-guard-kit:latest

Manifest digest

sha256:f7248fa57df79368b20f1c334eed99861687da4df707358585ce023ea7735653

Last pushed

14 days by ajeetraina777

Type

Sandbox Kit

Manifest digest

sha256:f7248fa57df79368b20f1c334eed99861687da4df707358585ce023ea7735653

MIXIN
REQUIRES SECRETS

Installs the Datadog AI Guard SDKs (Python ddtrace + Node dd-trace) and wires agentless credentials/env so AI apps and agents built inside the sandbox can screen LLM prompts, tool calls, and outputs for prompt injection, jailbreaks, tool misuse, and sensitive-data exfiltration via client.evaluate(...). Datadog API/APP keys are proxy-injected and never enter the container. Sets DD_* environment variables (last-wins if a later --kit overrides them).


Arguments
NameRequiredDefaultDescription
apmOptionalfalse

Send AI Guard evaluations as APM traces so they appear in the Datadog UI ("AI Guard / Submit your first trace"). "true" runs a Datadog Agent container in the sandbox (trace intake on 127.0.0.1:8126) that forwards through the credential-injecting proxy. Default "false" keeps the kit fully agentless — evaluate() still returns live verdicts for inline enforcement, they just won't show in the trace UI.

envOptionalsandbox

Value for DD_ENV (deployment environment tag).

serviceOptionalsbx-ai-guard

Value for DD_SERVICE (service name tag).

siteOptionaldatadoghq.com

Datadog site (DD_SITE): datadoghq.com | datadoghq.eu | us3.datadoghq.com | us5.datadoghq.com | ap1.datadoghq.com


Credentials
NameServiceRequiredDescription
DD_API_KEYdatadogapiRequiredDatadog API key (sent as the DD-API-KEY header).
DD_APP_KEYdatadogappRequiredDatadog application key (sent as the DD-APPLICATION-KEY header).

Network Egress

app.${{ kit.args.site }}

${{ kit.args.site }}

*.${{ kit.args.site }}

pypi.org

files.pythonhosted.org

registry.npmjs.org

trace.agent.${{ kit.args.site }}

registry-1.docker.io

auth.docker.io

production.cloudflare.docker.com

Apply this mixin to a sandbox

sbx run <agent> --kit ajeetraina777/datadog-ai-guard-kit:latest

Make sure you have docker sbx installed

Run the following command to install sbx on your machine.

macOS
brew install docker/tap/sbx
Windows
winget install Docker.sbx
Learn more about docker sbx