Stateful, structured, safe shell sessions for AI agents - over local shells, SSH, and Docker.
Project description
execkit (Python)
Stateful, structured, safe shell sessions for AI agents - over local shells, SSH, and Docker. Native bindings to the execkit Rust core.
pip install execkit
import execkit
from execkit import Session, Policy
with Session.local(policy=Policy(deny=["rm"]), timeout=30.0) as s:
r = s.exec("cd /app && npm ci")
print(r.stdout, r.exit_code, r.cwd)
State (cwd, env) persists across exec calls. Every result is a structured
ExecResult (split stdout/stderr, exit code, cwd, duration), already
secret-redacted and output-bounded. Commands pass an advisory policy fence first.
Async callers: r = await asyncio.to_thread(s.exec, "npm ci") (the native call
releases the GIL).
Unix-only (local sessions need a POSIX shell). See the project README for the full picture and the operator security model.
License
Apache-2.0.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file execkit-0.7.1.tar.gz.
File metadata
- Download URL: execkit-0.7.1.tar.gz
- Upload date:
- Size: 74.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8487cc22bf1b92c2f4202d5c1195b0bc4dfca6a0694233cc9b03d4bb5e00a1e
|
|
| MD5 |
0520f583eb70b1156165114f4c23cf4d
|
|
| BLAKE2b-256 |
d8382ec31a90912ca181c5bfe920340f7a68e349e41c63062e63d2f2ab6d27ef
|
Provenance
The following attestation bundles were made for execkit-0.7.1.tar.gz:
Publisher:
wheels.yml on blinkingbit-oss/execkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
execkit-0.7.1.tar.gz -
Subject digest:
b8487cc22bf1b92c2f4202d5c1195b0bc4dfca6a0694233cc9b03d4bb5e00a1e - Sigstore transparency entry: 1863304134
- Sigstore integration time:
-
Permalink:
blinkingbit-oss/execkit@52f3e5d577367a155a24e1a302c5907334d0ad84 -
Branch / Tag:
refs/tags/v0.7.1 - Owner: https://github.com/blinkingbit-oss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@52f3e5d577367a155a24e1a302c5907334d0ad84 -
Trigger Event:
push
-
Statement type:
File details
Details for the file execkit-0.7.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: execkit-0.7.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.8 MB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09555e611ca1b799efe5cb9a0fb496c0d02839a1fd3184f28026b82ce38d8ac2
|
|
| MD5 |
d323eddc81b5c1162999d64ef45deea2
|
|
| BLAKE2b-256 |
68d32934e04b5558d786737008f464a941c56dee962bc74e0039a7bd7ada24ec
|
Provenance
The following attestation bundles were made for execkit-0.7.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
wheels.yml on blinkingbit-oss/execkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
execkit-0.7.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
09555e611ca1b799efe5cb9a0fb496c0d02839a1fd3184f28026b82ce38d8ac2 - Sigstore transparency entry: 1863304459
- Sigstore integration time:
-
Permalink:
blinkingbit-oss/execkit@52f3e5d577367a155a24e1a302c5907334d0ad84 -
Branch / Tag:
refs/tags/v0.7.1 - Owner: https://github.com/blinkingbit-oss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@52f3e5d577367a155a24e1a302c5907334d0ad84 -
Trigger Event:
push
-
Statement type:
File details
Details for the file execkit-0.7.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: execkit-0.7.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13a51a69a61edeaf055ba5289b39c26444118faa50585f23a0782c3e24697914
|
|
| MD5 |
2e7a995faae4fac253c86acdba00d113
|
|
| BLAKE2b-256 |
96f4c3e2557d6d6309204da17415daf3987757806371aa68b520dc93754ed361
|
Provenance
The following attestation bundles were made for execkit-0.7.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:
Publisher:
wheels.yml on blinkingbit-oss/execkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
execkit-0.7.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -
Subject digest:
13a51a69a61edeaf055ba5289b39c26444118faa50585f23a0782c3e24697914 - Sigstore transparency entry: 1863304219
- Sigstore integration time:
-
Permalink:
blinkingbit-oss/execkit@52f3e5d577367a155a24e1a302c5907334d0ad84 -
Branch / Tag:
refs/tags/v0.7.1 - Owner: https://github.com/blinkingbit-oss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@52f3e5d577367a155a24e1a302c5907334d0ad84 -
Trigger Event:
push
-
Statement type:
File details
Details for the file execkit-0.7.1-cp38-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: execkit-0.7.1-cp38-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.5 MB
- Tags: CPython 3.8+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06df5b588bfba4f65b28357578f2212cdc5a8eb3d4b07d60f259672939a94c77
|
|
| MD5 |
15a14847e85539cf4443e0fe87da89f9
|
|
| BLAKE2b-256 |
cef5463908cb2c5e06cba78aeab658297dea390ab2212ba868180dc39414b051
|
Provenance
The following attestation bundles were made for execkit-0.7.1-cp38-abi3-macosx_11_0_arm64.whl:
Publisher:
wheels.yml on blinkingbit-oss/execkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
execkit-0.7.1-cp38-abi3-macosx_11_0_arm64.whl -
Subject digest:
06df5b588bfba4f65b28357578f2212cdc5a8eb3d4b07d60f259672939a94c77 - Sigstore transparency entry: 1863304404
- Sigstore integration time:
-
Permalink:
blinkingbit-oss/execkit@52f3e5d577367a155a24e1a302c5907334d0ad84 -
Branch / Tag:
refs/tags/v0.7.1 - Owner: https://github.com/blinkingbit-oss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@52f3e5d577367a155a24e1a302c5907334d0ad84 -
Trigger Event:
push
-
Statement type:
File details
Details for the file execkit-0.7.1-cp38-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: execkit-0.7.1-cp38-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 2.6 MB
- Tags: CPython 3.8+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da4de151cf9fc999ff35e4cedddb6b778c8ca0e3a9e7cb0bfe63833344577aca
|
|
| MD5 |
6ccef1b5810c43416c238ea71dfe293a
|
|
| BLAKE2b-256 |
cf5e19931f195a7e27d90e5e2da63890e8005561721ed66e0ed0a38eb9e78272
|
Provenance
The following attestation bundles were made for execkit-0.7.1-cp38-abi3-macosx_10_12_x86_64.whl:
Publisher:
wheels.yml on blinkingbit-oss/execkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
execkit-0.7.1-cp38-abi3-macosx_10_12_x86_64.whl -
Subject digest:
da4de151cf9fc999ff35e4cedddb6b778c8ca0e3a9e7cb0bfe63833344577aca - Sigstore transparency entry: 1863304309
- Sigstore integration time:
-
Permalink:
blinkingbit-oss/execkit@52f3e5d577367a155a24e1a302c5907334d0ad84 -
Branch / Tag:
refs/tags/v0.7.1 - Owner: https://github.com/blinkingbit-oss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@52f3e5d577367a155a24e1a302c5907334d0ad84 -
Trigger Event:
push
-
Statement type: