Who it is forA developer whose app already calls an OpenAI-compatible or Anthropic API and needs prompts and responses inspected before they reach the model.
The problemModel calls go straight to the provider, so there is no inspection, routing control, or record of what agents sent and received.
The outcomeYour app's model traffic passes through the AI-FW gateway, and each transaction shows up in the dashboard.
What you need first
- Docker and Docker Compose on a host you control
- The repository cloned locally so docker-compose.yml is available
- API keys for the LLM backends you plan to register in the Model Inventory
Steps
- Run
docker compose up -din the folder that contains docker-compose.yml. - Open the gateway at http://localhost and sign in as superadmin with the default login from the README, then change it.
- Register your backend URLs and models in the AI-FW Model Inventory (see Configure models and keys in the docs).
- Point your app's OpenAI-compatible or Anthropic base URL at the gateway instead of the provider.
- Run
curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/json" -d '{"model":"gpt-4o","messages":[{"role":"user","content":"Hello!"}]}'and check the transaction in the dashboard. (inferred, check the README)
Prompt for your agent
In the securetron-gh/aifw repo, run `docker compose up -d` in <project-folder>, then send one chat completion request through the gateway to <model-name>. Report the HTTP status and the transaction ID shown in the dashboard, and verify the response is a valid chat completion.
Caveat. The compose setup listens on port 80 while the README curl example uses port 8080, so use port 80 when running with compose.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for securetron-gh/aifw and "Put a firewall in front of your existing LLM calls"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer