Phones and notifications
Pair a phone with your gateway by QR code, get a push when an agent replies or needs you, and revoke a phone at any time.
Pair a phone with a server gateway and it gets a token of its own, so you never copy your owner credentials onto it. A paired phone can then follow your conversations and receive a push when an agent replies, asks for approval or fails.
The Jian app for iPhone and Android isn't available yet. Pairing and notifications are already in your gateway, ready for it.
Try it
Every morning at 8, summarize what happened overnight across my repositories and send me the highlights.
Run the migration check on staging. If anything needs my approval, ask me and I'll answer from my phone.
Pair a phone
Set the public address
The QR code carries your gateway's address, so the gateway needs JIAN_PUBLIC_URL set. Without it, the page tells you to set it. See Gateway configuration.
Open Settings → Mobile
Mobile is offered on a server gateway only. It does not appear for the desktop app's own gateway; it appears when the desktop app is connected to a server.
Click Pair a phone and scan the code
Open Jian on your phone and scan the code. The one-time pairing code works for 5 minutes. The phone appears in the list once it is paired, with its platform (iPhone or Android) and when it was last seen.
Pairing attempts are limited to 10 a minute.
What a paired phone can do
A paired phone has its own token and is treated like you almost everywhere: it reads conversations, sends messages, answers questions and decides approvals. It is checked against the database on every request, so a revoked phone is out at once.
It cannot:
| Action | Why |
|---|---|
| Edit an Artifact, make one public or change its password | A device that can be lost should not change who sees your work. See Artifacts |
| Add, change or delete a Secret | A key typed on a phone could hand every agent's commands a credential from a lost device. It may see Secrets, as agents do. See Secrets |
A phone can open, pin, rename, move and delete Artifacts.
Revoke a phone
In Settings → Mobile, click the revoke button beside the phone and confirm. Revoking ends that phone's token and nothing else.
Push notifications
Each paired phone with notifications on gets a push when:
- an agent replies in a panel chat,
- an agent asks for approval or asks a question, or
- a run stops on an error.
The title is the agent's name, pushes are grouped per conversation, and the app icon's badge counts the panel chats waiting for your answer.
| Setting | Effect |
|---|---|
| Show previews on | The push carries the text |
| Show previews off | The text becomes "replied", "needs your approval", "asked you something" or "stopped on an error" |
Pushes to a phone go through third-party push services and are not end-to-end encrypted. A preview passes through them unless you turn Show previews off for that phone.
You get no push where you are already looking: a phone with that conversation open gets nothing, and no phone gets a push about a chat you are reading in the panel. Jian stops sending to a phone that uninstalled the app.
Other notifications
| Where | How |
|---|---|
| Web panel | The bell beside the new chat button turns on notifications for that browser. On an iPhone, add Jian to the Home Screen first. Push needs the panel served over HTTPS |
| Desktop app | A system notification when an agent finishes in a chat you aren't looking at, when a question or approval waits on you, and for a new message in a WhatsApp, Telegram or agent conversation. Settings → General → Notifications turns them off |
| In the panel | A notice appears when the agent writes in a chat you aren't reading, with a button that opens it |
The sidebar also shows what needs you: a spinner means the agent is working, a colored dot means an unread reply, and a yellow dot means a turn is waiting for your approval or answer.
If something fails
- The QR page asks for an address: set
JIAN_PUBLIC_URLand recreate the gateway container. - No pushes on a phone: the gateway must be able to reach the internet, and the phone must not have that conversation open.
- A retry sent twice: it doesn't. A retried message is not added twice while an agent is working or waiting for your answer.
Related
- Approvals
- Remote gateways to connect the desktop app to a server
- Security and protection
Give an agent an email address on your own domain through Resend or Cloudflare, and control who it can write to and how it answers.
HTTP API and client integrations
Drive a gateway from your own code: the owner API, an OpenAI-compatible chat endpoint for API channels, asynchronous runs and safe retries.