- An attempt at AI-first legal tooling.
- Frontend companion (treat it as a sidebar) runs at port
1111. - Backend API file parser + ai functions run at port
3000 - Postgres DB running at port
5432
- Create a file in the root of this repo called
.env, and copy values from the gist, notion page, or whever it's being stored atm. It'll be minimal vars, the rest are fetched at runtime - Before we spin up services, let's install some helper packages
- Docker (for running all the services!): Check out docs https://docs.docker.com/get-docker/
- JQ (for json manipulation in bash):
brew install jq - AWS (for fetching secrets, deploying services): View instructions here
- Spin up the frontend/backend from the root of this repo with
docker-compose up(when api requirements change, rebuild the api withdocker-compose build api) - Once the cluster & database are running, go to root and run migrations with the command
bash manage.sh local migrate-app head - Check you've done your migrations correctly via CLI or a nice UI like Postico!
- Then from the same directory, seed the database with the command
bash manage.sh local seed-app - You're good to go! Just go to
localhost:1111, click through the login/case views, and start uploading files + querying!
Want to deploy some changes for others to use?
- To deploy, we'll specify an environment and service with our deploy.sh script (ex:
bash deploy.sh <TARGET_ENV> <SERVICE>)bash deploy.sh production apibash deploy.sh production defenderbash deploy.sh production frontdoor
- To migrate a database with some new revisions, we'll use our manage.sh script (ex:
bash manage.sh <TARGET_ENV> <COMMAND> <DIRECTION>)bash manage.sh local migrate-app headbash manage.sh local migrate-app rollbackbash manage.sh production migrate-app head
The pretty multi-modal tool interface, letting you query against video, image, audio, documents for a case and across the organization. Also did auto-summarization of facts and important points for the case. I saved a recording I did of my hacky MVP in the docs folder.


