Skip to main content

Extensions

Add your own code and services to Hrida.ai: Python tools, functions that change how chat works, and MCP or OpenAPI tool servers.

Hrida.ai comes with built-in tools for search, code, files, email and calendars. Extensions add what is specific to your organization: a tool that looks up an order in your own system, a filter applied to every message, a model from another provider, or an MCP server your team already runs.

An admin adds an extension once. Chat, Agent Builder and Voice Agents then use it, each with its own access rules, and every change to it is recorded in Admin › Trust.


The Kinds of Extension​

ExtensionWhat it isWho adds itWhere
ToolPython functions the model can call, such as looking up a customer or querying an internal API. Its keys stay on the server.Admins, and users given the Tools permissionWorkspace › Tools
FunctionPython that changes Hrida.ai itself: a Pipe adds a model, a Filter changes messages on the way in and out, an Action adds a button under a replyAdmins onlyAdmin › Functions
Tool serverAn MCP or OpenAPI service that runs elsewhere. Its operations become tools.Admins, for everyone; users, for themselves, when allowedAdmin › Settings › Integrations, or Settings › Integrations
API Builder APIAn API built and published in Studio. Agents and voice agents call its operations as tools.API developersAPI Builder

Not every need is code. Some needs are met by other features:

I want to...Use
Teach the model how to do a task (steps, house style, policy)A Skill: instructions the model reads, which run nothing
Let the model answer from documentsKnowledge Bases
Save a reusable prompt behind a slash commandA Prompt
Build a multi-step process with approvals and triggersAn Agent Builder workflow

Where Each One Is Used​

Chat.

  • Tools and tool servers: users turn them on per chat, and admins can attach them to a model.
  • Functions: Pipes appear in the model list, Filters run on the chats they apply to, and Actions show as buttons under replies.

Agent Builder.

  • Workspace Tools: skills and agent nodes can use any tool an admin has marked Available to agents. A run uses the tool only if the user it runs as is allowed to.
  • MCP servers: the mcp node calls them.
  • API Builder APIs: agent nodes call them as tools.

Voice Agents. A voice agent's actions call API Builder APIs and published Agent Builder workflows. Like the voice agent itself, they go through its approval path.


Choosing Between a Tool and a Tool Server​

Tool (Python)Tool server (MCP or OpenAPI)
RunsInside the Hrida.ai processIn its own process or on another machine
SetupPaste or import the code. There is nothing to deploy.Run the server, then add its URL
CanShow status updates, ask the user questions, and keep per-user settingsShow status updates
Best forAPI calls, lookups and calculations that need a key the user must not seeServices you already run, other teams' services, and work that needs a GPU, heavy dependencies or its own scaling

A slow tool doesn't hold up other users, but it does share the server's CPU and memory. Heavy work belongs on a tool server.


Security and Control​

Tools and Functions are Python code that runs on your server. Creating or importing them is equivalent to having shell access. Only admins can write Functions. Give the Tools permission only to people you would trust with the server. See Security & Access before turning extensions on for others.

Hrida.ai keeps extensions under control:

  • Audit: every tool or function that is created, changed or deleted is recorded in Admin › Trust › Audit, with the code before and after. Settings that hold keys are recorded as set or not set, never with the key itself.
  • Ask first: any chat tool can be made to ask the user before it runs. Add its name to Tool approval in Admin › Trust › Guardrails.
  • Untrusted results: what tools and APIs return is checked for prompt injection and personal data before the model reads it, under the Trust guardrail policy.
  • Access: tools and tool servers are private until shared with users or groups. Agents check the access of the user a run acts as.

Limits​

  • MCP transport: Hrida.ai connects to MCP servers over Streamable HTTP. To use a server that only speaks stdio or SSE, run it behind mcpo.
  • Tool servers can't open dialogs: OpenAPI and MCP tools can send one-way status events, but only Python tools can ask the user for input or confirmation.
  • Shared resources: in-process extensions compete for the same CPU and memory as chat.

Next Steps​

PageWhat it covers
ToolsBuilt-in and Workspace tools, and how to add a tool
Build a ToolFor developers: how a tool is written
FunctionsPipes, Filters and Actions
Connect a Tool ServerAdding an MCP or OpenAPI server for everyone, or just for yourself
Security & AccessWho can add extensions, and what to check first
Plugin ReferenceFor developers: settings, events and rich content
Hrida.ai is proprietary software of Zlabs Innovation. See the license for terms. © 2026 Zlabs Innovation.