Agents-first identity layer — local system users and owned sub-users, with email assignment.
Project description
zehut
Agents-first identity layer for Linux hosts.
zehut provisions and tracks machine-local identities — system-backed
(real OS users via useradd) plus sub-users (metadata-only identities
owned by a system-backed parent) — and gives each one a deterministic
email address from a configured domain. A separate CLI consumes zehut's
users.json registry to provide secrets management on top of this
identity foundation.
Install
uv tool install zehut
Quick start
# One-time bootstrap (needs sudo).
sudo $(which zehut) init --domain agents.example.com --default-backend system
# Create a system-backed user — the parent identity (an "agent").
sudo $(which zehut) user create agent --nick Ali --about "QA agent"
# Create sub-users owned by the agent — e.g. per-bot identities.
# Sub-users must have a system-backed parent; deleting the parent
# cascade-deletes every sub-user under it.
sudo $(which zehut) user create bot1 --subuser --parent agent --about "scraper"
# List, show, switch.
zehut user list
zehut user show agent
zehut user switch agent # system: exec sudo -u agent -i
eval "$(zehut user switch bot1)" # sub-user: sets ZEHUT_IDENTITY
# Health check.
zehut doctor
Documentation
License
MIT. See LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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 zehut-1.0.0.tar.gz.
File metadata
- Download URL: zehut-1.0.0.tar.gz
- Upload date:
- Size: 128.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1636df0befcde6eb2adbd0d921c47cb28f79cb384a91aeef1897a6f4b5636365
|
|
| MD5 |
ee4fab8bfb9ff353c83c969c0fde2fec
|
|
| BLAKE2b-256 |
f542f5e16165348901f7a5a982bf971a05c86835e8972f56153b993eca45e365
|
Provenance
The following attestation bundles were made for zehut-1.0.0.tar.gz:
Publisher:
publish.yml on agentculture/zehut
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zehut-1.0.0.tar.gz -
Subject digest:
1636df0befcde6eb2adbd0d921c47cb28f79cb384a91aeef1897a6f4b5636365 - Sigstore transparency entry: 1368441281
- Sigstore integration time:
-
Permalink:
agentculture/zehut@7bdec6c481fb0514f581a06337950d04b9d4ac57 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/agentculture
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7bdec6c481fb0514f581a06337950d04b9d4ac57 -
Trigger Event:
push
-
Statement type:
File details
Details for the file zehut-1.0.0-py3-none-any.whl.
File metadata
- Download URL: zehut-1.0.0-py3-none-any.whl
- Upload date:
- Size: 35.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfc6a076e17dc02a65c859dd703eb32aee0a3165b1e4ddf6b66eb226edabe8a3
|
|
| MD5 |
920cdc99fe44e0d7707d9754ffa55fad
|
|
| BLAKE2b-256 |
7aa0fee4050964b766aad96fa277a00a796df03f0d55f28cd7cca3165c45348b
|
Provenance
The following attestation bundles were made for zehut-1.0.0-py3-none-any.whl:
Publisher:
publish.yml on agentculture/zehut
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zehut-1.0.0-py3-none-any.whl -
Subject digest:
cfc6a076e17dc02a65c859dd703eb32aee0a3165b1e4ddf6b66eb226edabe8a3 - Sigstore transparency entry: 1368441317
- Sigstore integration time:
-
Permalink:
agentculture/zehut@7bdec6c481fb0514f581a06337950d04b9d4ac57 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/agentculture
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7bdec6c481fb0514f581a06337950d04b9d4ac57 -
Trigger Event:
push
-
Statement type: