Lawsy is a hackathon-born Legal Search tool for Japanese statutes and regulations. This open-source repository reflects the prototype developed during the hackathon and is not a production-ready implementation. It integrates semantic search, statute databases, and authoritative web sources to generate clear, referenced reports, showing how legal research can be made more accessible and transparent.
- uv
pip install uv
- OpenAI
OPENAI_API_KEY
- GCloud CLI
Install Python packages
make installCreate .env file and put it in the repository root directory.
OPENAI_API_KEY=sk-... # OpenAI API KEY
LAWSY_WEB_SEARCH_ENGINE=DuckDuckGo
LAWSY_LM=openai/gpt-4o-mini
make lawsy-download-preprocessed-datamake lawsy-run-appformat:
make formatlint:
make lint- 2025-03-16 行政と技術の融合へ—法令Deep ResearchツールLawsyの開発記録
- 2025-03-14第三弾:「法令」×「デジタル」ハッカソンを開催しました
- 2025-03-06 法令 Deep Research ツール Lawsy を OSS として公開しました