跪拜 Guibai
← Back to the summary

App Atlas Maps Every Screen and Business Flow in a Mobile App Using AI Agents

I Used an AI Agent to Automatically Generate the Business Map of an Entire App (Open Source)

Pain Points

In mobile development, there's a persistent old problem: code you didn't write yourself is code you don't understand well enough. Business logic is scattered across dozens of files. When you take over someone else's module, you have to dig through it bit by bit, and after a while, you forget it all again.

Later, when AI coding came along, the old problem wasn't solved, and new ones appeared:

  1. AI repeats the same code search in every conversation. Ask once about the order placement logic, and Claude has to scan through VC/VM/Cell from scratch, burning through tokens. Ask again next time, and it has forgotten everything.
  2. AI writes more and more code, and people have fewer "memory anchors" for the code. Since you didn't type it line by line, two weeks later you can't even remember where the entry point is.
  3. An app with hundreds of pages always lacks a global map. Testers want to know "where does this button lead," and product managers want to confirm "what step does this flow reach" — they all have to dig through code or pull a developer aside to ask.

Solution: App Atlas

So I built App Atlas — a tool framework that presents the UI structure, interactive hotspots, navigation relationships, and business logic of every screen in an app as a visual map.

Core ideas:

Demo

This tool has been running on a real project of mine for a while, collecting business logic for 50+ modules and 180+ pages. The open-source version has been desensitized, with all business data removed, keeping only the generic framework plus a set of demo data (simulating four modules of an IM-style app: Chat / Contacts / Discover / Me) for easy experience and understanding:

demo.gif

Online experience: https://innepeace.github.io/app-atlas/

You can click around:

What It Solves

Scenario Before With App Atlas
AI understanding Search code from scratch each time, 10000+ tokens Read manifest directly, a few hundred tokens
Newcomer onboarding Ask colleagues / dig through code / read outdated docs Open the map, click and see
Test coverage Guess branches based on experience Branches for every hotspot are clear at a glance
Product confirms logic Pull a developer into a meeting View the flowchart themselves
Code memory Forgotten as soon as AI writes it Logic leaves a trace, queryable anytime

How to Use

git clone https://github.com/innepeace/app-atlas.git my-app-atlas
cd my-app-atlas

# Configure your iOS/Android project path
cp atlas.config.example.json atlas.config.json
# Edit the sourceProject field

# Start
node tools/serve.mjs 37421
open http://127.0.0.1:37421/web/

Then let the AI Agent start collecting:

You: Collect the order page in the trade module
AI: (Reads source code → Analyzes VC/VM → Generates manifest.json + logic.md → Done)

You can also manually write manifest.json + logic.md; see the format in README.

Technical Features

Current Limitations

Honestly, this project is still in its early stages:

So forks, issues, and PRs are very welcome to improve it together.

Links

If you find it useful, a ⭐ Star is appreciated, and Issues are welcome for exchanging ideas.


Forks, Issues, and PRs are very welcome to improve it together.