Setup
pip install langchain langchain-openai httpx
export OPENAI_API_KEY=sk-...
export AEGISAI_USER_TOKEN=<JWT>
Copy aegisai_tool.py into your project. Use it like any other LangChain tool — ReAct, OpenAI Functions, structured-tool, LangGraph, all work.