Set up and capture a session
1. Connect your AI agent to the MCP Server
For Claude Code, run:
claude mcp add kotzilla --transport http https://mcp.kotzilla.io/mcp
For other agents, see the MCP Server quick start. On first use, the MCP Server opens a browser to sign in with your Kotzilla account.
In Android Studio or IntelliJ IDEA with the Koin IDE Plugin, you can also connect your agents from the plugin's Connect dialog, without the command line.
2. Register the app
No SDK key is bundled with the codelab: the SDK and Koin libraries are wired in, but the app is not registered yet. Open the project in your agent and ask, in your own words:
Register this app on Kotzilla and configure the SDK.
Your agent registers the app on the platform and writes the returned kotzilla.json into app/.
3. Capture a "before" session
Build and install the app:
./gradlew :app:installDemoDebug
Then run this path on the emulator or device:
- Launch the app from the launcher. This is a cold start. The first launch asks for the notification permission, and either choice is fine. Notice how long the feed takes to appear. Kotzilla measures that delay.
- On the For you screen, follow a topic and scroll the feed.
- Open Search and search for "compose".
- Open the Saved tab, then move on.
- Open the Interests tab. The app crashes: this is one of the bugs we added.
- Relaunch the app and let it load: this uploads the crashed session. Then send the app to the background or close it.
Sessions usually reach the platform within seconds. Next: Find and fix the issues.