envd Development Environments

Build reproducible, cached container environments for AI/ML workloads across local machines and Kubernetes.

Source repo
tensorchord/envd
Stars
★ 2.3k
Last updated
1mo ago v1.3.6
FARS reviewed
Nov 08, 2026
License
Apache-2.0
Primary language
Go

At a glance

How it runs
CLI
Works with
Universal · cross-platform
Cost
Free, no paid service needed
Setup effort
Medium · a few setup steps
You'll need
Docker 20.10.0 or abovePython and pip for pip-based installationGit for the documented quick-start workflowShell / CLINetwork accessLocal filesystem
Typical use
An AI/ML team standardizing Python, Conda, CUDA, and system dependencies can keep the environment definition in build.envd instead of scattered setup scripts.
Not a fit if
  • Teams without Docker 20.10.0 or newer available
  • Projects still on v0 syntax that cannot migrate build.envd
  • Environments that must run fully offline without any registry access
Website
envd.tensorchord.ai ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-02latest release v1.3.6 (2026-10-02)
Source review
64/100 · Some gaps

What does this agent do, and when should you use it?

envd is a command-line tool for defining AI/ML development environments in a build.envd file. The manifest can declare the base environment, language runtimes, packages, shell, and services such as Jupyter through Python-style functions. envd parses that declaration, uses BuildKit to construct an isolated environment, and produces an OCI-compatible image. The same envd up workflow can target a local machine or a Kubernetes cluster by switching contexts. It also supports remote builds, package caching, registry distribution, and reusable functions imported from Git repositories; Docker 20.10.0 or newer is required.

A user defines build() in build.envd with interfaces such as base, install.conda, install.python, install.python_packages, shell, and config.jupyter. envd up parses the manifest and dependencies, builds the container image through BuildKit, prepares the work directory, and attaches the user to the isolated environment; --detach leaves it running in the background. envd envs ls reports environment status, image, container ID, SSH target, and any Jupyter endpoint. envd context use local and envd context use cluster select the local or Kubernetes execution boundary. Remote builds can run on another machine and push the resulting image to a registry, while include loads reusable envd functions from Git repositories.

  1. An AI/ML team standardizing Python, Conda, CUDA, and system dependencies can keep the environment definition in build.envd instead of scattered setup scripts.
  2. A developer training, fine-tuning, or serving models can work inside an isolated environment packaged as an OCI-compatible image.
  3. An engineer with a resource-constrained workstation can build on a more powerful remote machine and push the image to a registry.
  4. A team working across laptops and Kubernetes clusters can switch envd contexts while retaining the same envd up workflow.
  5. A project that frequently rebuilds environments can reuse BuildKit-backed PyPI and APT caches instead of downloading every package again.
  6. A team maintaining standard components such as TensorBoard can publish envd functions in Git and import them with include.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • pip install --upgrade envd
Install notes cover
Docker

How do you install or deploy this agent?

The documented runtime requirement is Docker 20.10.0 or newer. Install or upgrade envd with pip:

pip install --upgrade envd

Bootstrap it after installation:

envd bootstrap

A docker.io mirror can be configured during bootstrap:

envd bootstrap --dockerhub-mirror https://docker.mirrors.sjtug.sjtu.edu.cn

A downloadable binary release is also mentioned, although the supplied material does not provide a direct download command.

How do you use this agent?

Clone the quick-start project:

git clone https://github.com/tensorchord/envd-quick-start.git

Its build.envd can contain:

def build():
    base(dev=True)
    install.conda()
    install.python()
    # Configure the pip index if needed.
    # config.pip_index(url = "https://pypi.tuna.tsinghua.edu.cn/simple")
    install.python_packages(name = [
        "numpy",
    ])
    shell("fish")

Build and enter the environment:

cd envd-quick-start && envd up

To enable Jupyter, add this call inside build():

config.jupyter()

Start in detached mode and retrieve the endpoint:

envd up --detach
envd envs ls

Select local or cluster execution with:

envd context use local
envd up
envd context use cluster
envd up

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • The Python-style build.envd interface declares Conda, Python packages, shells, and Jupyter without introducing a separate environment DSL.
  • The resulting environment image follows the OCI image specification and can be distributed through registries such as Harbor or Docker Hub.
  • One CLI workflow covers local machines and Kubernetes clusters, with remote building also supported.
  • BuildKit-backed PyPI and APT caches can reuse prior downloads and shorten repeated builds.
  • The include function imports shared environment functions from Git repositories, reducing copied Dockerfile instructions.
Limitations
  • Docker 20.10.0 or newer is a hard documented prerequisite, so adoption depends on an available container runtime.
  • The local and cluster workflows share an interface, but the supplied material does not fully specify the Kubernetes setup and operational prerequisites.
  • Version 1.0 changed both the default build.envd syntax and the default builder, creating migration work for projects that still use v0.
  • Remote builds and image sharing require additional infrastructure such as a remote build machine and container registry.
  • There is no documented native integration with ChatGPT, Codex, Claude, or their model APIs; a repository topic alone is not evidence of such support.

How does this agent compare with similar options?

Compared with Dockerfile v1, envd explicitly supports PyPI caching and expresses the environment through Python-style build.envd declarations. Within envd, v1 adds the moby builder and documents stronger support for serving, custom base images, and installing multiple languages. Both v0 and v1 support development mode and CUDA, while the comparison table marks serving, custom images, and multi-language installation as limited in v0 and states that v0 does not support the moby builder.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
envd Development Environments This agent 64 · Some gaps CLIFree ★ 2.3k 1mo ago Go —
Cynative Security Agent Framework 85 · Good CLIFree + model costs ★ 236 today Go OpenAI API · Claude API
Cordum Agent Control Plane 75 · Some gaps Self-hosted serviceFree ★ 501 2d ago Go Claude Code
OpenSandbox Runtime 74 · Some gaps Library / SDKFree ★ 18k 1d ago Go Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
64/ 100 5-point scale 3.2 / 5
Trust 13/29
Reliability 8/14
Adaptability 14/18
Convention 12/18
Effectiveness 12/13
Verifiability 5/8
Why each dimension lost points
Trust13 / 29 · 2.2/5

The code and documentation show envd building images, starting containers, exposing ports, mounting host directories, and supporting remote builds and SSH. The packet does not show systematic least-privilege controls, confirmation before each consequential operation, a general rollback mechanism, or a sensitive-data handling process, so those areas lose points. The README mentions bootstrap, registries, and external Git includes, while CI explicitly disables telemetry; data flows and external effects are partly described but security boundaries are incomplete. go.mod pins dependency versions and CI actions use commit SHAs, supporting a stronger dependency-security score; no dependency audit evidence is included, so this is not full marks. Copyright headers, contributor credits, and the Apache-2.0 license support attribution, while publisher identity remains unknown.

Reliability8 / 14 · 2.9/5

The Starlark-to-graph-to-BuildKit flow described in AGENTS.md broadly matches the README, and CLI code provides readable errors for port validation, key loading, and Starlark syntax/evaluation failures. go.mod and CI identify build, test, and Docker requirements, but the product relies on external Docker, BuildKit, and package registries, with limited evidence about offline availability or recovery from dependency failures. Failure paths are represented, but recovery guidance and handling across all components are not fully shown.

Adaptability14 / 18 · 3.9/5

The README clearly targets AI/ML development and gives Python, Jupyter, R/Julia, local, and Kubernetes examples. Code and AGENTS.md describe boundaries including Starlark build definitions, container engines, BuildKit, and SSH, but no Agent-specific trigger guidance or rules for when not to use the product are present. Docker requirements and local/cluster context support provide strong evidence of environment fit.

Convention12 / 18 · 3.3/5

The README, AGENTS.md, Go package layout, and CI files provide recognizable information architecture. The README gives a Docker version, pip installation, bootstrap, and a quick-start example, while detailed installation guidance is delegated to external documentation. The v0/v1 migration note and versioned API directories support stable naming; examples are useful, but FAQ and known-limitations coverage is thin. A complete Apache-2.0 license is present, along with version migration guidance and a tag-triggered changelog workflow. AGENTS.md documents contribution practices, DCO, dependency update cadence, and maintenance conventions, but it does not clearly identify an accountable ongoing owner or team.

Effectiveness12 / 13 · 4.6/5

The README's build.envd declaration and envd up flow produce a usable containerized development environment, with caching, remote builds, reuse across teams, and Jupyter as clear added value. The example output makes the result concrete, but Docker, container images, external dependencies, and possible cluster resources add setup cost that is not quantified.

Verifiability5 / 8 · 3.1/5

Product claims have corresponding evidence across the README, CLI entry points, AGENTS.md, dependency manifest, and CI configuration. CI defines lint, unit, and end-to-end jobs, and AGENTS.md documents test requirements, but this was a static review and none were run or independently verified. Some README claims are corroborated by code and project documentation; runtime output and performance claims remain repository assertions. Examples, requirements, and implementation structure are shown, but claims are not systematically labeled with evidence or inference boundaries.

Risks and how to mitigate them
  • envd builds and runs containers; examples also expose service ports, mount host directories, and access external repositories. Review build.envd, image sources, mount paths, and SSH/authentication settings before use.
  • This assessment uses only the supplied static material; code was not executed and dependency security was not independently checked. Detailed installation, security-boundary, and recovery guidance partly depends on external documentation not included here.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 55b74e81633c
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/envd.svg)](https://followagents.com/en/agents/envd)
<a href="https://followagents.com/en/agents/envd"><img src="https://followagents.com/badge/envd.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v1.3.6
    Release notes excerpt
    Changelog Bug Fix 🛠 * 9d575b354ce17a02ef9698b6ff0d5d14296c5734: fix: prevent TOCTOU in requirements file reads (#2119) (@kemingy) Documentation 🖊️ * 64bfe688f2a55173366a3eccb877622991dae41d: docs: updated CHANGELOG.md (#2117) (@github-actions[bot]) Others: * 968bc49d577e6c3c5bbb9e6587542c9ddfe66dad: chore(deps): bump the all-dependencies group across 1 directory with 2 updates (#2118) (@dependabot[bot])
    View on GitHub ↗
  2. v1.3.5
    Release notes excerpt
    Changelog Bug Fix 🛠 * 4ca4fdd262d266e446484522a117033765d54f43: fix: always create the compdef before r-w-o zshrc (#2084) (@kemingy) * f576c92c1e6dcb9b00b60995534aeb2a83b0b407: fix: restrict install.python_packages paths to the build context (#2112) (@kemingy) Documentation 🖊️ * 376d0713fdc27abe63e23af59f047169fb51ecc6: docs: add AGENTS.md with repo layout and development guide (#2115) (@kemingy) * e8254329e9f338c221cc0d1c54b2a3032349c05e: docs: updated CHANGELOG.md (#2077) (@github-actions[bot]) Others: …
    View on GitHub ↗
  3. v1.3.4
    Release notes excerpt
    Changelog Exciting New Features 🎉 * c49ed2cb7fdeaa5d966ca36181b7ce27bc6fdf6a: feat: add the build.envd file to this repo (#2082) (@kemingy) * 3cac99fd121961eae2ce0bb634a026891b8e77df: feat: get the latest github release tag for codex (#2081) (@kemingy) * d7379df920a3305191f834e1539f3b4bfd9f084f: feat: support --cap for envd up (#2078) (@kemingy) Others: * 38015c99198dc8490301c9662c1bdce7d650e4df: chore(deps): bump pypa/cibuildwheel from 3.3.0 to 3.3.1 in the all-actions group (#2079) (@dependabot[bot])
    View on GitHub ↗

FAQ

What is required to run envd?
Docker 20.10.0 or newer is required. The pip installation route also needs Python and pip; a binary release is identified as an alternative.
Is envd limited to local development?
No. It documents local and Kubernetes cluster contexts, plus remote builds that can push images to a registry.
Can the resulting environment be shared?
Yes. envd produces OCI-compatible environment images that can be distributed through container registries such as Harbor or Docker Hub.
Does it natively support ChatGPT, Codex, or Claude?
No such product or API integration is documented in the supplied material. Its demonstrated role is building and running development environments rather than calling a particular model provider.
What should an existing v0 user check before upgrading?
Starting with envd 1.0, v1 is the default build.envd syntax and moby-worker is the default builder. Existing projects should account for both changes and validate features that differed under v0.
Was this page helpful?
View on GitHub ↗ Install ↓

Related concepts