Skip to content
Launching on Product Hunt at 12:01 AM PDT

Code from your phone. Ship from anywhere.

Run Claude Code, Codex CLI, OpenCode, and Gemini CLI from a cloud terminal on your phone. Pre-installed, persistent, and ready to go.

Getting started with Cosyra.

Watch a quick tutorial to see how to set up your cloud terminal, connect your tools, and start coding from your phone in minutes.

See the docs

AI coding agents.
Pre-installed.

Claude Code, Codex CLI, OpenCode, and Gemini CLI are pre-installed. Bring your API key, open the terminal, and start building.

See the docs
~/project — claude

$ claude

╭─────────────────────────────────────────╮

Claude Code v1.2.3 │

╰─────────────────────────────────────────╯

> refactor the auth middleware to handle token refresh

I'll refactor the auth middleware. Here's my plan:

1. Extract token validation into a helper

2. Add automatic refresh when token expires within 5min

3. Update error handling for refresh failures

src/middleware/auth.ts

- import { verify } from 'jsonwebtoken';

+ import { verify, decode } from 'jsonwebtoken';

+ import { refreshToken } from '../lib/auth';

src/lib/auth.ts (new file)

+ export async function refreshToken(token: string) {

+ const decoded = decode(token);

+ // ... refresh logic

~/cosyra — tmux

┌─ git log ────────────┬─ npm test ───────────┐

│ │ │

│ a3f1c2d

│ fix: token refresh │ auth middleware │

│ b7e9a01

│ feat: add rate limit│ rate limiter │

│ c4d2f89

│ chore: update deps │ token validation │

│ e1b3a56

│ docs: API reference │ refresh flow │

│ │ │

│ │ 12 passed, 0 failed

├────────────────────────┴────────────────────────┤

$ npm run build

Compiled successfully in 2.3s

└─────────────────────────────────────────────────┘

Full Linux terminal.
30 GB persistent storage.

Ubuntu, Node.js, Python, Git, tmux, vim, and cloud CLIs. 30 GB of storage that persists between sessions.

See the docs

Review PRs from the train.
Merge from the couch.

Clone repos, review code, and push changes from your phone. Pro sessions hibernate and resume where you left off.

See the docs
~/cosyra — gh

$ gh pr view 847 --comments

fix: handle token refresh in auth middleware #847

Open · sarahc wants to merge 3 commits into main

+47 -12 across 2 files

─── Comments ───────────────────────────

@sarahc 2 hours ago

Extracted the refresh logic into a helper

and added retry with backoff.

@you just now

LGTM — nice catch on the race condition.

$ gh pr review 847 --approve

✓ Approved pull request #847

// faq

Common questions about Cosyra

Direct answers for the questions developers ask before they trust a mobile terminal with real work.

Can I run Claude Code on my iPhone?

Yes. You get an isolated Ubuntu container with Claude Code, Codex CLI, OpenCode, and Gemini CLI pre-installed. Same experience as your laptop.

Which AI CLI tools does Cosyra support?

Claude Code, Codex CLI, OpenCode, and Gemini CLI come pre-installed. The container includes Node.js, Python, Git, tmux, vim, and standard dev tools. You can install additional packages as needed.

Do I need to use my own API keys?

Yes. Cosyra follows a bring-your-own-key model so developers can use their own provider accounts and keep control over usage and billing.

Does Cosyra work on Android and iPhone?

Yes. Cosyra runs on both iOS and Android with the same terminal experience across devices.

Can I use Cosyra for private or proprietary code?

Yes. Each user gets their own isolated cloud container. Your code and files are private to your environment.

Why use Cosyra instead of SSHing into my own server?

No infrastructure to manage, no ports to configure, no mobile UX to fight. Cosyra is a ready-to-use dev environment on your phone.

How does pricing work?

Cosyra comes with a free trial that includes 10 hours or 7 days of full access. After that, Pro is $29.99/month or $300/year and includes 120 hours/month, 30 GB persistent storage, and session hibernation. Subscriptions are available via in-app purchase.

How does Cosyra handle API keys?

Bring your own API key. Keys are stored securely on your device using platform-native encryption. When you run an AI agent, your key is transmitted to your cloud container over an encrypted connection.

Do Cosyra sessions persist between app opens?

Yes. Your files persist between sessions. Pro users get session hibernation: your container pauses after 10 minutes of inactivity and resumes where you left off.

Start coding from your phone.

Free trial included. Subscription required after trial.