Skip to content
This repository was archived by the owner on Dec 2, 2026. It is now read-only.
aisutdPublic archive

About

AIM Fall 2026: Permitly — State money transmitter license navigator.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

63 Commits

Folders and files

Repository files navigation

Permitly

Permitly helps businesses that handle other people's money find out if they need a money transmitter license, and what each U.S. state requires.

This is a student demo, not legal advice.

What it does

  • Risk check: describe your product, and it tells you if a license is likely.
  • State map: click a state to see its bond, fees, and a link to the law.
  • Chat: ask a question and get the matching section of the state's law.

Before you start

Install:

  • Python 3.10+ (check with python3 --version)
  • Node.js 22+ (check with node --version)

Setup (one time)

Backend

cd permitly-backend
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements-rag.txt
cp .env.example .env
python rag/cli.py ingest

Then open permitly-backend/.env and change ASK_ANSWER_MODE=llm to ASK_ANSWER_MODE=extractive.

Frontend

cd ../frontend
npm install
cp .env.example .env

Then open frontend/.env and change VITE_USE_MOCKS=true to VITE_USE_MOCKS=false.

Run it

Open two terminals.

Terminal 1 (backend):

cd permitly-backend
source .venv/bin/activate
uvicorn main:app --reload --port 8000

Terminal 2 (frontend):

cd frontend
npm run dev

Open http://localhost:8443 in your browser.

To stop, press Ctrl + C in each terminal.

Common problems

Problem Fix
"Address already in use" The app is already running in another terminal. Stop it with Ctrl + C first.
"Can't reach the server" Make sure the backend (Terminal 1) is running.
Results look fake Set VITE_USE_MOCKS=false in frontend/.env and restart the frontend.

Good to know

  • Only some states have data so far. The rest show "No data".
  • The chat shows law text, not written answers. For written answers, add a free Gemini key to permitly-backend/.env as LLM_API_KEY=... and change ASK_ANSWER_MODE to llm.
  • More technical details are in permitly-backend/README.md.

About

AIM Fall 2026: Permitly — State money transmitter license navigator.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages