Skip to main content

Janus Python SDK Documentation

This repository contains the official documentation for the Janus Python SDK - a comprehensive AI agent simulation testing framework.

What is Janus?

Janus Python SDK helps you evaluate AI applications through automated simulations. It's designed to stress-test your AI agents with thousands of simulations, each testing different personalities, intents, and edge cases.

Quick Start

  1. Install the SDK:

    pip install janus-python-sdk
    
  2. Get an API Key: Contact team@withjanus.com

Eval Credits

Each simulation consumes one eval credit. When your account runs out, run_simulations / arun_simulations raise JanusCreditsExhaustedError with remaining, needed, and message attributes. Contact team@withjanus.com to top up. You can check your balance in the dashboard badge.

from janus_sdk import run_simulations, JanusCreditsExhaustedError

try:
    results = await run_simulations(num_simulations=10, max_turns=5, target_agent=my_factory, api_key="...")
except JanusCreditsExhaustedError as e:
    print(f"Out of credits: {e.remaining} left, needed {e.needed}. Email team@withjanus.com.")

Need Help?

Metadata

Release files for janus-python-sdk 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for janus-python-sdk 0.7.0
File Size Uploaded Provenance Actions
janus_python_sdk-0.7.0.tar.gz 9.4 MB Without provenance Details for janus_python_sdk-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for janus-python-sdk 0.7.0
File Interpreter ABI Platform Actions
janus_python_sdk-0.7.0-py3-none-any.whl Python 3 none any Details for janus_python_sdk-0.7.0-py3-none-any.whl

Total release size: 9.4 MB

Release files / janus_python_sdk-0.7.0.tar.gz

Download URL janus_python_sdk-0.7.0.tar.gz
Size 9.4 MB
Tags Source
SHA-256 checksum
How to use checksums
25bbfff7f5e14ad820ee341b16b1853cbb2a455e7543fd0bed99a4f65e4f9fb9
BLAKE2b-256 checksum
How to use checksums
6c4afd4f9e0041581403363649784830be97a1c9be44eab79a06cad12677ff4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.5

Release files / janus_python_sdk-0.7.0-py3-none-any.whl

Download URL janus_python_sdk-0.7.0-py3-none-any.whl
Size 19.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
761dd0dec42444ec24d75b9b962a327b8aadffa0d628e7af4cf0d586e8b9783b
BLAKE2b-256 checksum
How to use checksums
250a2b4e2f0724c2d0e30717b163bf927b761677be4ac37311fa85e15fe8e7e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.5

Security for janus-python-sdk 0.7.0

Provenance

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page