Rozenite for Agents
Rozenite for Agents is the agent-facing way to interact with React Native DevTools and Rozenite plugins. It gives coding agents a reliable interface for inspecting a running React Native app through Rozenite, including logs, network activity, React profiling data, and plugin-specific tooling.
Under the hood, this interface is exposed through the rozenite agent CLI. Coding agents typically use rozenite agent to discover connected targets, create or reuse sessions, list available domains, inspect tool schemas, and call domain tools with structured JSON arguments.
This functionality is experimental and may not work in all cases. If you run into a bug, please open an issue.
What coding agents use it for
- Read app logs while debugging a failure
- Capture and inspect network requests during a user flow
- Run React profiling when investigating slow renders
- Use tools exposed by installed Rozenite plugins
- Use app-defined custom tools registered directly by the running app
- Work against the connected app target without inventing custom instrumentation
Before you start
Make sure:
- your app is running in development mode
- Metro is running
- at least one React Native target is connected
If you have more than one simulator, emulator, or device connected, you will need to choose which one to inspect.
Rozenite for Agents is designed for AI and coding agents first. The underlying CLI can be called directly, but the intended use is for an agent to drive it while debugging or implementing changes in a React Native app.
How agents usually work with it
The typical flow is:
- Connect to a running app target by creating or reusing a session.
- Discover which Rozenite domains are available for that target.
- Use the relevant domain to inspect the app state or collect debugging data.
Built-in domains include console, network, react, performance, and memory.
Runtime domains can also come from installed Rozenite plugins. At the moment, the documented agent-capable plugin domains include:
@rozenite/react-navigation-plugin@rozenite/mmkv-plugin@rozenite/storage-plugin@rozenite/controls-plugin
Apps can also expose in-app custom tools. These are runtime tools registered directly by the app instead of by a separate Rozenite plugin package.
If you want to give a coding agent this workflow directly, install the rozenite-agent skill.
Next steps
- Install the Agent Skills (
rozenite-agentskill) if you want Codex or another coding agent to use Rozenite effectively. - Adding tools to your application – expose custom tools from your app for agents to call.
- Making your plugin agent-enabled – expose tools from your Rozenite plugin to agents.
