jhansi.io
Build it. Run it. Ship it.
Run AI-generated code in isolated sandboxes. Open source. Self-hostable.
The problem
Every AI coding tool generates code. None of them answer:
"Where does that code actually run, and what can it touch?"
Paste it into your terminal and hope? That's eval() with access to your .env, your AWS creds, your customer database.
In a startup that's risky. In fintech that's an FCA conversation you do not want to have.
jhansi.io is the answer.
What it is
A sandboxed execution platform with three layers:
| Layer | Status | What it does |
|---|---|---|
| jhansi SDK | 🟢 Available | Python SDK — pip install jhansi |
| Petri | 🟢 Available | Execution engine — Docker isolation, multi-language, self-hostable |
| TenantVault | 🔜 Coming soon | Per-tenant secrets injection, envelope encryption, audit log |
Quick start
# Start Petri
git clone https://github.com/jhansi-io/petri.git
cd petri
docker compose up
# Install the SDK
pip install jhansi
from jhansi import Sandbox
with Sandbox(language="python") as sb:
sb.upload_file("main.py")
result = sb.exec("python main.py")
print(result["output"])
Full docs at docs.jhansi.io.
Repositories
| Repo | Description |
|---|---|
| jhansi-io/jhansi | SDK — pip install jhansi |
| jhansi-io/petri | Execution engine — FastAPI, Docker isolation, multi-language |
Why jhansi.io?
- Competitors (E2B, Modal, Daytona) are SaaS only — jhansi.io is open core, self-hostable
- Nobody else combines execution sandbox + secrets vault + compliance audit in one platform
- Built by someone with 18 years in banking who has lived the compliance problem firsthand
- Regulation (FCA, SOC2, EU AI Act) requires audit of AI actions — jhansi.io provides it
Roadmap
Full roadmap: jhansiio.featurebase.app
Follow the build
Building in public. Technical deep-dives on Dev.to.
Star this repo to follow along. ⭐
License
Apache 2.0 — see LICENSE.
Metadata
Release files for jhansi 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jhansi-0.1.7.tar.gz | 8.4 kB | Without provenance | Details for jhansi-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jhansi-0.1.7-py3-none-any.whl | Python 3 | none | any | Details for jhansi-0.1.7-py3-none-any.whl |
Total release size: 18.3 kB
Release files / jhansi-0.1.7.tar.gz
| Download URL | jhansi-0.1.7.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5fe0ae53a609db09f00186d9628cf13f845919023a6d24a3c58a2d4b6937d273
|
|
BLAKE2b-256 checksum How to use checksums |
b7b5c12cfdba81b5e8ed57fbbcb51a0a4d180299b584668f724afc89efc554fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.1 CPython/3.12.7 Darwin/25.5.0
|
Release files / jhansi-0.1.7-py3-none-any.whl
| Download URL | jhansi-0.1.7-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ab63022cba230afb637a0ce38d504a6f91c76f30d07108b7551cb9ed8f684747
|
|
BLAKE2b-256 checksum How to use checksums |
e655f2f3387d0a5461600887b1386da98f3f4d4fb0a03f7ddbe9a34049d03b12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.1 CPython/3.12.7 Darwin/25.5.0
|
Security for jhansi 0.1.7
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.