Self-hosted AI agents

Run AI agents inside your own network, on a VM, Docker or Kubernetes, with the model you choose. What runs where, what leaves the building, and what stays yours.

After reading this page you will be able to:
  • Know which parts of Liyagent run on your infrastructure and what a model call sends out
  • Choose between a cloud model and an open model kept inside the network
  • Find the deploy, backup and data-handling pages for a self-hosted install

Most agentic AI products are a service. Your tickets, records and prompts go to the vendor's cloud, the model is the vendor's, and the governance is whatever the vendor offers. That is fine for many teams and impossible for others: regulated data, customer contracts that name where data may be processed, or simply a policy that nothing about the business leaves the network.

Liyagent is built to be self-hosted first. The same release that runs at liyagent.com runs on your own infrastructure, and the hosted version exists so you can try it before you install it.

What runs where

A Liyagent install is one server and two stores:

PartWhat it isWhere it runs
The serverOne FastAPI service with the web console, the Liya agents, the AI Gateway and the governance planeYour VM, Docker host or Kubernetes cluster
PostgreSQLTickets, agents, policies, connections, the audit logYours, managed or self-run
QdrantThe vector index behind knowledge answers and duplicate detectionYours

Install guides: Quickstart on a laptop with Docker Compose, a production VM, and the operate section for backups and zero-downtime deploys.

What leaves the network

Only what you point outward:

  • Model calls. Every model call goes through the AI Gateway to the provider you configure: Anthropic, OpenAI, Gemini or Bedrock in their clouds, or an open model served by Ollama or vLLM on your own hardware, in which case nothing leaves at all. Redaction strips personal data before text reaches a model, whichever you choose.
  • Connector calls. Agents reach ServiceNow, Jira, SAP, Salesforce, Microsoft 365 and the rest over those systems' own APIs, as the person who connected, with that person's permissions. See data handling for what is read, kept and for how long.
  • Nothing else. No telemetry to Liyagent. Credentials live in the install's secrets store and are referenced by name, so a connector's configuration never carries the secret itself.

What stays yours

  • The evidence. The audit log is a hash chain in your database. Signed exports let anyone verify a bundle without trusting the server that produced it.
  • The rules. Policies, guardrails and budgets are configuration in your install. A change is a change you made, in your history.
  • The tenants. One install can serve several companies or departments, each with its own data and settings: tenancy.

Hosted or self-hosted: choosing

Hosted at liyagent.comSelf-hosted
Good forTrying it, demos, small teams without opsProduction, regulated data, data-residency commitments
DataProcessed in Liyagent's hosting (see the privacy policy)Stays in your network
ModelsAny provider, your keysAny provider, or open models on your hardware
UpdatesApplied by LiyagentApplied by you, with zero downtime

Not sure which questions to ask first? What is an agentic AI platform? lists the eight that matter, hosted or not.