Second Chance helps international students find the financial aid details they need before committing to a US university.
Explore the live app · How it works · Run locally · API contract
Built for EvoHacks II · Projects for Social Good
Finding a hidden policy detail is only half the battle. When an international student discovers that a university requires financial aid applications at the time of admission, their immediate next question is: how do I ask the university without getting confused or sounding demanding?
Second Chance addresses this through two coordinated layers:
- Student-Facing Inquiry Composer: Translates complex fine-print conditions into clear, polite, natural questions addressed to the university's official financial aid desk (e.g.,
finaid@cornell.edu), accompanied by exact source links and privacy guardrails. - Agentboxd Agent Sandbox & Mailbox API: Agentboxd (
https://api.agentboxd.com) provides programmatic email inboxes for AI agent workflows. In Second Chance, Agentboxd serves as an isolated communication sandbox for operator testing (/api/operator). Rather than allowing autonomous agents to fire off unverified emails to university admissions offices, our backend saves drafts unaddressed (POST /v1/inboxes/:id/drafts) and inspects test replies (GET /v1/inboxes/:id/threads) under mandatory human review.
flowchart LR
A["Verified Policy Evidence"] --> B["Select Questions"]
B --> C["Inquiry Assistant"]
C --> D["Polite Draft + Source Links"]
D --> E["Student: Open in Mail App / Copy"]
D --> F["Operator Sandbox: POST /drafts"]
F --> G["Agentboxd Inbox"]
G --> H["Human Review & Test Loop"]
- Natural student phrasing: Translates internal research checklists into respectful, professional questions suited for financial aid deans.
- Privacy guardrails: Warns applicants never to send tax forms, passwords, bank account numbers, or national identity documents in initial inquiries.
- Zero auto-spam: In the agent/operator workflow, no email is ever sent or scheduled automatically. It requires explicit human review in the Agentboxd dashboard.
See the Agentboxd integration architecture and safety model for full technical details.
I was excited when I got into Loyola. The offer came with 50% financial aid. It sounded like a chance I could finally take. Then I worked out what was left to pay: more than ₹20 lakh a year.
I remember trying to understand the conditions on my own. The details were spread across university pages, and a generous percentage still left a cost I could not ignore.
We built Second Chance to help other students find the details and ask better questions earlier. The app does not calculate your final cost or decide whether you will receive aid.
| Find a university | Search by name and choose the matching institution. |
| Read the evidence | Explore source-linked passages, review status and retrieval details when available. |
| See what to check | Review next steps and questions relevant to the information returned. |
| Compose an inquiry | Prepare an editable inquiry email citing official sources, with clear safety guardrails. |
| Take the questions with you | Copy or export the checklist before speaking with a university. |
Important
Second Chance is a research starting point, not an admission, aid or cost decision. Policies can change, and a snippet may not contain every condition. Check the original source and confirm details directly with the university.
flowchart LR
A[Search for a university] --> B[Choose a directory result]
B --> C{Research}
C --> D[Curated policy records]
C --> E[Official-page discovery]
D --> F[Source passages + next questions]
E --> F
C --> G[Unavailable or stale result]
F --> H[Read the source and confirm with the university]
Some universities have curated records. For others, College Scorecard can help find the institution, and Tavily can help locate pages on its domain. The API extracts passages and returns their sources and review details. Results can be fresh, cached, stale or unavailable. Automatically discovered passages are marked unreviewed.
We do not cover every policy. Without the optional API keys, discovery is limited to curated records. Even with keys, a university may have no usable result.
React + Vite for the interface, FastAPI + Python for the API, SQLite for the evidence cache, and Vercel for deployment. The optional directory and discovery integrations use College Scorecard and Tavily.
Requirements: Python 3.13, Node.js 20 and npm. These versions match the repository's CI configuration.
git clone https://github.com/AtulACleaver/second-chance.git
cd second-chance
cp .env.example .env
cd backend
python -m venv .venv
source .venv/bin/activate # Windows PowerShell: .venv\Scripts\Activate.ps1
pip install -r requirements.txt
python -m uvicorn app.main:app --reload --port 8000API health: http://127.0.0.1:8000/api/health · API docs: http://127.0.0.1:8000/docs
Open a second terminal from the repository root:
cd frontend
npm ci
npm run devOpen http://localhost:5173. Vite proxies /api requests to the local backend.
Edit the root .env file. Never commit API keys.
| Variable | Purpose |
|---|---|
SCORECARD_API_KEY |
Enables broader university directory searches. |
TAVILY_API_KEY |
Enables discovery of official pages for non-curated schools. |
CACHE_PATH |
Sets the local SQLite cache path. |
ENABLE_OPERATOR_API |
Enables private operator endpoints (/api/operator) for testing (true or false). |
OPERATOR_TOKEN |
Bearer token protecting operator endpoints. |
AGENTBOXD_API_KEY |
API key for Agentboxd draft integration. |
AGENTBOXD_INBOX_ID |
Designated inbox ID for test inquiry drafts. |
The app can run without the external keys, defaulting to curated records and local operations. See .env.example for the full list of settings.
# From the repository root, with the backend virtual environment active
(cd backend && python -m pytest -q)
python evaluation/run.py
python evaluation/agentboxd_checks.py
# Frontend production build
(cd frontend && npm run build)The evaluation uses fictional profiles and boundary checks. It is a regression test, not a measure of real-world financial aid accuracy. See evaluation results.
| Path | Purpose |
|---|---|
frontend/ |
React interface and API client |
backend/app/ |
Directory lookup, research, policy records and cache |
api/ |
Vercel serverless entry point |
evaluation/ |
Fictional profile fixtures and evaluation runner |
docs/CONTRACT.md |
API request and response contract |
API at a glance: GET /api/health checks service health, GET /api/schools?q=... searches the directory, and POST /api/research returns source-linked research for a selected school. See the contract for request fields and response states.
Second Chance connects student research to institutional follow-up through a two-tier workflow:
- Client-side inquiry assistant: An in-browser tool that formats selected policy questions into an editable email draft with resolved official university desk addresses and verified source citations, complete with safety guardrails (reminding applicants never to share financial documents, passwords, or SSNs).
- Protected operator portal: A private, authenticated team demo workflow (
/api/operator) that creates unaddressed, unsent drafts in Agentboxd (POST /v1/inboxes/:id/drafts) for mandatory human operator review. It is disabled by default, requires a Bearer token, and never sends email automatically.
For the security boundaries, API contract, and multi-user roadmap, see Agentboxd documentation.
| Focus | |
|---|---|
| Atul | Backend and project direction |
| Aryan | Integration, testing and coordination |
| Shashank | Frontend and design |
Built for EvoHacks II. See AI-USE.md for the project's AI-use and contribution disclosure.