Skip to content

Build the UseAgent mobile app for iOS and Android #61

Closed as not planned
Closed as not planned

Description

@abhishekgahlot2

Build the UseAgent mobile app for iOS and Android, so people can check on their agents, answer a question or start a task from their phone.

Where to start

  1. Put it in apps/mobile/. Expo (React Native) is the suggested stack. Want another? Say so in a comment first.
  2. Sign-in: the desktop app signs in through the browser and hands back to the app with a useagent:// link. Copy that flow from apps/desktop/src/sign-in.ts and apps/desktop/src/auth-client.ts.
  3. API shapes: packages/agent-client.
  4. Live events: the web app's thread view (frontend/components/chat/) shows how a thread's live events are read.

Done when

  • You sign in through the browser handoff and stay signed in.
  • A thread list, and a thread view that updates live while an agent works.
  • You can start a new thread, reply in one, answer an agent's question, and approve or deny a request.
  • A push notification arrives when a run finishes, fails or needs your answer. A small backend endpoint to register a device token is fine.
  • Builds install on a real iPhone and a real Android phone (Expo Go, TestFlight or an APK).
  • The pull request has a screen recording from each phone.

Free to try

Sign up free at app.useagent.org. New accounts get free model credits (GLM or Claude Opus, up to a limit) and free cloud sandbox time, enough to finish this task without paying or adding a key.

Claim it

  • A maintainer assigns this issue before work counts. /take doesn't apply to bounty issues, so comment with how you would approach it instead.
  • A pull request from someone who wasn't assigned isn't reviewed for the bounty.

Payment

  • Bounty: $80, paid after the pull request is merged and the app is verified on both systems.
  • Proof is your own recording of the app working on a real iPhone and a real Android phone.
  • Bounties pay only for the verified outcome this issue describes, never for a write-up, a plan or an unfinished attempt.
  • No payment requests or claims in pull requests or comments. Once the work is accepted, email hi@useagent.org.

Keep private details out of here

This page is public. Don't post your real email, phone number, address, payment details, API keys, or screenshots that show any of them. Send anything private, including how you'd like to be paid, to hi@useagent.org with a link to your comment here.

Rules

  • Use the app while you work, and put before and after screenshots or a short recording in your pull request. For backend or docs work, show the result end to end.
  • One change per pull request. Run the checks in CONTRIBUTING.md.
  • AI help is fine, blind AI output is not. You must understand, run and explain every line you submit.
  • Untested or generated pull requests, and pull requests on an issue someone else was assigned, are closed without a reply and don't count for Hacktoberfest. So are several near-identical pull requests for the same bounty.

Activity

  1. added
    enhancement
    help wanted
    hacktoberfest
    bounty: $80
    on Oct 5, 2026
  2. vickyuhh commented on Oct 5, 2026

    @vickyuhh

    /take

  3. github-actions commented on Oct 5, 2026

    @github-actions

    @vickyuhh this one has a bounty, so a maintainer picks who takes it. Tell us here how you would approach it.

  4. vickyuhh commented on Oct 5, 2026

    @vickyuhh

    i’d build it in apps/mobile/ with expo/react native, reuse the existing desktop browser auth flow, use packages/agent-client for threads/live updates, then add thread actions + push notifications. i’d test it on both ios and android and include screen recordings in the pr.

  5. woahwhattheheck commented on Oct 6, 2026

    @woahwhattheheck

    /take

    I’ll keep this as one mobile-app change under apps/mobile/ using Expo/React Native and reuse the repository’s existing contracts rather than duplicate them: browser handoff based on apps/desktop/src/sign-in.ts + auth-client.ts, API/thread types from packages/agent-client, and the web chat event model for live thread updates. The first source slice will cover persisted auth, thread list/view, start/reply/question/approve-deny actions, and an Expo push-token registration boundary. I’ll keep push delivery/backend changes minimal and isolate them from the client. Final acceptance will be based on installable iOS + Android builds and real-device recordings; I won’t treat cloud/unit checks as substitutes for that device gate.

  6. github-actions commented on Oct 6, 2026

    @github-actions

    @woahwhattheheck this one has a bounty, so a maintainer picks who takes it. Tell us here how you would approach it.

  7. vultrarex21-dev commented on Oct 6, 2026

    @vultrarex21-dev

    /take

    I’d like to take ownership of this. I’ll implement the mobile client under apps/mobile/ with Expo/React Native, reusing the existing desktop browser handoff and packages/agent-client rather than introducing parallel auth or API contracts.
    I’ll structure the work around persisted sign-in, thread list/live event rendering, thread actions (new/reply/question/approve-deny), and device-token registration for run notifications. I’ll keep the backend addition minimal and verify the end-to-end flow against the existing web event model before adding UI polish.
    For acceptance, I’ll provide installable iOS and Android builds plus real-device recordings covering sign-in, live runs, actions, and notifications.

  8. github-actions commented on Oct 6, 2026

    @github-actions

    @vultrarex21-dev this one has a bounty, so a maintainer picks who takes it. Tell us here how you would approach it.

  9. vultrarex21-dev commented on Oct 6, 2026

    @vultrarex21-dev

    I’d like to take this issue.

    My approach would be to build the mobile client under apps/mobile/ with Expo/React Native, targeting both Android and iOS while reusing the existing authentication, API, and event contracts.

    I would structure the implementation around:

    • persisted sign-in using the existing desktop browser authentication handoff
    • thread list and live thread views using the existing web thread event model
    • creating threads, sending replies, answering agent questions, and approving/denying requests through packages/agent-client
    • device-token registration for push notifications, keeping any backend changes minimal
    • clear loading, error, and connection states for live agent runs

    I’ll first trace the existing desktop auth flow, packages/agent-client, and web thread event handling so the mobile implementation follows the current architecture rather than introducing parallel API or authentication logic.

    For verification, I’ll cover the complete user flow on Android and validate the iOS build and platform-specific behavior as far as the available build environment allows. I’ll provide the requested installable builds and recordings and keep the PR focused on this issue.

  10. elcuervo171234 commented on Oct 6, 2026

    @elcuervo171234

    Before claiming issue #61, could you confirm that the advertised $80 is USD, who funds the reward, and whether you can pay a contributor based in the Dominican Republic by PayPal or USD ACH after acceptance? Is a claimant already selected? I can scope the source and automated checks, but I cannot promise the required recordings on both physical phones from the resources currently verified. Would you consider a separately paid initial milestone for persisted authentication and a thread list, with your team validating the supplied builds on real devices, or is the full two-device delivery required from the contributor? Please confirm the milestone budget and payment timing before work starts.

  11. hamzasaleem22 commented on Oct 7, 2026

    @hamzasaleem22

    Hi @abhishekgahlot2, I would like to take this one. I have a real iPhone and Android phone available for testing and screen recording.

    I reviewed the code first. My implementation plan is:

    Sign in: Reuse the existing desktop handoff instead of adding another auth plugin. The app will open /desktop auth with state and a PKCE challenge through expo web browser, handle the useagent://auth/callback redirect, and exchange the code through /api/auth/electron/token with the useagent: origin, same as the Electron main process. The session will be stored in expo secure store so it remains available after app restarts.

    Live threads: Use packages/agent client without changing its existing logic. It already accepts fetch, EventSource, and timers from outside. I will add a small React Native SSE adapter for EventSourceLike that sends the session cookie. This will allow the existing reconnect and fallback-polling logic to work on mobile.

    Questions and approvals: Reuse the logic from question-state.ts and approval-state.ts. I will only add the required mobile screens.

    Push notifications: Add a push_devices table and POST /api/devices and DELETE /api/devices endpoints to register and remove Expo push tokens. A sender will listen to the run bus for inished, failed, and needs-input events and send notifications through the Expo Push API. I will also add endpoint tests.

    Builds: Create an Android APK through EAS because Expo Go on Android no longer supports remote push notifications. For iPhone, I will use Expo Go. I will include a screen recording from both devices in the PR.

    Before starting, I would like to confirm these points:

    1. Is reusing the Electron handoff with client_id=electron acceptable for mobile, or should we use a separate client ID such as mobile?
    2. Is Expo Push Service acceptable, or do you prefer direct FCM/APNs?
    3. Should push events go through the connectors layer (Transport/Renderer), or is a small standalone sender listening to the run bus acceptable?

    I will open a draft PR after sign-in is working on both phones, so the progress can be reviewed early.

  12. hamzasaleem22 commented on Oct 12, 2026

    @hamzasaleem22

    @abhishekgahlot2 yes aslo last follow up from me .

  13. abhishekgahlot2 commented on Oct 18, 2026

    @abhishekgahlot2
    ContributorAuthor

    Closing this. Paid tasks now go by email only: if you can show strong coding or real software you've shipped, write to hi@useagent.org with links to your work and the task you'd like to take. This task is still open to the right person by email. Thanks for helping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bounty: $80enhancementhacktoberfesthelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions