Aria is a generative AI chatbot powered by Anthropic’s Claude model, integrated into a standalone website built with Python (Flask). Unlike rule-based bots that only match predefined keywords, Aria generates intelligent, context-aware responses to any question in real time.
The project covers the full development lifecycle: designing the chatbot personality, building the web interface, integrating the AI model, and deploying to AWS Elastic Beanstalk with auto-scaling.
User Browser
|
| HTTP Request
v
Flask Web Server (AWS EC2 / Local)
|
|-- GET / --> Landing page (index.html)
|-- GET /chat --> Chat interface (chat.html)
|-- POST /api/chat --> Receives message, calls Claude, returns reply
|-- GET /api/health --> Health check endpoint
|
| HTTPS API Call
v
Anthropic Claude API (claude-sonnet model)
|
| JSON Response
v
Flask returns reply to browser
|
v
JavaScript updates chat UI in real time
How a message flows:
| Layer | Technology | Purpose |
|---|---|---|
| Frontend | HTML5, CSS3, JavaScript | Chat UI and user interactions |
| Styling | Bootstrap 5, Custom CSS | Dark theme, responsive layout |
| Backend | Python 3.11, Flask | API routes and Claude integration |
| AI Model | Anthropic Claude (claude-sonnet) | Generative AI responses |
| Deployment | AWS Elastic Beanstalk | Cloud hosting |
| Web Server | Gunicorn | Production WSGI server |