Quick start#
Install ajmx and its agent skill, then ask your agent about a JVM running on your machine. The JVM needs no flags and no restart.
Requirements#
| Part | Needs |
|---|---|
| ajmx | macOS on Apple silicon, or Linux on x86_64 or arm64 |
| AI agent | One that supports agent skills |
| Target JVM | A HotSpot JVM, JDK 8 to 25, running as your user |
Ask about a JVM#
-
Install ajmx. The agent runs it from your
PATH.curl -fsSL https://github.com/yagipass/ajmx/releases/latest/download/install.sh | sh -s -- -b ~/.local/binbrew install yagipass/tap/ajmxnix profile install github:yagipass/ajmx -
Add the agent skill.
gh skill install yagipass/ajmx ajmxnpx skills add yagipass/ajmx --skill ajmxapm install yagipass/ajmx/skills/ajmx -
Ask your agent with
/ajmx./ajmx Why does the heap of OrderService keep growing?The agent finds the JVM and its MBeans, reads them, and answers. It changes the JVM only when you ask.
Next#
- Agent skill, for more to ask and what the skill teaches
- Use cases, from heap and threads to changing a setting
- Commands, to run ajmx yourself
- Remote JVMs, to connect with
--url