Skip to main content

Sluse - a fail-closed execution gate for AI agents. Both doors are never open at once. Pre-release: implementation in progress.

Project description

Sluse

A fail-closed execution gate for AI agents. Both doors are never open at once.

Named after the Danish word for a canal lock chamber: passage happens only through a sealed, controlled, stepwise transition - and the default state is closed.

Status: pre-release (v0.0.1)

This is an intentional, minimal pre-release that pins the package name and ships the stable CLI exit-code contract. The gate core is under active development.

What Sluse will do:

  • intercept agent tool calls (shell, file edits, SQL, HTTP) before execution
  • decide on the literal payload, never on the agent's self-description
  • enforce per-session resource ceilings (calls, wall time, bytes, estimated spend)
  • require scoped, single-use operator approvals for destructive actions
  • fail closed: gate unreachable means nothing executes
  • keep an append-only audit ledger of every decision

What this stub does today: sluse check returns DENY (exit 4) with the reason "gate core not installed - failing closed." Even the placeholder honors the promise.

Exit-code contract (stable from v0.0.1)

code meaning
0 ALLOW
3 REQUIRE_APPROVAL
4 DENY
5 HALTED
1/2 transport / validation error

Project

Part of the VM4AI product line. Homepage: https://vm4ai.com

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

sluse-0.0.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sluse-0.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file sluse-0.0.1.tar.gz.

File metadata

  • Download URL: sluse-0.0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for sluse-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4c4e6f1388509bc609aa18cc60cd065aaa007ad5a6108787e8ba566b388f3625
MD5 5f0745b3bd014fdfbe363d3bf0479245
BLAKE2b-256 b41138da05fc4f2afc9c42b2100a30af62b515313881fd1d2b3cfab2f398e95d

See more details on using hashes here.

File details

Details for the file sluse-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: sluse-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for sluse-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ca034ec917f3ed355ccee4aefa8c793d1f9775f5b447e2843a3fd27d92dccb95
MD5 cecc7d29179af369f996f2149347b710
BLAKE2b-256 af3f00dc1f17559c44a5d26bb00f1b15fbff4b292e1abf97ad2b42e077b82d54

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page