Skip to content

sauravbhattacharya001/getagentbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

288 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– AgentBox

Your personal AI agent that lives in Telegram

Try on Telegram Live Site


CI codecov Deploy Docker HTML5 CSS3 JavaScript Docker License npm Docs Last Commit Repo Size Stars

An AI assistant that remembers you, searches the web, sets reminders, understands images, and lives right in Telegram. No signup, no app to install β€” just open Telegram and start chatting.


⚑ Quick Start

1. Open Telegram
2. Search for @AgentBox11Bot
3. Tap "Start"
4. Chat β€” 20 free messages/day, no signup required

That's it. No accounts, no apps, no configuration.


✨ Features

Feature Description
🧠 Persistent Memory Learns your preferences, context, and history across conversations. Never repeat yourself.
πŸ” Web Search Ask about anything β€” get concise, grounded answers backed by live web data.
⏰ Smart Reminders Natural language scheduling. "Remind me to call mom in 30 minutes" just works.
πŸ“· Vision Send photos, screenshots, documents, memes β€” it sees what you see and answers questions about them.
🎀 Voice Send a voice note instead of typing. It transcribes and responds naturally.
πŸ”’ Private Workspace Each user gets an isolated agent. Your conversations and data stay yours.

πŸ†š Comparison

Feature AgentBox ChatGPT Siri / Google
Remembers your context βœ… ⚠️ ❌
Lives in Telegram βœ… ❌ ❌
Web search βœ… βœ… βœ…
Image understanding βœ… βœ… ⚠️
Voice messages βœ… βœ… βœ…
Set reminders βœ… ❌ βœ…
No app to install βœ… ❌ ⚠️
Free tier βœ… βœ… βœ…
Private workspace βœ… ⚠️ ❌

πŸ’¬ Interactive Demo

The live landing page includes animated Telegram-style chat demos across four scenarios:

  • 🧠 Memory β€” Recalls past conversations and uses them as context
  • πŸ” Search β€” Answers real-world questions with live web data
  • ⏰ Reminder β€” Natural language scheduling that just works
  • πŸ“· Image β€” Analyzes screenshots and images to solve problems

πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚        Landing Page (this repo)      β”‚
β”‚                                      β”‚
β”‚  Multi-page static site with:        β”‚
β”‚  β€’ 30+ pages (landing, docs, tools)  β”‚
β”‚  β€’ 50+ modular JS components         β”‚
β”‚  β€’ Comparison table                  β”‚
β”‚  β€’ FAQ accordion                     β”‚
β”‚  β€’ CTA β†’ Telegram bot               β”‚
β”‚                                      β”‚
β”‚  Deployed via GitHub Pages           β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                β”‚ Links to
                β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚       Telegram Bot Backend           β”‚
β”‚                                      β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚  β”‚ GPT-4o / β”‚  β”‚ Per-user memory β”‚   β”‚
β”‚  β”‚ Claude   β”‚  β”‚ & workspace    β”‚   β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚  β”‚ Web      β”‚  β”‚ Reminder       β”‚   β”‚
β”‚  β”‚ Search   β”‚  β”‚ Scheduler      β”‚   β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

This repository contains the landing site β€” a multi-page static site with 30+ pages and 50+ interactive JS modules, deployed via GitHub Pages. The bot backend runs separately and communicates through the Telegram Bot API.


πŸ› οΈ Tech Stack

Layer Technology Purpose
Frontend HTML5 + CSS3 + Vanilla JS Zero-dependency, single-file landing page
Hosting GitHub Pages Free static hosting with automatic HTTPS
Container Docker (nginx:alpine) Production-ready containerized deployment
Bot Telegram Bot API Messaging platform integration
AI GPT-4o, Claude Language understanding + generation + vision
Analytics GoatCounter Privacy-friendly, cookie-free tracking
CI GitHub Actions HTML validation, link checks, accessibility audit

πŸ“ Project Structure

getagentbox/
β”œβ”€β”€ index.html                              # Main landing page
β”œβ”€β”€ styles.css                              # Global styling (dark theme, responsive)
β”œβ”€β”€ app.js                                  # Interactive component orchestrator
β”œβ”€β”€ cookie-consent.js                       # GDPR-compliant cookie consent
β”œβ”€β”€ keyboard-shortcuts.js                   # Keyboard navigation support
β”œβ”€β”€ build.js                                # Build script
β”‚
β”œβ”€β”€ # ─── Site Pages (30+) ───
β”œβ”€β”€ compare.html                            # Feature comparison matrix
β”œβ”€β”€ faq.html                                # FAQ page
β”œβ”€β”€ api-docs.html                           # API documentation
β”œβ”€β”€ tutorials.html                          # User tutorials
β”œβ”€β”€ blog.html                               # Blog / updates
β”œβ”€β”€ community.html                          # Community hub
β”œβ”€β”€ integrations.html                       # Integration catalog
β”œβ”€β”€ onboarding.html                         # Onboarding wizard
β”œβ”€β”€ roi-calculator.html                     # ROI calculator tool
β”œβ”€β”€ use-case-explorer.html                  # Interactive use case explorer
β”œβ”€β”€ status-page.html                        # Service status dashboard
β”œβ”€β”€ uptime-history.html                     # Historical uptime data
β”œβ”€β”€ security-whitepaper.html                # Security documentation
β”œβ”€β”€ accessibility.html                      # Accessibility statement
β”œβ”€β”€ testimonials.html                       # User testimonials
β”œβ”€β”€ privacy.html / terms.html / sla.html    # Legal pages
β”œβ”€β”€ careers.html / partners.html            # Company pages
β”œβ”€β”€ 404.html                                # Custom error page
β”œβ”€β”€ ... (and more)
β”‚
β”œβ”€β”€ src/                                    # npm package source
β”‚   β”œβ”€β”€ index.js                            # Package entry (FAQ, Pricing, Stats)
β”‚   β”œβ”€β”€ roi-calculator.js                   # ROI calculator logic
β”‚   β”œβ”€β”€ capability-radar.js                 # Capability radar chart
β”‚   β”œβ”€β”€ workflow-builder.js                 # Visual workflow builder
β”‚   β”œβ”€β”€ command-reference.js                # Command reference engine
β”‚   └── modules/                            # 50+ modular UI components
β”‚       β”œβ”€β”€ chat-demo.js                    # Animated chat simulation
β”‚       β”œβ”€β”€ pricing.js                      # Pricing toggle & tiers
β”‚       β”œβ”€β”€ faq.js                          # FAQ accordion
β”‚       β”œβ”€β”€ stats.js                        # Animated statistics
β”‚       β”œβ”€β”€ playground.js                   # Interactive playground
β”‚       β”œβ”€β”€ api-explorer.js                 # API explorer widget
β”‚       β”œβ”€β”€ command-palette.js              # Cmd+K command palette
β”‚       β”œβ”€β”€ pipeline-builder.js             # Visual pipeline builder
β”‚       β”œβ”€β”€ onboarding-quiz.js              # Onboarding questionnaire
β”‚       β”œβ”€β”€ personality-configurator.js     # Agent personality config
β”‚       β”œβ”€β”€ prompt-gallery.js               # Prompt template gallery
β”‚       β”œβ”€β”€ theme-toggle.js                 # Light/dark theme toggle
β”‚       β”œβ”€β”€ site-nav.js                     # Navigation system
β”‚       └── ... (40+ more modules)
β”‚
β”œβ”€β”€ docs/                                   # Developer documentation
β”‚   β”œβ”€β”€ index.html                          # API reference
β”‚   β”œβ”€β”€ getting-started.html                # Setup guide
β”‚   β”œβ”€β”€ architecture.html                   # Architecture overview
β”‚   β”œβ”€β”€ changelog.html                      # Visual changelog
β”‚   β”œβ”€β”€ customization.md                    # Customization guide
β”‚   └── modules.md                          # Module documentation
β”‚
β”œβ”€β”€ vendor/                                 # Vendored dependencies
β”œβ”€β”€ __tests__/                              # Jest test suites
β”œβ”€β”€ Dockerfile                              # Multi-stage nginx container
β”œβ”€β”€ .dockerignore                           # Docker build exclusions
β”œβ”€β”€ codecov.yml                             # Code coverage config
β”œβ”€β”€ CONTRIBUTING.md                         # Contribution guidelines
β”œβ”€β”€ CHANGELOG.md                            # Release changelog
β”œβ”€β”€ LICENSE                                 # MIT License
β”‚
└── .github/
    β”œβ”€β”€ copilot-setup-steps.yml             # GitHub Copilot coding agent config
    β”œβ”€β”€ copilot-instructions.md             # Repo context for AI agents
    β”œβ”€β”€ pull_request_template.md            # PR template
    β”œβ”€β”€ ISSUE_TEMPLATE/                     # Issue form templates
    └── workflows/
        β”œβ”€β”€ ci.yml                          # CI: validate, lint, a11y audit
        β”œβ”€β”€ pages.yml                       # Auto-deploy to GitHub Pages
        β”œβ”€β”€ publish.yml                     # npm publish on release
        └── docker.yml                      # Docker build/push

πŸ§‘β€πŸ’» Development

npm Package

The interactive components are also available as a reusable npm package:

npm install agentbox-landing
const { FAQ, Pricing, Stats } = require('agentbox-landing');

// Initialize FAQ accordion
FAQ.init('.faq-section');

// Initialize pricing toggle
Pricing.init('.billing-toggle');

// Animate stats on scroll
Stats.init('.stats-section', { duration: 2000 });

See the API docs for full reference.

Local Preview

# Clone the repository
git clone https://github.com/sauravbhattacharya001/getagentbox.git
cd getagentbox

# Serve locally (pick one)
python -m http.server 8000
# or
npx serve .
# or
php -S localhost:8000

# Open http://localhost:8000

No build step required for page edits. Modify HTML/CSS/JS and refresh your browser.

🐳 Docker

# Build the container
docker build -t agentbox-landing .

# Run it
docker run -p 8080:8080 agentbox-landing

# Open http://localhost:8080

The Dockerfile uses a multi-stage build:

  1. Stage 1 β€” Validates HTML with html-validate (build fails if invalid)
  2. Stage 2 β€” Serves via nginx:alpine with security headers, gzip, and a /healthz endpoint

Runs as a non-root user for production security.


πŸ”’ Security

The landing page includes several security measures:

  • Content Security Policy β€” Restricts script/style/image sources
  • X-Content-Type-Options β€” Prevents MIME-type sniffing
  • Referrer Policy β€” Controls referrer information leakage
  • rel="noopener noreferrer" β€” On all external links
  • Docker β€” Non-root user, minimal Alpine image, security headers via nginx

🎨 Design Decisions

  • Minimal build β€” Zero heavy toolchain, instant deploy, no bundler required
  • Dark theme β€” Gradient accents matching the Telegram aesthetic
  • Responsive β€” Works down to 320px width
  • No external deps β€” Loads fast everywhere, no CDN dependency
  • Interactive demos β€” Animated chat simulations to show real usage patterns
  • Privacy-first analytics β€” GoatCounter (cookie-free, GDPR-compliant)

CI Pipeline

The CI workflow runs on every push and PR:

Job What it checks
HTML Validation Validates index.html against html-validate rules
Structure Check DOCTYPE, lang, charset, viewport, title, meta description, OG tags
Link Validation All external links in index.html and README.md (via lychee)
Accessibility WCAG 2.0 AA audit via pa11y

🀝 Contributing

Contributions are welcome! This is a simple static site, so getting started is straightforward:

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/your-idea
  3. Edit index.html β€” that's the entire codebase
  4. Test locally with any static file server
  5. Open a Pull Request

Ideas for contributions

  • β™Ώ Accessibility improvements (ARIA labels, keyboard navigation, focus styles)
  • 🌍 Internationalization / localization
  • 🎭 Additional demo scenarios
  • ⚑ Performance optimizations
  • πŸ” SEO improvements (structured data, Twitter cards)
  • πŸ“± PWA support (service worker, manifest)

πŸ“„ License

Β© Saurav Bhattacharya. All rights reserved.