Replit Agent Tutorial India: Build & Deploy Apps Free
AI agent that builds, runs & deploys apps — perfect for students learning to code
Replit has evolved from a simple online code editor into a complete cloud development platform with AI-powered app generation. Replit Agent — their AI assistant — can build, debug, and deploy full-stack applications from natural language prompts, all within your browser. For Indian developers and students, it offers the most complete browser-based development experience available.
What You'll Learn
- What Replit Agent is and how it compares to alternatives
- Setting up your Replit account and workspace
- Building a complete full-stack project with Agent
- Working with databases on Replit
- Deploying your app with a live URL
- Free tier limits and when to upgrade
What Is Replit Agent?
Replit Agent is an AI system that can autonomously build software projects. Unlike simple code generators, it operates like a junior developer who can:
- Understand requirements from natural language descriptions
- Create project structure with proper files and folders
- Write code in any programming language
- Install dependencies and configure the environment
- Set up databases and create schemas
- Debug errors by reading error logs and fixing issues
- Deploy the application to a live URL
How It Differs from Bolt.new and Lovable
| Capability | Replit Agent | Bolt.new | Lovable.dev | |-----------|-------------|----------|-------------| | Environment | Real cloud server | Browser WebContainer | Browser | | Languages | 50+ (Python, Go, Ruby, etc.) | JavaScript/TypeScript | JavaScript/TypeScript | | Backend | Any framework | Limited | Supabase | | Database | PostgreSQL, built-in DB | Via Supabase | Supabase | | Real server | Yes (always-on) | No (browser-only) | No | | Deployment | Built-in (.replit.app) | Via Netlify | Built-in | | Collaboration | Real-time multiplayer | Single user | Single user | | Mobile app | Works on mobile browser | Desktop only | Desktop only |
Replit Agent's key advantage is that it runs on a real server. This means it can handle server-side processing, cron jobs, websockets, and other features that browser-based tools cannot.
Getting Started with Replit
Create Your Account
- Go to replit.com
- Sign up with Google, GitHub, or email
- You start on the free tier
Pricing for Indian Developers
| Plan | Price | What You Get | |------|-------|-------------| | Free | Free | Basic IDE, limited compute, community features | | Replit Core | $25/month (~2,100 INR) | Replit Agent, more compute, deployment, custom domains | | Teams | $40/user/month (~3,360 INR) | Everything in Core + team collaboration features |
Student tip: Replit occasionally offers student discounts through GitHub Education and MLH (Major League Hacking). Check if your college's coding club has a partnership with Replit for free or discounted Core plans.
Your Workspace
After signing in, you see:
- My Repls — Your projects
- Create button — Start a new project
- Community — Browse other people's projects
- Teams — Collaborative workspaces
Building Your First Project with Agent
Let us build a complete task management API with a frontend.
Step 1: Start a New Project
- Click "Create Repl"
- Select "Agent" (not a blank template)
- Describe your project:
Build a task management app for a small Indian startup team.
Features:
- User registration and login with email/password
- Create, update, delete tasks
- Assign tasks to team members
- Set priority (High, Medium, Low) and due date
- Dashboard showing:
- Tasks by status (Todo, In Progress, Done)
- Overdue tasks highlighted in red
- Team member workload chart
- Filter tasks by assignee, priority, status, due date
Tech stack:
- Backend: Python Flask with SQLAlchemy
- Database: PostgreSQL
- Frontend: React with Tailwind CSS
- Authentication: JWT tokens
Use Indian date format (DD/MM/YYYY) throughout.
Step 2: Watch Agent Work
After you submit, Replit Agent:
- Creates a plan — Shows you the project structure it will create
- Sets up the environment — Installs Python, Node.js, PostgreSQL
- Creates the backend — Flask API with routes, models, and authentication
- Creates the frontend — React app with all the dashboard components
- Connects them — Configures CORS, proxy, and API integration
- Tests — Runs the application and checks for errors
- Fixes issues — If something fails, it reads the error and fixes it
This process takes 3-8 minutes depending on complexity. You see every step in real-time.
Step 3: Review and Interact
Once Agent finishes, you have:
- A running backend at the Replit URL
- A React frontend connected to it
- A PostgreSQL database with the schema created
- Working authentication
Open the preview pane to see your app running. Try creating an account, adding tasks, and viewing the dashboard.
Step 4: Iterate with Agent
If you want changes, talk to Agent:
Add email notifications when a task is assigned to someone.
Use SMTP with Gmail. Also add a Kanban board view as an alternative
to the list view.
Agent modifies the existing code — it does not start from scratch. It adds the new features while preserving everything it already built.
Working with Databases on Replit
Replit DB (Built-in Key-Value Store)
The simplest option for small projects:
from replit import db
# Store data
db["user:1"] = {"name": "Rahul", "email": "[email protected]"}
# Retrieve data
user = db["user:1"]
# List keys
users = db.prefix("user:")
PostgreSQL on Replit
For serious applications, Replit provides PostgreSQL:
- In your Repl, go to Tools → Database
- Select PostgreSQL
- Replit provisions a database and sets the
DATABASE_URLenvironment variable
# Agent generates this automatically
from flask_sqlalchemy import SQLAlchemy
import os
app.config['SQLALCHEMY_DATABASE_URL'] = os.environ.get('DATABASE_URL')
db = SQLAlchemy(app)
class Task(db.Model):
id = db.Column(db.Integer, primary_key=True)
title = db.Column(db.String(200), nullable=False)
status = db.Column(db.String(50), default='todo')
priority = db.Column(db.String(20), default='medium')
assigned_to = db.Column(db.Integer, db.ForeignKey('user.id'))
due_date = db.Column(db.Date)
created_at = db.Column(db.DateTime, default=db.func.now())
Connecting External Databases
You can connect to external databases using Replit Secrets (environment variables):
- Go to Tools → Secrets
- Add your connection strings:
SUPABASE_URLMONGODB_URIREDIS_URL
Deploying Your Application
Automatic Deployment
Every Replit project gets a live URL: https://your-project.username.replit.app
To keep it running 24/7:
- Go to the Deployments tab
- Click "Deploy"
- Choose:
- Static — For frontend-only apps (free)
- Autoscale — For apps with backends (Core plan)
- Reserved VM — For always-on applications (Core plan)
Custom Domains
On the Core plan, you can connect your own domain:
- Go to Deployments → Custom Domains
- Add your domain (e.g.,
tasks.yourdomain.com) - Update your DNS records as shown
- SSL is configured automatically
Real Project: Building a Portfolio Site
Here is a practical project many Indian students need — a developer portfolio.
The Prompt
Build a developer portfolio website for a Computer Science student in India.
Sections:
1. Hero with animated typing effect showing different roles:
"Full Stack Developer", "Open Source Contributor", "ML Enthusiast"
2. About section with a brief bio, photo placeholder, and skills
(React, Python, Java, AWS) shown as progress bars
3. Projects section with 6 project cards. Each card has: thumbnail,
title, description, tech tags, GitHub link, live demo link
4. Experience section: timeline of internships and projects
5. Education: B.Tech CSE from IIT Delhi (2022-2026)
6. Contact form that sends emails (use Formspree for now)
7. Dark theme with smooth animations and scroll transitions
Use React, TypeScript, Tailwind CSS, and Framer Motion for animations.
Make it responsive and fast-loading.
Agent builds the complete portfolio in under 5 minutes. You then replace the placeholder content with your real information.
Tips for Indian Developers on Replit
Managing Costs
- Use the free tier for learning and small experiments
- Track your compute hours — check the usage dashboard regularly
- Stop Repls when not in use — Running Repls consume compute even if nobody is accessing them
- Use Replit DB instead of PostgreSQL for simple projects — it is included free
Handling Slow Internet
Replit works better than local development on slow connections because:
- No large downloads or installations needed
- The IDE runs in the browser with minimal data transfer
- Code execution happens on Replit's servers, not your machine
If the editor feels laggy, try:
- Closing other browser tabs
- Using Chrome instead of Firefox (better performance for Replit)
- Connecting to a stable WiFi instead of mobile data
Collaboration for College Projects
Replit's multiplayer feature is excellent for group projects:
- Open your Repl
- Click "Invite" in the top-right
- Share the link with your teammates
- Everyone can edit simultaneously — with real-time cursors visible
This eliminates the common college project problem of "merge conflicts in WhatsApp."
Replit Agent vs Writing Code Yourself
Replit Agent is powerful, but understanding when to use it matters:
Use Agent When
- Prototyping quickly — Hackathons, proof of concepts, MVP testing
- Boilerplate setup — Project structure, authentication, database configuration
- Learning new frameworks — Ask Agent to build with a framework you want to learn, then study the code
- Non-core features — CRUD operations, admin panels, standard components
Write Code Yourself When
- Core business logic — The unique algorithm or process that defines your product
- Performance-critical code — Agent's code works but may not be optimized
- Security-sensitive features — Payment processing, sensitive data handling
- Interview preparation — Practicing DSA and system design
Where to Go Next
- Bolt.new tutorial — Compare with Bolt's browser-based approach
- Lovable.dev tutorial — Build SaaS apps with Supabase integration
- What is vibe coding? — Understanding the AI-first development movement
- Best AI coding tool for Indian developers — Full comparison of all tools
Replit Agent represents the future of cloud-based development — an AI that can build, debug, and deploy applications from your descriptions, running on real servers with real databases. For Indian developers, especially those who want to build without complex local setup, it offers a powerful and accessible path to shipping software. Start with the free tier to explore the platform, and upgrade to Core when you are ready to build and deploy production applications.
Community Questions
0No questions yet. Be the first to ask!