What do you want to do?
4 use cases
-
Put a firewall in front of your existing LLM calls
Run AI-FW with Docker Compose and send your app's model calls through it for inspection and logging.
- Aifw
- Security and science
- Intermediate
View prompt
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.
-
Keep a metadata-only audit trail of agent calls
Use the dashboard and audit logs to review what AI agents sent and received through the gateway.
- Aifw
- Security and science
- Intermediate
View prompt
In the securetron-gh/aifw repo, start the gateway with `docker compose up -d` and send three test requests through it. Report how many transactions appear in the audit logs for <agent-name>, and verify each entry contains metadata and not full prompt text.
-
Route Claude Code and Cursor traffic through the gateway
Send coding agent model calls through AI-FW so prompts are inspected and governed.
- Aifw
- Claude Code
- Cursor
- Security and science
- Advanced
View prompt
In the securetron-gh/aifw repo, follow docs/tutorials/02-claude-code-cursor-mcp.mdx to point <agent-name> at the running gateway. Report whether one test prompt appears in the dashboard, and verify the agent still gets a response.
-
Give each AI agent its own identity and API key
Register agents as identities with admin-issued API keys so their calls can be told apart.
- Aifw
- Security and science
- Advanced
View prompt
In the securetron-gh/aifw repo, start the gateway with `docker compose up -d` and register <agent-name> as its own identity with its own API key. Report the agent identity and key name, and verify that a test call made with that key shows up under that agent in the dashboard.
How to use Aifw
- Check you have what it needs: 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.
- Open securetron-gh/aifw on GitHub and read the README and license.
- 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.
These steps come from our top use case, Put a firewall in front of your existing LLM calls, which also has a copy-paste agent prompt.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forWritten for developers, platform admins, and security teams who run AI agents and need inspection, identity, and audit in their own environment.
- Why it is hot
- LanguagePython
- Sourcegithub.com/securetron-gh/aifw · Back to Hot repos
Requirements
- 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
Maintain Aifw? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/securetron-gh-aifw/?ref=badge)
Questions about Aifw
What is Aifw?
AI-FW is a self-hosted gateway that inspects, governs, routes, and audits prompts and responses between AI agents and the models they call. It is an open-source project on GitHub: https://github.com/securetron-gh/aifw.
Who is Aifw for?
Written for developers, platform admins, and security teams who run AI agents and need inspection, identity, and audit in their own environment.
What can I do with Aifw?
4 use cases so far, for example: Put a firewall in front of your existing LLM calls; Keep a metadata-only audit trail of agent calls; Route Claude Code and Cursor traffic through the gateway. Each has steps and a copy-paste agent prompt.
What do I need to run Aifw?
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.
What are alternatives to Aifw?
Other hot AI repos in Security and science: Rea, Reverify, Ablation, Claude AD, Awesome Reverse Engineered.
Is Aifw safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.