Update a legacy Telegram bot and refactor an app
Case study takeaway: for the Telegram bot, The builder located the Agent needed a project stood up first, so they spent $0.25 on a fresh bot and then added their legacy code. They asked it to copy the new API's functionality. The card-app refactor went fairly smoothly.
- Agent or tool
- Replit Agent
- Topic
- Software Development
- Reported on
- Blog
- Added
- 2026-10-15
Why it matters
Coding agents are moving from autocomplete to doing whole tasks: reading a codebase, making a plan and changing many files. This case is a concrete example of where that works in practice. It is one of 221 sightings filed under Software Development on Agent Sightings (number 177 by interest), and one of 29 involving Replit Agent.
How you could try it
Here is a reusable prompt, written by us in our own words, that captures the task. Paste it into Replit Agent or any similar agent and adjust the details to your situation.
In this repo, update a legacy Telegram bot and refactor an app. Read relevant code, apply a minimal patch, run available checks, and summarize the diff. Stop before merge or deploy.
The prompt breaks down into 3 steps you can check as the agent works:
- In this repo, update a legacy Telegram bot and refactor an app.
- Read relevant code, apply a minimal patch, run available checks, and summarize the diff.
- Stop before merge or deploy.
Tip: Work on a fresh branch, ask for a plan before edits, and review the diff and test results before merging.
Source
Read the original first-hand account on Blog: https://aiartisan.substack.com/p/what-i-built-with-replit-in-1-month. Our summary is a paraphrase; details are in the source.
Built an AI agent? Feature your agent on Agent Sightings, free submission or a featured spot.
Browse more like this
Related sightings
- From zero code to complete healthcare platform: Dr. Fahim Hussain's 4-day journey with Replit Agent
- How Zinus Saves $140,000+ and Cuts Development Time by 50% with Replit
- Build and deploy a meeting app from a prompt
- A contractor's personal Claude Code agent allegedly ran inside a secure Pentagon system for two months
- Build and submit a family quest app to the App Store
- Build a budgeting app from a single prompt