Your First Agent — Complete Walkthrough

From zero to a live AI agent on Telegram in under 10 minutes.


What We're Building

By the end of this guide you'll have:

  • ✅ A live Telegram bot powered by an AI agent
  • ✅ The agent running on ModelFitAI's managed infrastructure (no server needed)
  • ✅ Your first agent searching for leads, posting content, or tracking a launch

We'll use the Reddit Lead Gen template as our example — it's free, requires no Reddit account, and starts finding leads immediately.


Step 1: Create Your Telegram Bot (2 min)

Your agent needs a Telegram bot to communicate through.

  1. Open Telegram and search for @BotFather
  2. Send /newbot
  3. Choose a name (e.g. "My Lead Gen Bot")
  4. Choose a username ending in bot (e.g. "myleadgen_bot")
  5. BotFather replies with your bot token — looks like: 7123456789:AAFxxxxxxxxxxxxx

Save this token. You'll need it in Step 3.


Step 2: Get an AI API Key (3 min)

Your agent uses Claude or GPT to understand context and score leads.

Option A — Anthropic (Claude) — recommended:

  1. Go to console.anthropic.com
  2. Sign up → API KeysCreate Key
  3. Add $5 billing credit (more than enough for months of use on free tier)
  4. Copy your key: sk-ant-...

Option B — OpenAI (GPT):

  1. Go to platform.openai.com
  2. Sign up → API KeysCreate new secret key
  3. Add $5 billing credit
  4. Copy your key: sk-...

Step 3: Deploy the Agent (2 min)

  1. Go to modelfitai.com/dashboard
  2. Sign up or log in
  3. In the search bar, type: "Find Reddit leads for my SaaS product"
  4. ModelFitAI recommends Reddit Lead Gen — click Deploy
  5. Walk through the wizard:
    • Channel: Select Telegram
    • AI Key: Paste your Anthropic or OpenAI key
    • Bot Token: Paste the token from @BotFather
  6. Click Deploy Now

Wait 30–60 seconds. You'll see "Agent is live!"


Step 4: Talk to Your Agent

Open Telegram → find your bot → send:

/start

Then try:

scan r/entrepreneur for people asking about productivity tools

The agent searches Reddit, scores each post for buying intent, and replies with the top leads directly in your chat.


Step 5: Managing Your Agent

From the DashboardMy Agents tab you can:

  • View all running agents and their status
  • Stop an agent (it stops responding and frees up your slot)
  • Deploy another agent (Free: 1, Starter: 3)

Tips for Better Results

Be specific with your prompts:

# Too vague
scan reddit for leads

# Better
scan r/SaaS and r/startups for posts from founders frustrated with their CRM

Use keywords your ICP uses:

  • Pain words: "struggling with", "help me", "looking for", "recommend"
  • Competitor names: "alternatives to X", "switched from Y"
  • Job titles: "founder", "head of sales", "indie hacker"

What's Next?


✉️ Questions? Email hello@architectgbt.com