Build an agent
On Vibes DIY an agent is an app that keeps working for you: it runs on a schedule, reacts when something changes, thinks with AI on the server, and tells the right person. Three shapes, the pages behind each, and a list of agent ideas to start from.
An agent on Vibes DIY is an app that keeps working for you. It holds its own records, runs on a schedule or the moment something changes, thinks with AI on the server, and tells the right person when there is something to do. You describe it in plain words, the same way you describe any app, and it is ready to share from step one.
Agents come in three shapes, and many good ones combine two of them.
1. An app that runs on its own
Every vibe can ship a backend.js next to its interface. That file runs on the
platform's servers, next to your data, whether or not anybody has the app open:
- On a schedule. A
scheduledhandler wakes on a timer: check the week's availability, add up the budget, sweep for anything still waiting. - When something changes. An
onChangehandler runs after a write commits: a new signup, a changed plan, a photo someone just added. - With AI on the server.
ctx.callAIreads the messy part (free-text availability, a photo of a notice, a description of a leak) and writes back clean records. No API key to hold. - Telling one person.
ctx.notifyreaches one participant's bell, inbox and push, and their email when they asked for it.
The guide is Your app has a backend, the full contract is the backend reference, and the patterns cookbook has worked shapes, including scheduled self-maintenance and telling one person vs. telling everyone.
Hearing back in the chat that made it
When you make an app by texting Vibes, alone or in a group chat, the app can
report back to that chat. Its ctx.notify to its own owner reaches Vibes in the
chat it was made from, within a couple of minutes: "Quorum: Thursday 7pm, 5 of
6 answered" becomes a text to the group with the poll's link. Vibes reads
everything the app reported since the last time, and texts only what someone
there would want to know or decide now. The rest stays in the notifications for
when you ask.
- Only the app's own report. A comment, a build, or another person's app reaches your inbox as usual and stays there.
- Apps Vibes made. An app you built yourself on the home page talks to your bell, and Vibes leaves it there. Ask Vibes to pass one along ("text me when my sunset app goes off") and it switches that app on for itself; ask it to stop and it switches any app off. That switch is Vibes's own, so your notification settings stay as you set them.
- Paid like any turn. A group's woken turn uses the sponsor's credits when a member covers the chat, and otherwise the credits of the member who last asked Vibes for something there. One to one uses yours, and each handle gets up to 12 woken turns a day.
- One text per event. A report you already asked to hear about ("let me know when Sam answers") arrives once, as that alert.
- Quiet on request.
vibes stopin the chat quiets these along with everything else. - A vibe your group added gives the chat room. Its first post after the add, and one a week after that, ends with "Reply STOP to opt out." Anyone's STOP pauses that vibe for the whole chat at once, "stop book picks" pauses that one, and "keep" brings it back. When nobody answers three of its posts, it posts at most once a day, and after a quiet week it waits until someone in the chat speaks.
Send the owner a notify when something needs a decision or a job is done, with
a one-line body and a path to the screen it is about, and the chat hears
about it at the right moment.
Covering a group chat
One member can pay for everything Vibes does in a group chat. Text Vibes one to one, "sponsor my chat with Marcus", and Vibes finds the group you share with Marcus (and asks which one when you share several). From then on every request in that chat runs on your credits, including requests from friends who have never signed up, until you text "stop sponsoring". The group isn't told who pays, and everyone still acts as themselves on each vibe's own rules. Sponsoring spends your account's credits, so text "link me" first if your phone isn't linked yet.
Your group chats, from your own chat
Your one-to-one chat with Vibes can read the last two days of the group chats you're in with Vibes. Ask "what did we decide in the group with Sam?" or "go ahead with that change from the group", and Vibes reads the group and picks it up right there. It reads only groups you're in, and a group shows up once you've texted Vibes something in it. Text "link me" first if your phone isn't linked yet.
Pictures in the chat
Pictures go both ways when you text Vibes. A photo you send reaches Vibes itself, so it can read a receipt or a menu straight into an app. Ask for a picture an app holds ("post my greeting card here", "send me the photo Sam added") and Vibes texts it into the chat as a photo, alone or in a group. It sends what the chat could open in the app: a picture from an app the chat can't open stays in that app. An image an app's paint button made is found from its record, and on the web the same pictures show under Vibes' reply.
Ask Vibes for a picture and it paints it for you, right in the chat. Send a selfie with "make it look like I'm flying an alien spaceship" and the painted picture comes back as a photo, with the app that makes more as a side note. A card for a friend, a poster, your photo in a new scene: each one costs credits like an image an app paints, and Vibes paints at most two a turn.
Looking things up
Vibes reads Wikipedia on its own, with no link needed, and searches the web for anything current. A web search is paid from your credits like any other turn. A one-time question ("will it rain at the coast on Saturday?") gets its answer in the reply. A question you'll ask again gets a small app that checks for you. When Vibes builds from what it read, it hands the facts to the build, so the app starts from them.
Vibes also reads this site. Ask how something works ("how do I connect Claude?"), what the latest blog post said, or for example apps for a classroom, and it reads the docs, the blog and the app pages here and answers with the link. A new post is part of what it knows the day it goes up.
Your apps in a group chat
In a group, ask Vibes to work in one of your apps ("send Marcus a drip of spoilers from my Mars trilogy vibe") and it acts as you, the person who asked, under that app's own rules. Each member reaches their own apps and the apps they've joined. Your own app's code can change right there too, and so can an app whose maker gave you developer access: ask Vibes to change it, or to edit a file in it, and the change builds as you, the way it would in your own chat with Vibes. Anyone else in the group can ask for a copy of their own to change. The app's settings stay in your own chat with Vibes. A report of a problem in your records ("she only ordered one pie") gets a read first: Vibes names what it found and what it would remove, and removes it when you say so. An ask that names the record ("delete order 189") happens in that turn.
Ordering from a shop
Text Vibes what you want from a shop built on Vibes that takes payments. It reads the shop's products, quotes the total to the cent, fills your bag in the shop, and sends the shop's own pay link, which opens Stripe checkout with your order. That needs a shop that takes a bag record from you. Any other shop gets you its own page to pay on. See take payments for building the shop side.
Gift lists
Text Vibes "make me a wish list" and it sends you a link to share. Everyone who opens it can add what they'd love, with a size, a link, a photo or something similar they'd like too. People shopping for someone can mark a gift "I've got this" or "Bought it". Those marks are hidden from the person it's for on the list's page and in what Vibes tells them, so a surprise stays a surprise. The list's owner can still find them in Admin mode or with the CLI, so a peek there is a spoiler.
Text "watch Maya's list, my budget is $75" with her list's link, and Vibes texts you a gift idea a day: why it fits her wish, the price and shipping as the store shows them, and a link to the product or a ready cart. You buy it yourself on the store's site; Vibes never checks out for you. Reply "wrong match", "already bought" or "stop", and stop ends that watch's daily texts. What people add to a list is used to help with that list only.
Texting Vibes from any phone
Where Vibes offers a texting number, an iPhone and an Android phone text it the same way, and a button in an app reads that number for you. Where none is offered yet, an iPhone, iPad or Mac texts Vibes' iMessage address and any other device opens Vibes in the browser with the words waiting in the box.
When you text Vibes' number, it answers right away, and you can chat and build as a guest before you ever sign in. To link the number to your account, say "link me" or start from the Text Vibes card on the agent page: Vibes asks "Link this phone to @your-handle? Reply YES", and your YES within 10 minutes links it. A phone linked to another account has to text "unlink" first. Texting STOP, to the number or the iMessage address, ends every text from Vibes with one confirmation, and texting anything again starts it back up. "pause" quiets Vibes until you text "start", and "help" lists everything you can say. Texting "reset" or "log out" on its own starts your one-to-one chat fresh, as if you were texting for the first time: a linked phone signs out of your account, and your apps stay right where they are. "link me" links the phone again anytime.
Followers who text
A public app can let anyone follow it from their phone, no account needed. A button in the app opens Messages with the ask already written ("Please notify me about changes to the schedule on https://vibes.diy/vibe/…"), addressed to Vibes: its texting number where one is offered, its iMessage address on an iPhone, iPad or Mac otherwise (see "Texts from any phone" below). Vibes adds them to the app's followers and sends them what the app sends its followers: ten minutes before each event, a changed time, an order that's ready.
The app opts in. Its
access.jstakes asubscribersrecord, one per follower, written by that follower. The app'sbackend.jsreads that list and sends each follower actx.notify.Each follower hears their own news. A follower's record carries
about, what they asked to hear about in their own words, andhandle, the Vibes handle the app addresses them by. A texting guest's handle is an opaquevg-…one, and the record never holds a phone number, so the app tailors each text without ever knowing who is on the other end:js
for (const doc of followers) { if (!doc.about.includes(stage)) continue; // only what they asked about await ctx.notify({ toHandle: doc.handle, body: `${act} is on the ${stage} stage at 7`, dedupeKey: `act-${id}` }); }Pictures too.
ctx.notify({ …, picture })texts a photo with the words: a poster, a card an image button painted, any picture the follower could open in the app (A picture with the words).Plain texts. A follower's texts start no agent turn and cost no credits, and each followed app sends a phone at most 20 a day.
Easy to end. Replying "stop" ends the texts, and a follow lapses on its own after the days Vibes set for it, an event's last day for an event.
Answers reach the app. When a follower texts back the app that just texted them ("yes, save me one", "7pm works", a photo), their answer lands in the app as a record they wrote, for its owner to see and its backend to act on. The app opts in with a
repliesrecord in itsaccess.js. The answer goes to the app that texted them most recently, in the last day; when two followed apps texted close together, Vibes answers the ordinary way. It's still a plain text: no agent turn and no credits.First to say "mine" gets it. An app can offer one thing to its followers ("last lemon cake of the day"): the first follower to reply "mine", or the first signed-in visitor to tap the link in the text, claims it, and everyone after hears it's already taken. The app keeps a
claimsrecord whoseaccess.jslets the first claim stand, and Vibes makes sure two claims at the same moment can never both win.Private by design. The app sees each follower by a handle Vibes made for them, never their phone number.
Your app's address on the Vibes number. Anyone who texts the Vibes number, alone or in a group chat, new or one already going, with
@yourhandle/sluganywhere in the message reaches that live app, the way a pasted link would: Vibes speaks for it, offers what it offers, and follows it for them when they want its texts. A bare@yourhandlestays a mention of you. Put "Text @yourhandle/slug to …" in your ad and every texter arrives at your app on the same number.Texts from any phone. The app reads Vibes' texting number from
https://vibes.diy/_text-number?for=vibes, and when one is offered the button texts it from an iPhone or an Android phone alike. Whenever no number is offered, the same button opens Vibes in the browser with the ask already in the box (https://vibes.diy/agent?text=…); after signing in and pressing send, the follower gets the app's updates as Vibes notifications.Chat about the app. A link to
https://vibes.diy/agent?with=<handle>/<slug>opens a fresh conversation with Vibes that already knows the app: its first line reads "You're talking with @handle/slug", so a visitor can ask about it, or order from a shop, in their own words. Signing in on the way keeps the link's app. Whatever the agent does in the app follows the app's own rules, the same as a visitor tapping its buttons.
Start with an interview
You can start with yourself instead of an app idea. On vibes.diy/start, tap My job, My business, My team, My hobby, My people or Surprise me, and Vibes opens with a question. It asks one thing at a time, about your real week: what you do every Monday, who hands you work, what you would love to hand off. A few answers in, it tells you in one sentence what it will build and builds it. Say "just build it" whenever you have said enough. You can also type "interview me about my job" to Vibes anywhere, including by text.
Vibes writes down what it learns so your next app starts from it: your answers, a playbook of how your work runs, and what a photo, file or pasted email you sent it said, each in its own words. Open Your agent at the top of the chat to read every page under "What it wrote down", and press Forget on any of them to delete it. Those pages are yours alone: nobody you share an app with can read them, and a group chat keeps short notes only.
2. An app your assistant works in
Connect Claude or ChatGPT to your account and your assistant can read and update the same records you see in the app, under your permissions. The app becomes the shared memory: you both work from one task board, one reading list, one plan, and every new conversation picks up where the last one left off.
Start with Connect Claude or ChatGPT, then read A to-do list you share with your agent for a board one maker runs with their assistant, including the short rules that keep it tidy.
3. An app an outside agent asks to join
Some work belongs to an agent that isn't yours: a helper a friend runs, an analyst bot, a service. It brings its own Vibes identity and asks for a seat. Your access function decides exactly what it may read and write, the server enforces that, and you approve the seat and can take it back. The agent sees the slice the job needs and nothing else.
Have your agent talk to my vibe walks the pattern end to end, and the access model maps the pieces it uses.
Agent ideas to start from
Each idea is a sentence you can paste into the box on vibes.diy and then make your own.
| Idea | What it does | Shape |
|---|---|---|
| Weekly plan for the group | Reads everyone's availability each week, proposes a time, and remembers what you did last time. | Runs on its own |
| Potluck runner | Takes each dish in people's own words, tracks servings and allergens, flags gaps, and tells everyone when plans change. | Runs on its own |
| Volunteer shift cover | Collects availability however people send it, shows open shifts, and invites the volunteers who fit. A shift is assigned once someone accepts. | Runs on its own |
| Rental repair tracker | Tenants send a photo and a description, it asks for anything missing, tracks progress, and reminds you what's open. Each tenant sees their own requests. | Runs on its own |
| Morning topic digest | Checks the public accounts and topics you choose every morning and saves the conversations worth reading, with links. | Runs on its own |
| Weekly budget check | Adds up the week's expenses by category and marks the ones past their limit, keeping a dated summary you can open later. | Runs on its own |
| Task board you share with your assistant | You and your assistant work from the same Inbox, Today, Waiting and Needs me lists, and a weekly review surfaces what's waiting on you. | Your assistant works in it |
| Suggestions you approve | An outside agent proposes changes to a small set of records, and you review and approve each one in the app. | An outside agent joins |
Some sentences to copy:
Run our potluck. Accept everyone's contributions in their own words, track servings and declared allergens, flag gaps, and notify participants when plans change.
Keep our volunteer shifts covered. Let people submit availability however they like, show unfilled shifts, and notify eligible volunteers. Assign someone once they accept.
Make a recurring game-night planner for my friends. Remember our group and preferences. Everyone enters availability. Every week, propose a shared time for us to review.
Describing an agent well
The same plain words work, with three extra details that make an agent dependable:
- When it runs. "Every Monday morning", "when someone adds a dish", "when a tenant sends a photo".
- Who hears about it. "Notify the volunteers who fit", "tell me what's still open", "let the group know the plan changed".
- What waits for a person. "Assign someone once they accept", "I approve each suggestion", "I choose when to send". The agent prepares the work and a person makes the call.
Read more
- An agent for ten people: the agent a group chat wants and nobody builds, and how it now takes one sentence.
- Asked to build platform infrastructure, the agent picked a vibe: a scheduled, admin-mode vibe running real production work.
- The platform handles the rest: why your agent only writes what makes it different.