Agentic AI POC Architecture
System Overview
Single FastAPI process exposing many agentic capabilities via modular routes and services. Shared NLP utilities support keyword extraction and semantic scoring. Optional browser automation for scraping/LinkedIn.
Architecture Diagram
graph TB
FastApiEntry["app.py<br/>FastAPI entry"]
RouteModules["routes<br/>rfp, scraper, ted, linkedin, n8n, summarize"]
ServiceLayer["services<br/>business logic"]
UtilsHelpers["utils<br/>NLP + extraction helpers"]
SentenceModel["sentence-transformers model<br/>all-MiniLM-L6-v2"]
FastApiEntry -->|"registers HTTP routes"| RouteModules
RouteModules -->|"calls service layer"| ServiceLayer
ServiceLayer -->|"uses NLP / scrape helpers"| UtilsHelpers
UtilsHelpers -->|"runs embeddings / similarity"| SentenceModel
How to read this diagram
Arrows mean flow / dependency / "talks to", not button clicks. Each arrow label says what happens on that step.
Route modules
rfp_routes.pyscraper_routes.py/scraper_alias_routes.pyted_routes.py/ted_alias_routes.pylinkedin_routes.py/linkedin_alias_routes.pylink_summarize_routes.pyn8n_routes.pyfrontend_routes.py
Service modules
comparison_service.pyscraper_service.pyted_scraping_service.py,ted_semantic_service.py,ted_summarization_service.py,ted_email_service.pylink_summarization_service.pyurl_service.py
Technology Stack
| Layer | Technology |
|---|---|
| API | FastAPI |
| Embeddings | sentence-transformers |
| Scraping | Playwright / Selenium |
| Automation glue | n8n helpers |