I open-sourced the AI coworker app I built with AI agents (Android, iOS, web, Cloudflare Workers)
I spent six months building Delegent AI, an AI coworker for your phone and the web, mostly by directing AI agents to do the engineering. It ran in production on Google Play and the App Store with real card and in-app bil
I spent six months building Delegent AI, an AI coworker for your phone and the web, mostly by directing AI agents to do the engineering. It ran in production on Google Play and the App Store with real card and in-app billing. I have now open-sourced all of it under MIT, and I am looking for people who want to pick it up.
Repo: https://github.com/henryrocks7800/delegent-ai
What it does
You chat with it, dictate to it or talk to it, and it gets things done:
- reads and answers your email, and sorts your inbox in bulk
- finds money you might be owed: delayed-flight compensation, forgotten refunds, unwanted subscriptions
- plans trips, writes letters and PDFs
- works inside 35 connected apps such as Gmail, Outlook and Google Calendar
Anything that would send, post or spend waits for your yes.
How it is built
- Apps: Expo / React Native for Android and iOS from one codebase, plus a Vite/React web app. The chat screen is a WebView, so one HTML file renders the conversation everywhere.
- Backend: three Cloudflare Workers. A production Worker owns every API route and every secret. An agent engine gives each person their own Durable Object holding their conversation, memory and model loop, with Cloudflare Workflows for long jobs like bulk inbox sorting. A voice Worker turns live speech into ordinary chat turns.
- Data and billing: Supabase with row-level security on every table, Stripe and Apple in-app purchase.
- Tools: connected apps through Composio, models through OpenRouter.
- Tests: about 2,500 automated tests, release gates and security checks.
The first version gave every subscriber their own Fly.io machine running an open-source agent. One Durable Object per person turned out far cheaper and simpler, and that design is the part I would most like people to reuse.
Where you can help
The code is complete but every original account is gone, so it needs your own Supabase, Cloudflare and model keys. The most useful contributions right now:
- One-command local setup so a newcomer is chatting in under 10 minutes (issue #1)
- Run on a local model or any OpenAI-compatible endpoint, such as Ollama (issue #2)
- Docker Compose for self-hosting on one home server (issue #3)
If you want a cheap, self-hostable personal AI agent, or you are curious how a real end-to-end agent product fits together, have a look, open a Discussion, or grab an issue. Questions about the architecture or about building with AI agents are very welcome in the comments.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.