Reverse engineered prompt

GitHub

Build me a simple Python app called Nyaysarthi that works like a legal assistant people can chat with. I want someone to be able to open it locally, type a legal question in plain language, and get a clear, calm answer that explains things simply instead of sounding too technical.

Please make it feel practical for everyday legal help, like explaining terms, summarizing what a user should know, and suggesting sensible next steps. It should be careful about uncertainty, avoid making up facts, and clearly remind people that it is not a substitute for a real lawyer or formal legal advice.

Keep the experience clean and easy to use, with the main app people interact with separated from the assistant logic behind the scenes. If helpful, use a tools layer for lookups or support features. I do not need anything overly fancy, just something solid, useful, and easy to run and test. Look up current docs online if you need to.

Have a live product UI? Try website reverse