-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.py
More file actions
31 lines (22 loc) · 901 Bytes
/
app.py
File metadata and controls
31 lines (22 loc) · 901 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
"""MedAssist AI — AgentWrit Healthcare Demo.
FastAPI app that demonstrates the AgentWrit Python SDK through a
realistic healthcare multi-agent pipeline with clinical, prescription,
and billing agents operating under strict scope isolation.
"""
from __future__ import annotations
from pathlib import Path
from dotenv import load_dotenv
from fastapi import FastAPI
from fastapi.staticfiles import StaticFiles
from demo.routes.api import router as api_router
from demo.routes.pages import router as pages_router
# Load .env from demo directory
load_dotenv(Path(__file__).parent / ".env")
app = FastAPI(
title="MedAssist AI — AgentWrit Demo",
description="Healthcare multi-agent demo showcasing AgentWrit scope isolation",
version="1.0.0",
)
app.mount("/static", StaticFiles(directory="demo/static"), name="static")
app.include_router(pages_router)
app.include_router(api_router)