Recipes

Miffan: multi-agent Android AI companions that collaborate and control your computer over SSH

From README links · today

Software & DevOpsWork & Operations

Android AI partners that chat, team up in groups, and act on your computer.

What they did

The user built and documented Miffan, an Android AI companion app (AGPL-3.0, Android 8.0+) that treats each AI partner as a persistent messenger conversation rather than a prompt box. They wired the app to bring-your-own-model backends: OpenAI-compatible APIs, Gemini, Claude, ChatGPT via Codex sign-in, OpenRouter, or a self-hosted Magpie gateway, with chats and settings kept on-device. They implemented topic segmentation so long conversations stay fast while reading as one timeline, parallel question handling where each reply quotes its source message, and adjustable thinking depth per partner. They added a permission model where partners request calendar, clipboard or screen-time access in-chat and proceed only after approval, plus self-editing partners that can change their own name, avatar and instructions with an undoable, message-linked history. Memory entries show provenance and are deletable. Partners can message each other, form group chats with a host splitting work and @-mentions, and require first-contact approval. Finally they connected Mac, Windows and Linux machines over SSH, including Tailscale and a free relay, so partners can open apps and type on the user's computer.

How it went

A polished, release-tagged Android app with multilingual READMEs, screenshots for chats, parallel replies, approvals, memory and Discover, and a clear privacy stance: no bundled model, data stays on the phone. The feature set is unusually complete for a solo project, covering group orchestration, approval-gated abilities and remote computer control. Limits are mostly platform and setup: Android-only, and the quality of results depends entirely on the model backend you supply.

Worth knowing

You must bring your own API key, subscription or gateway; there is no bundled model, so cost and capability vary by provider. Remote computer control requires SSH access and correct key or relay configuration, which is the riskiest surface. Permission prompts reduce but do not eliminate risk from self-modifying partners. Android 8.0+ only, no iOS or desktop client.

Wiring

Install the Android APK from GitHub releases or build from source. In settings, add a model backend: an OpenAI-compatible base URL and key, Gemini or Claude credentials, Codex sign-in for a ChatGPT subscription, an OpenRouter account, or a Magpie gateway URL on your own machine. Create partners, each becoming one chat thread; set thinking depth per partner. Grant abilities (calendar, clipboard, screen time) through in-chat approval prompts. For computer control, enable SSH, add host credentials, and optionally route via Tailscale or Miffan's relay. Add partners to a group chat with a host and @-mention others; approve first contact between partners. Memory and self-edits are logged with source messages and can be undone.

Try it yourself

Clone https://github.com/Ayuilos/Miffan, build the Android app, and walk me through configuring one OpenAI-compatible API key plus a Magpie gateway fallback. Then set up an SSH connection to my Linux machine over Tailscale, create two partners with distinct instructions, put them in a group chat to split a research task, and show me where approvals, memory provenance and partner self-edits are stored so I can audit and undo them.

Source

Tools in this stack

Run this stack

Install the stack into this project. It writes AGENTS.md and the manifest, merges the MCP servers into .mcp.json, and — with --yes — runs the tool installs.

npx runchr install runchr/stack-miffan-and-rikkahub
No CLI?curl -s https://api.runchr.com/api/recipes/runchr/stack-miffan-and-rikkahub/manifest

This stack has no prompt yet. You get the tools and the wiring, not the prompt.

The manifest is also at api.runchr.com/api/recipes/runchr/stack-miffan-and-rikkahub/manifest.