Skip to main content

Agents-first identity layer — local system & logical user registry with email assignment.

Project description

zehut

Agents-first identity layer for Linux hosts.

zehut provisions and tracks machine-local identities — either system-backed (real OS users via useradd) or logical (metadata only) — 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.
sudo $(which zehut) user create alice --nick Ali --about "QA agent"

# Create a logical (metadata-only) user.
zehut user create bot --logical

# List, show, switch.
zehut user list
zehut user show alice
zehut user switch alice     # system: exec sudo -u alice -i
eval "$(zehut user switch bot)"  # logical: sets ZEHUT_IDENTITY

# Health check.
zehut doctor

Documentation

License

MIT. See LICENSE.

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

zehut-0.1.0.tar.gz (119.3 kB view details)

Uploaded Source

Built Distribution

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

zehut-0.1.0-py3-none-any.whl (33.5 kB view details)

Uploaded Python 3

File details

Details for the file zehut-0.1.0.tar.gz.

File metadata

  • Download URL: zehut-0.1.0.tar.gz
  • Upload date:
  • Size: 119.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for zehut-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7d18d3ff388e521c65794a08f291d9377b8924d7e791f23d1e91224e909fd171
MD5 9a06a634c2b360f6e1fd801d3d109f88
BLAKE2b-256 02f7d30619560de47c5a202a9968d3565563c1011d7b4543b57e97b5690fe65d

See more details on using hashes here.

Provenance

The following attestation bundles were made for zehut-0.1.0.tar.gz:

Publisher: publish.yml on agentculture/zehut

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file zehut-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: zehut-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 33.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for zehut-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 25445b4b0fc1d1a4832aec5fdeaf4f69bac4aced4ea625d864884084448d8a00
MD5 5175bfda2d31096ad80245dd7de491ed
BLAKE2b-256 2062c92172956cc00d53ca68266645560c183727109d53f8f87e56b3b5fa2cb1

See more details on using hashes here.

Provenance

The following attestation bundles were made for zehut-0.1.0-py3-none-any.whl:

Publisher: publish.yml on agentculture/zehut

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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