Announcementsยท4 min read

๐Ÿš€ Codify 2.0 is here

Codify 2.0 brings the Codify agent to your terminal, adds variables, conditions and saved secrets to configs, and ships a CLI that is 98% smaller and over twice as fast.

K
Kevin WangNovember 25, 2026

Today we're shipping Codify 2.0, the biggest release since Codify 1.0.

In June we brought the Codify Agent to the dashboard. With 2.0 it lives where you already work: your terminal. Type codify, describe what you want, and the agent builds the config, plans it against your machine and applies it once you say yes.

That's the headline, but it's not the whole story. 2.0 also adds variables and conditions to configs, saved secrets that never leave your machine in plain text, version-pinned templates, and a CLI that is a fraction of its old size and more than twice as fast. Here's everything that's new.

The Codify Agent, Now in Your Terminal

Run codify with no arguments, or codify prompt "set up a Go backend with Docker", and you're in a chat with the Codify agent.

codify

Tell it what you want in plain English. The agent:

  • Looks at what you already have. It uses Codify's own plugins to read your installed tools as config blocks, the same way codify init does, instead of guessing with shell commands.
  • Writes the config. It draws on the same library of validated resources the dashboard agent uses.
  • Plans before it touches anything. You see the regular Codify plan, right in the chat, and nothing is applied until you confirm.
  • Helps you debug. It can read files, search directories and run commands to figure out why something isn't working.

You stay in control

An agent with a shell needs guardrails, so we built them in from the start:

  • Only read-only commands run on their own. Anything else asks you first, and sudo always asks.
  • Secret paths are off limits to every tool: SSH keys, credentials, .env files, keychains and Codify's own tokens, even through symlinks.
  • Configs the agent writes go to ~/.codify/sessions/, never into your project files.

Pick up where you left off

codify prompt --resume lists your previous conversations and reloads one. Your prompt history is saved too.

You don't even need an account to try it: you get a few free prompts as a guest. Log in with codify login to keep going.

Variables and Conditions

One config can now fit many machines. Declare a variable, reference it with ${{ name }}, and gate resources with when:

[
  { "type": "variable", "name": "role", "label": "What do you work on?",
    "valueType": "enum", "options": ["frontend", "backend"] },
  { "type": "nvm", "global": "22", "when": { "role": "frontend" } },
  { "type": "pyenv", "global": "3.12", "when": { "role": "backend" } }
]

Variables can be text, numbers, booleans, a single choice or multiple choices, and they can be marked sensitive so they're masked in the plan. when conditions work on resources, templates and other variables, and templates whose conditions don't match are never loaded.

Codify asks for every variable in a file on a single, wizard-style screen. Questions appear and disappear as your answers change, defaults that depend on other answers update as you go, and you can go back and edit any answer before you submit. In scripts, pass values with --var:

codify apply --var role=backend

--var works on plan, apply, destroy, refresh, import and test.

Saved Variables and Secrets

Reference values saved in the dashboard with ${{ vars.user.NAME }} and ${{ secrets.org.NAME }}. The CLI resolves them itself with your login, so secret values never pass through the browser.

  • Secrets are masked in logs, plugin output, errors, JSON output and the plan.
  • Each secret has to be approved before a config can use it, either on the dashboard or once in the CLI.
  • If a value is missing, Codify asks for it for this run only and tells you why: you're not logged in, an admin needs to add it, or you probably made a typo ("Did you mean ...?").
  • refresh and import keep the references in your file instead of writing the resolved values.

Apply a Tool by Name

No file needed:

codify apply nvm pyenv

Codify figures out whether you meant a file, a resource type or a template. Use --resource (-r) or --template (-t) to skip the guessing, and if you make a typo, Codify suggests the closest resource type.

Better Templates

  • Version pins: codify apply @scope/name@1.2.0 runs exactly that published version. You can also set "version" on a template block in your config.
  • Default scope: bare template names now mean @codify/<name>.
  • Notices: configs and templates can show messages to the user, like getting-started steps after a template is installed, a warning before you apply, or a summary of what changed.
  • Safer approvals: template resources that make code run later or take over files (aliases, SSH config, files, symlinks, PATH, env vars like LD_PRELOAD or NODE_OPTIONS) now need your approval, with the reason shown in the prompt.
  • Template stats: to show publishers how their templates are doing, Codify reports whether a registry template's apply started, succeeded or failed. Only the template id, version and result are sent. Turn it off with DO_NOT_TRACK=1 or CODIFY_DISABLE_TEMPLATE_STATS=1.

A Lighter, Faster CLI

We replaced dozens of dependencies with small built-ins and bundled the rest. The packaged CLI went from about 212 MB to 2.8 MB, and a warm codify validate dropped from 950 ms to 369 ms.

codify update is now built into Codify, and the CLI respects HTTP_PROXY, HTTPS_PROXY and NO_PROXY for every request.

Smaller Fixes

  • import and refresh keep your name, dependsOn, os, distro and variable references when writing back to the file.
  • import and destroy use one simple list prompt with your existing values pre-filled and sensitive values masked.
  • codify test forwards the values you enter to the test VM, so you aren't asked twice.
  • Shells Codify starts no longer hang on oh-my-zsh's update prompt.

Upgrade to 2.0

codify update

Or install it fresh:

/bin/bash -c "$(curl -fsSL https://releases.codifycli.com/install.sh)"

Installing from npm? 2.0 needs Node 22 or newer. The release binaries bundle their own Node, so nothing changes there.

Thank You

Codify started as a way to stop rebuilding dev machines by hand. With 2.0, you can just ask. Open a terminal, type codify, and tell it what you need.

As always, if you run into issues or have ideas, open an issue on GitHub.

Cheers!