Skip to main content

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

The same tool is also published as identity-cli (uv tool install identity-cli) and installs two interchangeable commands — zehut and identity. Use whichever name you prefer; every example below works the same with identity substituted for 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.

Metadata

Release files for identity-cli 1.2.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 identity-cli 1.2.0
File Size Uploaded Provenance
identity_cli-1.2.0.tar.gz 206.9 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for identity-cli 1.2.0
File Interpreter ABI Platform
identity_cli-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 243.4 kB

Release files / identity_cli-1.2.0.tar.gz

Download URL identity_cli-1.2.0.tar.gz
Size 206.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ba48bfc6fa3450cb9ac3e1088b8a0a014bb7de7f052c984b453b6d399bc36627
BLAKE2b-256 checksum
How to use checksums
ec8ca9abf39863871dd6ebf31363b3901a6eb27bcd0a4c39d70247e49460d52a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 23, 2026.

Transparency log

Release files / identity_cli-1.2.0-py3-none-any.whl

Download URL identity_cli-1.2.0-py3-none-any.whl
Size 36.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc3da170556c5d904d3093dcfdcdc02a6c2d98e26da7f238de99647355db61bb
BLAKE2b-256 checksum
How to use checksums
89fe513f538daaa01d0c76a6948537152f0be3624cac4bb3f0bc9a5fc4400026
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 23, 2026.

Transparency log

Security for identity-cli 1.2.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for identity_cli-1.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 23, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files Full provenance

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