Plugins & Local Tools
AVAILABLEManage local and project-installed capability plugins that extend Naagmani Gateway's request pipeline.
- Portal Location:
Projects > [Your Project] > AI & Capabilities > Plugins & Tools(/projects/[slug]/plugins) - API Endpoint:
/v1/plugins
What are Plugins? #
Plugins are separate worker processes built using the Naagmani HDK. They hook directly into the gateway's execution pipeline to:
- Intercept and rewrite prompts (
pre_route,pre_model_call). - Inspect and redact model outputs (
post_response, DLP). - Expose native functions directly to AI agents.
Rendering diagram...
graph LR
Client["Client Request"] --> Gateway["Naagmani Gateway"]
Gateway -->|IPC Hook| Plugin["Plugin Worker (Sandboxed Go/Node/Python)"]
Plugin -->|Mutated Payload| Gateway
Gateway --> Upstream["Upstream LLM"]
Managing Project Plugins #
- In your project workspace, navigate to AI & Capabilities > Plugins & Tools.
- View all active plugins installed in the current environment.
- Configure environment variables, inspect invocation metrics, or toggle plugins on/off.
- To discover and install new community plugins, visit the Marketplace.