---
url: /v7.2.0-SNAPSHOT/guide/advanced/ai-agents.md
---

# Project guidance for coding agents

As of v7.1.0, module authors and developers using UltiTools from their own plugins can give a coding agent documentation for the framework version their project resolves. The documentation bundle, `AGENTS.md` and the [experimental test kit](./testing) are independent options. None requires adopting the scaffold or a particular testing workflow.

## Version-matched local documentation

The [7.1 scaffold](./ultikits-cli#scaffold-tests) in CLI 3.1.0 and later configures Maven plugin 2.1.0. Press Enter at the `UltiTools-API version:` prompt to accept the default, `7.1.0`; entering `7.0.0` generates the 7.0 template. Run `mvn initialize`, then read `target/ultitools-docs/VERSION` to check which framework version Maven resolved. The build generates this directory; keep your own project notes elsewhere.

| Path relative to `target/ultitools-docs/` | What to read |
| --- | --- |
| `README.md`, `index.json`, `index.schema.json` | Bundle entry point, list of files present in this version, and index format |
| `errors/`, `migration/` | Look up causes and fixes by error code, or read upgrade notes and the `migration/migrations.json` replacement table |
| `testkit/` | The test kit's own index, errors and testing reference, when its dependency resolves and its JAR contains a bundle |
| `guide/llms-full.txt` | The full English guide matching `VERSION`, when downloading is enabled and a download or cached copy is available |

A hand-written Maven project that depends on `com.ultikits:UltiTools-API` 7.1.0 or later can invoke the same [docs and migration goals](./maven-plugin#docs-and-migration). An external plugin keeps its own `JavaPlugin`, declares the UltiTools dependency in its descriptor and calls `UltiToolsAPI.connect(this)` on enable. It does not need to become a module or use the module copy or upload goals. Without the Maven plugin, you can also read the bundle directly under `META-INF/ultitools-docs/` in these framework JARs. UltiTools-API 7.0.0 and earlier do not contain the bundle or the migration table.

## The project AGENTS.md file

The [7.1 templates](./ultikits-cli#scaffold-tests) for modules and external plugins, not included in CLI 3.0.0, write an `AGENTS.md` with commands to generate documentation, build with JDK 25 and run in-process tests. It explains how to opt into real-server tests after personally accepting the Mojang EULA. The test kit does not verify client-visible effects; authors choose whether to use it and what to test.

`<!-- ultitools:managed:start -->` and `<!-- ultitools:managed:end -->` delimit text that a future CLI may refresh. They do not mean the build rewrites the file. Put project-specific notes outside the markers. You can edit or delete the file, or point your own project's instructions at the local bundle or online guide instead.

## Full guides by version

Use `https://dev.ultikits.com/v<version>/llms-full.txt` for English; insert `/zh` before the version for Chinese. For example, the Chinese guide for release `7.0.0` is `https://dev.ultikits.com/zh/v7.0.0/llms-full.txt`; the English guide for release `7.1.0` is `https://dev.ultikits.com/v7.1.0/llms-full.txt`. For a snapshot version, keep the `-SNAPSHOT` suffix rather than substituting the site's unversioned full guide. `/llms.txt` lists the available versions and languages.

## Migration diagnostics

After updating a dependency or applying an agent's edits, run `mvn verify` if your POM binds `check-migration`. The 7.1 templates add this binding; CLI 3.0.0 does not. Otherwise, [invoke the goal directly](./maven-plugin#docs-and-migration). `check-migration` scans main and test Java sources: a reference to a class or annotation listed as removed fails the build; one listed as deprecated only warns. The diagnostic identifies the file, line, replacement and local documentation. To turn off this check without disabling docs generation, pass `-Dultitools.migration.skip=true`.
