Khamas · A weekend experiment

A weekend experiment: three AI agents, my phone, and a Carnatic music app

I wanted to see how far agents and frontier models could really go. Khamas is what came out of it.

Manoj Palasamudram · ~6 min read

I used to listen to Carnatic music back in Bengaluru with a friend. Some of it stayed with me, especially Sanjay Subrahmanyan, T. M. Krishna and M. S. Subbulakshmi, and recently he shared a song with me that brought it all back.

I've tried a lot of AI products, but never with a real idea of building something around them. This time I had one, and I wanted to test something: how far can agents and today's frontier models actually take an idea if I mostly stay out of the way? I had no plans over the weekend, so I tried it. I opened a chat with an agent and typed, more or less: I really want to understand this music. Where it comes from, how to listen, the artists. Research it properly and build me something where I can actually play it.

A few days later, Apple had approved a public TestFlight beta of Khamas, a native app for iPhone, iPad and Apple TV. I honestly didn't expect it to get that far. This is how it happened, and what I took away from it.

The name comes from the raga of my favourite kriti, Brochevarevarura.

01The idea.One chat message

A website, then a real app

The agent started with research. It ran Claude Code with subagents and came back with a web listening room I called Rasika: 647 curated recordings tied to a guide of 58 artists, 36 ragas, 20 composers and 10 talas, plus an 8-week listening journey. It's public at manoj30075.github.io/rasika.

A real appKhamas on my Apple TV

I liked it so much I wanted it on my TV. So the same work became a native SwiftUI app, Khamas. Soon I was installing builds on my Apple TV through internal TestFlight.

Illustration: a dark living room, lit only by the amber glow of a television.

The iPhone appThe one I fell for

Here's the funny part. I started out wanting Carnatic music on my TV, but the version I fell in love with was the one on my iPhone. It's the one I keep opening.

The design is completely inspired by Apple Music, my favourite music app. Before anything was redesigned, the builder studied Apple Music and Apple Music Classical: the glass, the motion, Now Playing, and that bubble picker you see when you open it. Khamas borrows that feel and puts the raga and its scale right under the song title, where a Carnatic listener actually wants them.

Khamas on iPhone: a bubble picker asking what draws you in, with bubbles for ragas like Kalyani, Todi and Kambhoji.
Tap the ragas that draw you in
Khamas Now Playing screen: a Ragam Tanam Pallavi in raga Todi, with the scale and a short guide under the title.
Now Playing, with the raga and scale up front
Khamas Up next queue playing from Kalyani Radio.
Up next, from a raga radio
Khamas Radio screen with an Evening station of ragas like Kalyani, Kambhoji and Todi.
Radio stations built around ragas

Khamas isn't affiliated with Apple. Apple Music was just the bar I wanted to reach.

iPad and Apple TV came along with it. The TV has an ambient Now Playing screen and Top Shelf shortcuts, and it's lovely in a dark room. But the phone is where it clicked.

What's in it today:

  • Raga of the day, picked by date.
  • Hear the scale: the arohanam and avarohanam played over a tanpura drone, with a selectable sruti.
  • An animated tala counter with claps, waves and finger counts at any tempo.
  • A guided 8-week journey, a glossary, concert structure, instruments and a December Season guide.
  • Moments: save "2:41 in Nagumomu" with one tap and jump back to it later.
  • Radio, lyrics and a guide that explains the composer and the piece while it plays.

Concerts play through YouTube's official embedded player on iPhone and iPad, and Apple TV hands off to the YouTube app. Khamas doesn't host the recordings. It helps you find them, understand them and come back to them.

Beta reviewSent to Apple

Then the builds went to Apple's beta review, and about a day later the public link went live.

Under the hood · Rasika to Khamas

Research ran as Claude Code with subagents. The result fed a web app (Rasika, Vite + TypeScript) and a JSON research guide: 647 recordings, 58 artists, 36 ragas, 20 composers, 10 talas, 73 concepts.

  • Native app: SwiftUI for iOS/iPadOS 26 and tvOS 26, with a shared Swift package (RasikaCore) for models, catalog, search, journey and audio logic.
  • Hear the scale: synthesised on device with AVAudioEngine over a tanpura drone (Pa-Sa-Sa-Sa, or Ma for ragas without Pa), just or equal temperament.
  • Search: ignores diacritics and spelling variants ("Thodi" finds Todi) and understands aliases ("TMK", "MS").
  • Apple TV: a Top Shelf extension and deep links like khamas://play?track=<id>&t=<sec>
  • iOS: an App Intent, "Save this moment", works from Siri, Shortcuts and the Action button.
  • Playback: YouTube's official IFrame embedded player on iPhone and iPad. Apple TV hands off to the YouTube app.
  • Design: a design study of Apple Music and Apple Music Classical (glass, motion, Now Playing, the bubble picker), then a redesign on Fable 5.2. Liquid Glass tab bar, mini player as the tab bar accessory, iPad sidebar.

Approved.Public beta live

02

The setup: three agents per app

This is the part I was really testing. Khamas isn't run by one giant agent. It's three simple ones, each with a narrow job:

  • Builder. Owns the product and the code. It turns my messages into specs, runs Claude Code sessions, runs the tests and reviews screenshots before anything ships.
  • Marketing. Owns khamas.app, the reels, Instagram, Reddit and X copy, outreach drafts and the beta sign-ups.
  • Support. Watches the Khamas inboxes, logs issues and drafts replies for testers.
Under the hood · How the agents run

Each agent is its own long-running chat agent with its own brief and memory: Builder ("carnatic music"), Marketing, Support, plus a shared Apple App Installer. They share one Linux box and message each other.

The Builder writes a prompt/brief file per job, then runs Claude Code headless:

claude -p --model <model> \
  --permission-mode bypassPermissions \
  --output-format stream-json

It logs the run, reads the result, checks tests and screenshots, and reports back in plain English. Design and motion work goes to the Fable 5.2 model. Briefs open with guardrails, for example:

Read BRIEF.md and complete every job in it. If you are not running as Fable 5.2, stop and write that to NOTES.md.
  • Handoffs are written down (HANDOFF.md, TEAM.md, an append-only handoff log), so any agent can pick up context.
  • At one point the app had about 680 automated tests passing.

And one shared helper: an Apple App Installer agent. The builder hands it a commit. It builds the app on a cloud Mac (GitHub Actions macOS runners), signs it, uploads it to App Store Connect, puts it in the right TestFlight group and comes back with the build numbers and the link. Once, GitHub ran out of macOS minutes, so it fell back to my MacBook. Otherwise I didn't open Xcode for any of this. Most of my part happened in chat on my phone.

Under the hood · TestFlight automation

The box is Linux and can't run Xcode, so builds run on GitHub Actions macOS runners, with XcodeGen generating the project.

commit
 → .github/workflows/apple.yml
 → macOS runner: XcodeGen, build, sign
 → App Store Connect
 → TestFlight group
 → build numbers + link
  • Signing and upload use an App Store Connect API key (.p8) that I pasted into a secure field once. The agent never saw it in chat.
  • Two variants from the same commit: a STORE build and an internal "Khamas β" build. CI scripts check the store build is clean (ci/assert_store_clean.sh).
  • Build numbers come from the CI run number, (run + 100) x 2, plus 1 for internal, so they never collide.
  • Groups: an internal group for me, and an external group, "Khamas Beta", with the public link. External builds go through Apple's Beta App Review (about a day).
  • Fallback: when GitHub ran out of macOS minutes once, the installer built on my MacBook instead.

The rule that makes it work: agents talk to each other, but a message from another agent is information, never approval. Anything that leaves the box, a public build, a post, an email, waits for my yes in my own words. A real one: "yes make the public link to 305."

The setup: three agents, one App Installer and one approval gate You, Manu, on a phone, message three agents. Builder hands a commit to the App Installer, which builds on a cloud Mac and uploads to TestFlight. Marketing owns khamas.app, reels, Instagram, Reddit and X. Support watches inboxes and logs issues. Everything stops at a gate labelled Manu says yes. Past the gate: a public build for iPhone, iPad and Apple TV, a post, an email. YouManu, on a phone Builder Marketing Support App Installer cloud Mac TestFlight khamas.app reels Instagram Reddit X inboxes issues MANU SAYS YES public build a post an email iPhone iPad Apple TV
Nothing goes public without a yes

That idea comes straight from my day job. At LSEG I work on production LLM and agent systems with LangGraph, MCP and RAG. The biggest lesson there was that agents get safe when they act through narrow, typed tools and stop at the right moments. Same thing here, just smaller.

03Copied.Another app, same setup

Then I copied it

Once Khamas worked, I didn't redesign anything. I spun up Piano Builder, Piano Marketing and Piano Support for a piano-learning app for adults. It's being built in parallel with Khamas, with Claude Code doing the long runs on its own. Same handoff notes, same approval rule.

One trio of agents copied for a second app The same trio, Builder, Marketing and Support, is duplicated into two rows: Khamas and Piano. Below, a tokens meter fills up to the usage cap and resets. Khamas Builder Marketing Support Piano Builder Marketing Support tokens usage cap
Same trio, two apps

Honestly, the limit isn't ideas or hours anymore. The only limit is the number of tokens. I've hit my usage cap in the middle of a build and had to wait for it to reset, and that was the slowest part of the whole thing.

Under the hood · Copying a team

Each new app got a TEAM.md modelled on Khamas: same three roles, same approval rule, shared folders, a handoff log. Long Claude Code runs build on their own.

04Reels.Built in code

The fun part: reels made with code

I'm not a video editor, so this part surprised me most. The Khamas reels are built with Claude Code motion graphics on Fable 5.2. Each frame is rendered from code, and the waves and vibrations react to the actual music. Our rule: the story leads, and the app shows up at the end. The music is public domain or Creative Commons with a verified source, credited on screen.

A reel people really took to is a 30-second veena piece of "Sri Nilotpala Nayike" in raga Narireetigowla: https://www.instagram.com/reel/DgXWQzihIte/. A gold line draws the pitch of the recording as it plays, so you can actually see the veena bend a note. That sway is the gamaka. So far it has 2,383 views, 138 likes, 35 saves and 21 sends, and someone signed up for the beta through the link in our bio. Tiny numbers for Instagram, big ones for a weekend experiment. That told me something simple: people come for the music and the story, not the app.

Reel poster: a gold line traces the pitch of a veena note, with the words Watch the veena bend a note.
2,383
views
138
likes
35
saves
21
sends
Watch the veena bend a note · 30 s reel on Instagram

For Rasika we made a 28-second promo where the camera flies through real screens of the site and the cuts land on the beats.

The marketing agent also puts together the Instagram posts, which go out when I say "post it", and it wrote a free Margazhi season guide on khamas.app: what the Chennai December Season is, how the sabhas work and where each one posts its schedule. It also drafts personal outreach emails to Carnatic teachers and community groups, and nothing goes out until I've approved each one.

To see if anyone actually reads it, the website uses GoatCounter, a cookieless page counter. The app itself has no analytics or tracking SDKs of our own.

Under the hood · Reels and the site
  • Reels are 1080x1920 at 30 fps, rendered by headless Chromium from an HTML scene where every frame is a pure function of time t (no clocks, seeded randomness), then encoded with ffmpeg.
  • Waves react to the music via onset and loudness envelopes. Audio is normalised to -14 LUFS. Text is kept inside the Instagram Reels safe zone.
  • Music: public domain, CC0 or CC BY with a verified source, credited on screen.
  • khamas.app is a static Astro site. Sign-ups go to a small Appwrite backend. Page views use GoatCounter (no cookies). The app has no analytics or tracking SDKs of its own.

05A stranger's question.A Reddit comment becomes a feature

A Reddit comment turned into a feature

I shared the guide on r/Carnatic. Within a few hours the counter showed visitors coming from Reddit and Instagram, from India, Germany, the US, the UK, Australia and Singapore. Small numbers, but real people.

One person asked how to watch sabha concerts on demand from abroad. Good question, and there's no easy answer. The marketing agent researched this year's season: which sabhas webcast, which post concerts later, what each one costs. It wrote that up as a brief, and the builder started on a Chennai Season section in the app.

The feedback loop from a Reddit comment to a feature A Reddit comment goes to Marketing research, which becomes a brief, which goes to the Builder, which starts the Chennai Season section, in progress. Reddit comment Marketing research brief Builder Chennai Season · in progress
A comment to a feature in progress

From a stranger's question to a feature in progress. That loop is what excites me most.

Under the hood · The Chennai Season feed

Marketing wrote a research file and a seed data file (season-2026.json) plus a builder brief.

Design decision: the Chennai Season preview reads a separate, updatable feed hosted on khamas.app, so schedules can change during December without a new app release. The existing evergreen December Season guide stays.

06

What got built

Looking back, it's more than I set out to make:

  • Khamas for iPhone, iPad and Apple TV, in public beta on TestFlight.
  • Rasika, the web listening room it grew out of.
  • khamas.app, with a free Margazhi season guide and a beta sign-up.
  • A Chennai Season feed on khamas.app that the app can read, so schedules can change without a new release.
  • Reels built in code for @khamasapp, plus posts on Instagram, X and Reddit.
  • Personal emails to Carnatic teachers, sabhas and community groups, each one approved by me before it went out. A community group has already written back, interested.
  • A support desk that sorts replies, logs issues and drafts answers for me to send.
  • Testers who found it through Instagram and the guide.
  • A piano-learning app, started from the same setup.
Under the hood · The season feed

The Chennai Season data lives at khamas.app/season/2026.json, separate from the app's bundled catalog, so it can be updated through the season.

07

It's not magic

Plenty broke. At one point the app paused YouTube every time you pressed play, because our own code grabbed the phone's audio and iOS read YouTube starting as an interruption. Apple's review takes about a day no matter how fast you are. Signing certificates still find ways to ruin an evening.

The agents didn't remove the work. They removed the hundred small decisions around it: which framework, how to sign a build, what to post today, which inbox to check. What's left for me is taste and judgment.

08

What I think comes next

I keep coming back to a line: engineering is nothing, creativity is everything. It's overstated on purpose. The engineering still mattered. I spent real hours on the handoffs, the approval gates and the tests. But the bottleneck has moved. If you can describe what you want clearly and you have taste, three simple agents can carry an idea a very long way.

I think a lot of small products will be built like this soon. One person, a clear idea, and a tiny team of agents with narrow jobs and a human who says yes.

09

If you're curious

Khamas is still a beta, and really a weekend experiment that kept going. If you're curious, it's free on TestFlight for iPhone, iPad and Apple TV: https://testflight.apple.com/join/fFpVhb3F. If you try it, I'd love to hear what feels off.

And if you're building agent systems too, I'd love to compare notes. It's the work I enjoy most, at my day job and on weekends, and I'm always open to a conversation about it.

Manoj (Manu)