Skip to main content

Plugin Security & Access

Tools and Functions run Python on your server. Who can add them, what to check before installing one, and how Hrida.ai keeps track of them.

Tools and Functions run code on your server

Tools and Functions are Python code that runs on your Hrida.ai server. That is what makes them useful. It also means one bad plugin can read your data, send it elsewhere, or attack other systems on your network.

  • Install only code you have read and come from a source you trust.
  • Give the Tools permission only to people you would trust with the server. Creating a tool is equivalent to having shell access.
  • Protect the data directory and the database. Plugins are stored there, and anyone who can write to it can plant code that runs on the server.

Tools, Functions and Pipelines​

  • Tools give the model new abilities: it decides when to call them during a conversation. Examples are looking up an order, checking stock or querying an internal API.
  • Functions change Hrida.ai itself:
    • a Pipe adds a model to the model list;
    • a Filter changes messages on their way to and from the model;
    • an Action adds a button under a reply.
  • Pipelines send chats through a separate Pipelines server, set up in Admin › Settings › Pipelines, to take heavy processing off the main instance. Most installations don't need them.

Who Can Do What​

ActionWho can do it
Write, import, change or delete a FunctionAdmins only
Create or edit a ToolAdmins, and users with Workspace › Tools Access
Import tools from a file or a bundleAdmins, and users with Workspace › Tools Import
Import a tool from a URL, or draft one with Generate with AIAdmins only
Export toolsAdmins, and users with Workspace › Tools Export
Share a tool with users or groups, or make it publicUsers with Sharing › Share Tools or Sharing › Public Tools
Make a tool available to agentsAdmins only (how)
Add an MCP or OpenAPI tool server for everyoneAdmins only, in Admin › Settings › Integrations
Add a personal OpenAPI tool serverUsers with Features › Direct Tool Servers (off by default), in Settings › Integrations. Users can't add MCP servers (why).

Permissions are set per group in Admin › Users › Groups. See Permissions.

Before You Install a Tool or Function​

  1. Have it reviewed. Someone who reads Python should check which services it contacts and what it does with the messages and files it receives.
  2. Check what it installs. Some plugins install extra software when they first load. To stop this, set ENABLE_PIP_INSTALL_FRONTMATTER_REQUIREMENTS=False. Your administrator then adds the software to the Hrida.ai image instead.
  3. Check where its keys go. API keys belong in the plugin's settings (Valves), where users and the model can't see them.
  4. Try it on a test instance first, especially a Filter, which runs on every message it applies to.

Keeping Track​

  • Audit: every tool and function that is created, changed or deleted is recorded in Admin › Trust › Audit, with the code before and after. Valve changes are recorded by name only: a key shows as set or not set, never its value.
  • Inventory: tools are listed in Admin › Trust › Inventory with their owner and when they were last used, and Lineage shows what uses each one.
  • Ask first: add a chat tool's name to Tool approval in Admin › Trust › Guardrails, and the user is asked before it runs. When no one can be asked, as in API calls and automations, the unattended setting decides.
  • Untrusted results: what a tool returns is checked for prompt injection and personal data before the model reads it, under the Trust guardrail policy.
  • Regular review: look through Workspace › Tools and Admin › Functions from time to time, and remove what nobody uses.

If a Plugin Misbehaves​

  • Turn it off or delete it in Admin › Functions or Workspace › Tools.
  • If the server won't start because of a Function, start it with SAFE_MODE=true. This turns off every Function at startup so that you can remove the bad one, and you then switch the Functions you keep back on.
Hrida.ai is proprietary software of Zlabs Innovation. See the license for terms. © 2026 Zlabs Innovation.