A self-updating, production-grade AI-powered Portfolio & Content Management System built using LangChain, Google Gemini, and a fully automated CI/CD pipeline.
π Production URL: https://agenticportfolio.onrender.com
Every push to
mainautomatically builds a Docker image, pushes it to Docker Hub, and deploys to Render.
This is not a static portfolio. This is a Business-Ready Agentic Content Management System.
Instead of manually editing code, this platform uses a LangChain-powered AI Agent to:
- βοΈ Write blogs
- π§± Add or update projects
- π§ Modify bio & services
- π© Handle client messages
- π€ Accept voice commands
All through natural language inside a secure Admin Dashboard.
- π§ Intelligent Orchestrator: Uses
LangChain + Pydanticto analyze intent (Blog / Project / Bio / Services). - π Smart Parsing: Paste raw README text β Agent converts it into structured Project Cards.
- π€ Voice Command: Integrated Web Speech API allows hands-free content generation.
- πͺ Agentic Routing: Automatically decides whether to:
- Generate content
- Update DB
- Rewrite sections
- Store history
- π¬ Client Inbox: Public βContact Meβ form sends messages directly to Admin Dashboard.
- π§Ύ Project Manager: AI adds, formats, and structures portfolio projects.
- π° Blog Engine: AI writes structured blog posts with headings and sections.
- π§ Services Section: Editable via AI prompts.
- π€ Premium Dark Theme: Monochrome, grid-based cyber aesthetic.
- π§ Brain Watermark Animation
- π± Fully Responsive: Mobile, tablet, desktop optimized.
- β‘ Dynamic Content: Everything updates live from the database.
- π Session-Based Admin Auth
- ποΈ Environment-Based Secrets
- π§Ύ History Logging: All AI output logged to
history.txt - π§± Isolated Admin Routes
- Flask (Python)
- Gunicorn (Production Server)
- LangChain
- Google Gemini 2.5 Flash
- Pydantic Structured Outputs
- HTML5, Jinja2
- Bootstrap 5
- Custom CSS
- Web Speech API
- SQLite (Projects, Blogs, Messages, About, Services)
- Docker
- GitHub Actions (CI/CD)
- Docker Hub (Registry)
- Render (Deployment)
On every push to main:
- β GitHub Actions builds Docker image
- β Pushes image to Docker Hub
- β Triggers Render Deploy Hook
- β Render pulls latest image
- β Zero-touch production update π
git clone https://github.com/yourusername/agentic-portfolio.git
cd agentic-portfoliopython -m venv venv
# Windows
venv\Scripts\activate
# Mac/Linux
source venv/bin/activatepip install -r requirements.txtGEMINI_API_KEY=your_google_api_key_here
FLASK_SECRET_KEY=your_secret_key_here
ADMIN_PASSWORD=your_admin_password
COMPANY_EMAIL=your_email
EMAIL_PASSWORD=your_app_passwordpython app.py
Visit:
π http://127.0.0.1:5000Go to -> /admin
Login using your admin password.Prompt: Copy and paste your projects Readme.md or describe it in your style.
Result:
AI creates a structured project card
Extracts tech stack
Formats description
Saves to DB (On click 'Publish')Prompt: Write a blog about Vector Databases in RAG systems.
Result:
AI generates a full article
With headings and structure
On click 'Publish':
Saves to blog section
Saves to Prompt: Update my about section. I am now focusing on Agentic Workflows and Generative AI.
Result:
AI rewrites About section
Updates skills and focusPortfolio/
βββ data/ # SQLite DB + history logs
βββ src/
β βββ agent.py # LangChain agent + routing logic
β βββ db.py # Database operations
β βββ logg.py # Logging & history writer
β βββ prompt.py # System prompts
βββ static/
β βββ style.css # Custom UI theme
βββ templates/
β βββ base.html
β βββ index.html
β βββ admin.html
β βββ login.html
βββ app.py # Flask app entry
βββ Dockerfile
βββ requirements.txt
βββ README.mdUser β Admin Panel β LangChain Router β Gemini
β
Pydantic Validator
β
Database Writer
β
Live Website UpdateFork this repo and customize: src/agent.py
You can:
Change the system personality
Change writing style
Add new agent tools
Add analytics
Add payment systemsThis demonstrates:
β
Agentic AI systems
β
Real DevOps CI/CD
β
Production deployment
β
Dockerized backend
β
Secure secret management
β
AI orchestration
β
Business-grade architectureBuilt with obsession and engineering discipline.