xai-sdk

PyPI

Is xai-sdk safe to use?

Based on the latest brin safety scan, no vulnerabilities or threats were detected for xai-sdk v1.7.0. Trust score: 85/100. No known CVE vulnerabilities, no detected threat patterns, and no suspicious capabilities identified. This is an automated, point-in-time assessment.

Install (safety-checked)

xai-sdk Passed Security Checks

No security concerns detected

clean
CVEs

0

Threats

0

Install Scripts

0

No Concerns Detected

No security concerns detected in the latest brin assessment. This is an automated, point-in-time evaluation — security posture may change.

This is an automated, point-in-time assessment and may contain errors. Findings are risk indicators, not confirmed threats. Security posture may change over time. Maintainers can dispute findings via the brin review process.

xai-sdk Capabilities & Permissions

What xai-sdk can access when installed. Review these capabilities before using with AI agents like Cursor, Claude Code, or Codex.

Network Access

This package makes network requests.

assistant.example.comdocs.x.aiexample.comexample.com)first.example.comgithub.comhatch.pypa.ioimages.pexels.comimages.unsplash.comir.tesla.com+8 more
Protocols: http, https

Filesystem Access

Reads and writes to the filesystem.

.env (rw).env (rw).env (rw).env (rw).env (rw).env (rw).env (rw)

Environment Variables

Accesses the following environment variables.

OTEL_EXPORTER_OTLP_PROTOCOLXAI_API_KEYXAI_MANAGEMENT_KEYXAI_SDK_DISABLE_SENSITIVE_TELEMETRY_ATTRIBUTESXAI_SDK_DISABLE_TRACING

AGENTS.md for xai-sdk

Good instructions lead to good results. brin adds xai-sdk documentation to your AGENTS.md so your agent knows how to use it properly—improving both safety and performance.

brin init

Vercel's research: 100% accuracy with AGENTS.md vs 53% without →

xai-sdk Documentation & Source Code

For the full xai-sdk README, API documentation, and source code, visit the official package registry.

Frequently asked questions about xai-sdk safety

Weekly Downloads

575.8K

Version

1.7.0

License

ISC

Other Versions

Last Scanned

2 days ago

Trust Score

85/100·Legitimacy signals, not safety

Capabilities

Network

Connects to: assistant.example.com, docs.x.ai, example.com...

Filesystem

Reads & Writes files

Environment

Accesses: OTEL_EXPORTER_OTLP_PROTOCOL, XAI_API_KEY, XAI_MANAGEMENT_KEY...

Is xai-sdk Safe? | PyPI Safety Scan - brin