ai21

PyPI

Is ai21 safe to use?

Based on the latest brin safety scan, no vulnerabilities or threats were detected for ai21 v4.3.0. Trust score: 60/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)

ai21 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.

ai21 Capabilities & Permissions

What ai21 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.

api.ai21.combedrock-runtime.{region}.amazonaws.comwww.googleapis.com{region}-aiplatform.googleapis.com
Protocols: https

Filesystem Access

Reads and writes to the filesystem.

.env (rw)

Environment Variables

Accesses the following environment variables.

AI21_LOG_LEVEL_ENV_API_HOST_ENV_API_KEY_ENV_API_VERSION_ENV_AWS_REGION_ENV_LOG_LEVEL_ENV_NUM_RETRIES_ENV_TIMEOUT_SEC

AGENTS.md for ai21

Good instructions lead to good results. brin adds ai21 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 →

ai21 Documentation & Source Code

For the full ai21 README, API documentation, and source code, visit the official package registry.

Frequently asked questions about ai21 safety

Weekly Downloads

N/A

Version

4.3.0

License

MIT

Last Scanned

Feb 12, 2026

Trust Score

60/100·Legitimacy signals, not safety

Capabilities

Network

Connects to: api.ai21.com, bedrock-runtime.{region}.amazonaws.com, www.googleapis.com...

Filesystem

Reads & Writes files

Environment

Accesses: AI21_LOG_LEVEL, _ENV_API_HOST, _ENV_API_KEY...