cd /news/ai-tools/agnostic-ai-v0-101-0-preview-a-new-t… · home › topics › ai-tools › article
[ARTICLE · art-180103] src=agnostic-ai.org ↗ pub= topic=ai-tools verified=true sentiment=· neutral

agnostic-ai v0.101.0: preview a new tool before files change

Agnostic-ai released v0.101.0, which adds a `--dry-run` flag to `agnostic-ai use <tool>` that previews in a temporary copy of the project what a tool addition would import, write, back up and change in `agnostic-ai.yaml` before any files are touched. The release also ships two breaking changes: YAML spec files that hold a second spec after a `---` line now fail to load and must be split into one spec per file, and OpenCode agents that set neither `mode` nor `x-opencode.mode` now sync with `mode: subagent`. The `validate --fix` flag is deprecated and now runs checks without changing files, while `validate --json` prints errors and warnings in the `lint --json` format for CI use.

key takeaway

Run `agnostic-ai use <tool> --dry-run` to see the `agnostic-ai.yaml` change, import plan, created/changed/removed files and `.bak` copies in a temporary project copy before committing, and split any YAML spec file with a second spec after `---` into separate files since v0.101.0 now fails to load th

read3 min views4 publishedDec 2, 2026

Highlights #

  • Breaking: a YAML spec file holds one spec, so split a file that separates several with--- before you sync.
  • Breaking: OpenCode agents withoutmode now sync as subagents, and Gemini project sync stops when none of an agent's tools map.OpenCode agents ,Gemini agents .
  • agnostic-ai use <tool> --dry-run shows what adding a tool would import, write and back up before it changes the project.use .

Upgrading from v0.100.0 #

  • YAML files with several specs: hook, MCP, settings and environment files that hold a second spec after a--- line now fail to load. Earlier releases read the first spec and ignored the rest. Move each spec to its own file. A file whose top level is a list or a single value fails too.
  • OpenCode agents without mode: an agent that sets neither mode norx-opencode.mode now syncs withmode: subagent . This includes agents imported with an older release. To keep OpenCode's own default, setx-opencode: {mode: null} on that agent before you sync. SeeOpenCode agents .
  • Gemini agents with a tools list: project sync stops when none of the names map to a Gemini tool. Setx-gemini.tools to the native tools the agent should use. SeeGemini agents .
  • Scripts that call validate --fix: the flag is deprecated. It runs the checks, changes no files and prints a notice on stderr. Remove it.

Then follow the upgrade page.

What changed #

Preview before you add or import

use <tool> --dry-run runs the same steps in a temporary copy of the project. It prints the change to agnostic-ai.yaml, the import plan, the files sync would create, change or remove, and the .bak copies it would keep. A use that would fail says so and exits 1.

$ agnostic-ai use codex --dry-run

import --dry-run lists the files it would create or change, counts the unchanged ones and names the specs that need --overwrite. See use and import.

Read validation results in CI

validate --json prints errors and warnings in the lint --json format, with the exit code of plain validate. validate now also fails on a spec whose frontmatter opens with --- and never closes, as lint does with LINT006. Lint also catches more before a sync: misnamed spec folders, wrong value types and a bad rule scope. See validate.

Keep your files when a step fails

  • A single-tool import that fails rolls back its writes. import all keeps the results from the tools that succeeded.
  • When sync --backup cannot save a backup, the original file stays as it was.
  • sync --untrack updates the Git index only after a complete sync.
  • revert checks its arguments before it changes files.

See sync.

Stay where you were in the web interface and Companion

After a lost connection, the web interface keeps the last page readable with editing off and shows how to restart agnostic-ai view. An Add hook draft survives filters and finding links, and keyboard focus follows change previews. In Agnostic Companion, a dismissed message draft reopens with its text, and a list refresh keeps keyboard focus. See the web interface and the Companion.

See the release notes for the remaining fixes.

── more in #ai-tools 4 stories · sorted by recency
── more on @agnostic-ai 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/agnostic-ai-v0-101-0…] indexed:0 read:3min 2026-12-02 · —