Skip to main content

title: SimpleAudit Studio emoji: 🔍 colorFrom: blue colorTo: indigo sdk: docker app_port: 7860 pinned: false

SimpleAudit Studio — AI Model Audit Platform

A production-quality platform for running reproducible AI model audits using the SimpleAudit engine (Target → Auditor → Judge).

Demo Credentials

  • Username: admin
  • Password: admin123

What You Can Do

  • Browse the scenario library and create new audit scenarios
  • Register model endpoints (OpenAI-compatible APIs)
  • Launch audits and watch live progress
  • Compare results across runs
  • Explore the visualizer for detailed analysis

Quick Start (Minimal Config)

Run SimpleAudit Studio locally in seconds — no Docker, no Postgres, no infrastructure:

uvx --from "git+https://github.com/SushantGautam/SimpleAuditStudio.git" simpleaudit-studio

The package is not published to PyPI, so uvx builds it from the pinned git ref on first run (cached afterwards). This boots a full local stack in one process:

  • Django web UI at http://localhost:8000 (login: admin / admin12345)
  • Hatchet workflow engine (embedded mode — real persistent queue + worker, no Docker)
  • SQLite database (auto-created, persists across restarts)
  • Mock model server (pre-seeded so you can try an audit immediately)

First run downloads a ~53 MB Hatchet sidecar binary (cached in ~/.hatchet/). Subsequent starts are faster. Press Ctrl+C to stop.

Using Real Models

The pre-seeded model connections point at a built-in mock server so you can explore the UI without any setup. To run real audits, update your model connections in the UI (Models page) to point at any OpenAI-compatible endpoint:

Provider Base URL Example
Ollama (local) http://localhost:11434/v1 Qwen 3, Llama 3.3, Mistral
vLLM (GPU) http://your-gpu-server:8000/v1 Any HF model
OpenAI https://api.openai.com/v1 GPT-4o, o3
Together AI https://api.together.xyz/v1 Many open models
Groq https://api.groq.com/openai/v1 Fast inference

Set the API key in the connection form (or leave blank for local servers that don't require auth). Then launch an audit from the Scenario Library.

When to Use What

Setup Best for
uvx --from git+… (one-liner) Small projects, research, single user, quick experiments, local GPU audits
Docker Compose Teams, multi-user, production, GPU worker pools, long-running jobs

The minimal config uses the same code paths as the full deployment — same worker, same engine, same queue semantics. The only differences are SQLite instead of Postgres and embedded Hatchet instead of a standalone server.

Architecture

This Space runs the full stack in a single container:

Browser → Django/Gunicorn (:7860)
              ↓
         PostgreSQL 16 (domain + queue DBs)
              ↓
         Hatchet Server (durable job queue)
              ↓
         Worker (CPU pool) → SimpleAudit Engine
              Target → Auditor → Judge

Notes

  • Ephemeral storage: All data is lost when the Space restarts or is redeployed. This is a demo, not a persistent deployment.
  • CPU-only: Audits run on CPU. For GPU-backed model inference, point your model endpoint at an external API.
  • Cold start: The first request after idle may take 30–60 seconds while all services initialize.

Self-Hosting

Quick start (single container, no clone needed)

Build and run directly from GitHub — no local checkout required:

docker build \
  https://github.com/SushantGautam/SimpleAuditStudio.git#main \
  -t simpleaudit-studio

docker run -d -p 7860:7860 --name simpleaudit simpleaudit-studio

Open http://localhost:7860 — log in with admin / admin123.

Note: This single-container mode uses ephemeral storage. Data is lost on restart. For persistent deployments with separate Postgres/Hatchet/worker containers, use Docker Compose below.

Full stack (Docker Compose, persistent)

git clone https://github.com/SushantGautam/SimpleAuditStudio
cd SimpleAuditStudio
cp .env.example .env
# edit POSTGRES_PASSWORD and BOOTSTRAP_ADMIN_PASSWORD at minimum
docker compose up -d

Services: Web UI (:8000), PostgreSQL, Hatchet queue (:8888), Worker. Optional profiles: --profile storage (MinIO), --profile mock (mock model API).

See docs/deployment.md for production hardening, GPU workers, backups, and upgrade procedures.

Release files for simpleaudit-studio 0.1.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 simpleaudit-studio 0.1.0
File Size Uploaded
simpleaudit_studio-0.1.0.tar.gz 342.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for simpleaudit-studio 0.1.0
File Interpreter ABI Platform
simpleaudit_studio-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 681.1 kB

Release files / simpleaudit_studio-0.1.0.tar.gz

Download URL simpleaudit_studio-0.1.0.tar.gz
Size 342.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f169229e7ad29b131a9f28b13bd44bc6d13958f98e6aafa740ca831b8c9d5c2d
BLAKE2b-256 checksum
How to use checksums
c281535d21a6c6d9a689c04f4a0d47f50a400384cb3b87daeb85dacb0092917e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.13 {"installer":{"name":"uv","version":"0.11.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / simpleaudit_studio-0.1.0-py3-none-any.whl

Download URL simpleaudit_studio-0.1.0-py3-none-any.whl
Size 338.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47f8a19e8e13420088060299a87b6ea5bbcdaa7555174720be12203a93b62a49
BLAKE2b-256 checksum
How to use checksums
cebf5cffd8b4c54fc0164eb69f18982d537f439edd9e7849f3bbf6efaf45c3a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.13 {"installer":{"name":"uv","version":"0.11.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

This release

0.1.0 This release

2 release files

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