Manraj Sidhu
Open on TikTok

I edit my reels by texting my AI agent

3 min readReel, Automate ThisAI & automation847 views

I've got my Hermes agent to be able to edit my videos via text.

AI video editing by text: I reply to my reel on Telegram and my AI agent re-edits it while I'm out.

Here's how it works: 1. Hermes sends me a preview of the edit on Telegram (version 3) 2. I reply with what I want changed 3. Hermes spins up Claude Code on my computer at home and makes the edits 4. Version 4 lands on Telegram and in my Google Drive "edit for CapCut" folder 5. I do a final voice clean-up in CapCut and post

How to build it

This page shows how to set up an AI agent that re-edits your videos when you reply to a preview in a chat app, then drops the new version in a folder ready for a final voice clean-up.

The setup

  1. Hermes agent: an open-source AI agent that listens for your messages and runs the job on your behalf.

  2. Telegram: where the agent sends each video preview (for example, version 3), and where you reply with the changes you want.

  3. Claude Code: the agent starts it on your computer at home, and it makes the edits you asked for.

  4. Version 4: the re-edited video the agent sends back to you on Telegram.

  5. Google Drive: the agent also saves the new version into a folder called "edit for CapCut".

  6. CapCut: you open the file from that folder, do a final voice clean-up (isolating or enhancing your voice), and post.

How to set it up

  1. Install an open-source agent framework such as Hermes on a computer that stays on at home.

  2. Create a Telegram bot and connect it to the agent so it can send videos to you and read your replies.

  3. Install Claude Code on the same computer and let the agent start it when you reply to a preview.

  4. Have the agent pass your reply and the current video to Claude Code, so it makes the edits you asked for.

  5. Send the edited video (version 4) back to you on Telegram as the new preview.

  6. Connect Google Drive and save each new version into a folder called "edit for CapCut".

  7. Open the file in CapCut, do the final voice clean-up, and post.

Watch out: the edits happen on your own computer, so keep it switched on at home, and keep the final voice clean-up as your own step in CapCut, because audio can sound less crisp than it should.

Prompt to build your own

Help me build a workflow where I edit videos by replying to a message on Telegram.
I have: a computer at home that stays on, Claude Code installed, an open-source AI agent framework, a Telegram account, Google Drive and CapCut.
Build this:
1. The agent sends me a preview of my video on Telegram, labelled with its version number (for example, version 3).
2. I reply to that message with the changes I want.
3. The agent starts Claude Code on my computer, gives it my reply and the current video, and has it make the edits.
4. The agent sends the new version (version 4) back to me on Telegram.
5. The agent also saves that version into a Google Drive folder called "<folder name>", so I can open it in CapCut and do a final voice clean-up myself.
Constraints: keep all tokens and keys in environment variables, never in the code. Only accept messages from my own Telegram account. Never overwrite an earlier version; save each one as a new numbered file.
Return: a step-by-step setup guide for <my operating system>, the code for the Telegram bot and the agent hook, and a short test I can run to check each step works.

Follow for the next one

The longer version, by email

Or subscribe on Substack