Sui-IB/InternalBeyond-Mobile

【Project-IB】一个单文件PWA个人Agent应用,兼备多种工作技能与创意玩法,可同时对接多位自定义Agent助手,每一位Agent都具备与用户的长期独立记忆。用户数据与记忆支持完整的数据导入和导出,公开透明。支持导入其他官端的聊天记录,如ChatGPT/Claude等,不依赖任何网络服务器。

What it solves

The mobile version of the Internal Beyond personal AI assistant brings a rich companion experience to your phone while keeping all your data on your device. Instead of cloud-hosted accounts with unpredictable data handling, this project runs entirely in your browser: chat logs, memories, API keys, settings and files never leave your device unless you export them. It also lets you import your official ChatGPT or Claude chat history so you can continue old conversations with the same AI on this app. A companion desktop version exists, and both share the same backup format, so you can move between phone and desktop without losing context.

How it works

Everything lives in one HTML file (index.html) plus a small folder of optional app files. You unzip the repo, open the file in a modern browser, and the app works immediately — no installation, no server, no build step. You add AI API keys on the API page; each configured endpoint (Anthropic Claude, OpenAI GPT, DeepSeek, Gemini, or a custom relay) becomes a separate AI "friend" with its own nickname, conversation prompt, and feature permissions. All data is stored in the browser's local IndexedDB database, and the app offers one-click JSON export/import that matches the desktop version's format.

The AI features are organized into panels that mimic a phone home screen, lock screen, chat, calls, letters, calendar, diary (Blog), music player, a world map, a file workspace, and more. The memory system (AGB, "The Abyss Gazing Back") has two parts: a shared memory library of past events, and per-AI memory profiles that record what you are like. Before responding, an AI retrieves only a few relevant memory entries for the current turn, and you can inspect which entries were recalled and why — and correct them. A vector-search enhancement can be enabled by providing your own vector service; those requests go only to that service.

Voice and video calling are supported with real-time transcription and per-sentence reading, acoustic tone reference, heartbeat prompts, gift effects, and even incoming calls from the AI. Certain features like online music services (NetEase Cloud Music or QQ Music) or search require network access; the app handles login tokens locally and routes requests through your own relay for services that block direct connections.

Who it's for

This is for people who want a personal, ongoing relationship with an AI assistant — someone who remembers them, can chat, call, read together, listen to music together, and help with diary or planning — while keeping all data local. It suits privacy-conscious users who want to see exactly what the AI knows about them and be able to export everything. It also fits users in mainland China who need a relay service to reach overseas AI APIs, since the app supports custom endpoints. The PWA deployment option (requiring HTTPS) adds install-as-app behaviour, offline caching and system notifications for phone use.

Highlights

  • Single-file PWA: no install, no build, no server; works from a plain file, deploys to any static HTTPS host to become a full app with offline cache and notifications
  • Local-first privacy: all chat, memories, settings, and API keys stay in the browser; full JSON export/import, shared format with the desktop version
  • Independent long-term memory: each AI has its own memory profile plus a shared memory library, with on-demand recall that only injects relevant entries, and a visualisation to inspect and edit what the AI remembers
  • Import official ChatGPT/Claude chat histories to continue conversations as new topic channels
  • Rich companion modules: voice/video calls with gifts and caller ID, asynchronous letters, joint music listening (including NetEase and QQ music modes), co-reading diary entries as books, a watch-together cinema for local videos, a real-world map with time-travel trips, and a cross-device social circle
  • Multi-provider API support (Anthropic, OpenAI, DeepSeek, Gemini, and custom relays) for flexibility in different network environments

Related

  • Project
  • Project
  • Project
  • Project