Skip to main content Switch to mobile version vijil-sdk 0.1.72 Vijil SDK & CLI — measure and improve AI agent trustworthiness
pip install vijil-sdk==0.1.72 Copy PIP instructions
Measure and improve AI agent trustworthiness from your terminal or Python code.
Vijil provides a unified trust layer for the entire agent lifecycle — from discovery through deployment. Evaluate your agent against known standards, probe it under adversarial pressure with adaptive redteaming, adapt it to fix weaknesses, and protect it with runtime Guardrails.
pip install vijil-sdk Installing alongside vijil-console? Versions of vijil-console up to and including 0.1.41 also install a console script named vijil, and whichever package is installed last wins. From vijil-console 0.1.47 its command is vijil-console, and the two packages coexist cleanly. If vijil is not the CLI you expect, run pip install -U vijil-console (or uninstall it).
Requires Python 3.11, 3.12, or 3.13. Installs both the vijil CLI and the vijil Python SDK.
Using Vijil from Claude Desktop, Cursor, or other MCP-aware agent frameworks? See vijil-mcp — a separate package that exposes the Vijil platform as MCP tools. The SDK and the MCP server are independent: vijil-sdk runs in your Python process; vijil-mcp runs as a stdio server attached to your agent framework.
Migrating from the legacy vijil PyPI package (pre-2026)? See docs/migration-from-legacy-vijil.md for the install change, auth flow change, and command-by-command map.
Create an API key in your Vijil Console deployment: open your Profile page (/profile — click your name at the bottom of the left nav), find the API Keys card, and press Create key. You get a client ID (vk_…) and a one-time client secret. Export the pair; the SDK exchanges it for a short-lived access token automatically:
export VIJIL_CLIENT_ID="vk_..." export VIJIL_CLIENT_SECRET="..." # shown once at creation Have a Vijil Console account instead? Sign in through the browser — this opens the console's own sign-in and consent page, then stores the issued token locally:
vijil auth login-browser # opens the browser; saved to ~/.vijil/credentials.json Already have a bearer access token? Use it directly instead — vijil auth login saves one, or set it in the environment:
vijil auth login # paste an access token; saved to ~/.vijil/credentials.json export VIJIL_API_KEY=" " Quick start: CLI
# Evaluate against standard trust Harnesses vijil evaluate --baseline # Probe under adversarial pressure (adaptive redteaming) vijil evaluate --type redteam # View trust scores vijil scores show # Configure runtime Guardrails vijil protect --guards prompt_injection,pii --mode enforce # Improve the agent through corrective evolution vijil adapt --mode config Quick start: SDK
from vijil import Vijil client = Vijil() # Evaluate and wait for results evaluation = client.evaluate("my-agent", baseline=True) print(f"Trust score: {evaluation.trust_score}") print(f"Reliability: {evaluation.dimensions.reliability}") print(f"Security: {evaluation.dimensions.security}") print(f"Safety: {evaluation.dimensions.safety}") # Probe under adversarial pressure (adaptive redteaming) status = client.evaluate("my-agent", type="redteam") print(f"Redteam status: {status.status}") # Configure Guardrails dome = client.protect("my-agent", guards=["prompt_injection", "pii"]) # Improve the agent job = client.adapt("my-agent", mode="config") How it works
The CLI and SDK are organized into two tiers, inspired by Git:
Porcelain commands (lifecycle verbs)
High-level commands that map to stages of the agent trust lifecycle:
Plumbing commands (resource nouns)
Low-level CRUD operations on platform resources:
Evaluate types: vijil evaluate --baseline measures against known standards (like a certification exam). vijil evaluate --type redteam explores for unknown weaknesses through adaptive adversarial pressure (iterative seed → attack → judge → reflect loop). Both produce trust insights.
Adapt vs Evolve: adapt improves an existing agent through corrective evolution, fixing weaknesses found by evaluation or testing. evolve creates an entirely new agent from a spec or natural-language description.
Trust dimensions: Every evaluation produces scores across three dimensions — reliability (does it work correctly?), security (can it resist exploitation?), and safety (does it behave responsibly?).
--output, -o Output format: table, json, yaml, quiet (default: auto) --gateway Gateway URL override --api-key API key override --quiet, -q Quiet mode — IDs only --verbose, -v Debug logging --api-key is a typed flag only (no VIJIL_API_KEY auto-binding) — see docs/configuration.md for the full credential ladder.
Global options are declared on the root vijil command, so they must come before the subcommand:
vijil -o table agents list # correct vijil agents list -o table # error: No such option: -o Shell composability
The CLI supports shell scripting:
# JSON output for machine consumption vijil -o json evaluate my-agent --baseline | jq '.trust_score' # Quiet mode returns just the ID EVAL_ID=$(vijil -q evaluate my-agent --baseline) vijil reports download "$EVAL_ID" # Pipe agent list to evaluation vijil -q agents list | xargs -I{} vijil evaluate {} --baseline --no-wait Exit codes follow Unix convention:
Set short names for agent IDs you use often:
vijil config set aliases.travel-agent d0087de1-a032-49f7-9d28-3abf4a34404d # Now use the alias anywhere vijil evaluate travel-agent --baseline vijil scores show travel-agent Framework integrations
Coming soon — Guides for integrating Vijil into agent development frameworks:
Google ADK — Evaluate and protect ADK agents
LangGraph — Add trust checks to LangGraph workflows
CrewAI — Monitor and adapt CrewAI agents
See docs/integrations/ for the roadmap.
A Vijil account (access to your Vijil Console deployment)
Both files in this release have provenance metadata.
Programming Language Python :: 3
Release files for vijil-sdk 0.1.72
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 416.4 kB
Release files / vijil_sdk-0.1.72.tar.gz
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Release files / vijil_sdk-0.1.72-py3-none-any.whl
Security for vijil-sdk 0.1.72
Both files in this release have been uploaded with provenance metadata.
With provenance vijil_sdk-0.1.72.tar.gz Nov 18, 2026
With provenance vijil_sdk-0.1.72-py3-none-any.whl Nov 18, 2026
Attestation for vijil_sdk-0.1.72.tar.gz
Attestation for vijil_sdk-0.1.72-py3-none-any.whl
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Nov 25, 2026 2 release files Full provenance
Nov 18, 2026 2 release files Full provenance
Oct 29, 2026 2 release files Full provenance
Oct 28, 2026 2 release files Full provenance
Oct 27, 2026 2 release files Full provenance
Oct 23, 2026 2 release files Full provenance
Oct 2, 2026 2 release files Full provenance
Oct 1, 2026 2 release files Full provenance
Sep 26, 2026 2 release files Full provenance
Sep 25, 2026 2 release files Full provenance
Sep 23, 2026 2 release files Full provenance
Sep 22, 2026 2 release files Full provenance
Sep 9, 2026 2 release files Full provenance
Sep 8, 2026 2 release files Full provenance
Sep 3, 2026 2 release files Full provenance
Aug 11, 2026 2 release files Full provenance
Jun 23, 2026 2 release files Full provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




