Update a legacy Telegram bot and refactor an app
The author used Replit Agent to update a Telegram bot to a newer API, which only worked after some iterations, and to refactor a card-collection app including a database schema change.
Done withReplit Agent
- What they did
- For the Telegram bot, the author found the Agent needed a project created 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. For the card app, they had it do non-trivial refactors, including a database schema change so cards could belong to multiple collections.
- How it went
- The card-app refactor went fairly smoothly. The Telegram update was a disappointment: even a basic bot took several iterations, and the legacy-code update did not work well. The author calls it a disaster.
- Worth knowing
- The whole month of experiments used the $25 plan plus about $4 of extra credit. Adding unit tests to the card app disrupted its Workflows, so the tests ended up unused.
Try it yourself with Replit Agent
Update my Telegram bot in [project name] from the old [library or API version] to the current [new library or API version], keeping all existing commands working. Run the bot after each change, fix any errors you hit, and tell me which commands you tested. Don't change the database schema or delete any data without showing me the plan first.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: aiartisan.substack.com · Undated
Related use cases
Build a searchable map of funded companies
A software engineer had Replit Agent build a searchable map of Wefunder brick-and-mortar companies in about 3 hours for about $22.
Add 61 kid-friendly mini-games to an app
Two users had Replit Agent autonomously add 61 child-friendly, ad-free mini-games to their game vault, growing it from 40 to 101.
Build a first app with no coding experience
A commenter used Replit's agent with Claude Sonnet to make an app in about five minutes despite never having coded anything functional before.
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
Write Playwright tests with Playwright MCP and Claude Code
A walkthrough of using Playwright MCP with Claude Code to generate Playwright tests in minutes.
Turn dictated specs into tickets and code with LLM agents
A developer dictates a spec, has LLMs densify it, then plan and scaffold the project, and an agent files implementation tickets per module.
Custom agent
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.