AdityaP700/Aegis ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python app called Aegis that acts like a safety layer between an LLM and the tools it wants to use.
I want it to take a model’s proposed plan, check whether the requested tool call makes sense before running it, execute the tool only if it passes validation, then inspect the result and recover if something fails. It should keep a clear execution trace of what happened, including planning, validation, tool execution, post check, and recovery, so I can see where things went wrong.
Please make it model agnostic and easy to plug different brains into later. I also want a simple API or server entry point so I can run it locally and test it with sample tool calls. If it helps, include a small evaluation harness and a few example cases that show successful runs, bad tool requests, and recovery behavior. Use current docs online if you need to.