DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to put a firewall in front of your existing LLM calls with Aifw

Run AI-FW with Docker Compose and send your app's model calls through it for inspection and logging.

Short answer: Run docker compose up -d in the folder that contains docker-compose.yml; then 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). All steps.

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

  1. Run docker compose up -d in the folder that contains docker-compose.yml.
  2. Open the gateway at http://localhost and sign in as superadmin with the default login from the README, then change it.
  3. Register your backend URLs and models in the AI-FW Model Inventory (see Configure models and keys in the docs).
  4. Point your app's OpenAI-compatible or Anthropic base URL at the gateway instead of the provider.
  5. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer