Home / Automation & Web / AI Infrastructure for Companies

AI Infrastructure for Companies

We set up on your company's servers everything needed to work with AI: a single gateway to language models, agents for employees, n8n automations, git, a secrets vault, logs and backups. People and services reach models through one entry point, and the company sees the spend and controls access.

LLM gatewayAI agentsn8nDockergit and auto-deploysecretsbackups
Discuss your task →
Format
Turnkey deploymenton your servers or in the cloud, Linux and Docker
Status
Production
Stack
Bifrost · n8n · Forgejo · Vaultwarden · Dozzle · restic · nginx
01

About the service

AI usually enters a company ad hoc: someone pays for a personal ChatGPT plan, developers keep their own API keys, the support bot talks to yet another model. Nobody knows what it costs, which data leaves the company, or what happens when a provider goes down or a key leaks. We turn this into one managed system: every model request goes through the company gateway, each team and service has its own key with a limit, and automations, agents and supporting services sit next to it.

The service is for companies that already use AI in a scattered way, and for those just starting who want to get it right from day one. It is ordered by CTOs and managers who need control over spend and data, and by teams planning to build agents and automations on top of their systems. Instead of a dozen separate subscriptions the company gets its own perimeter that is clear to maintain.

We first built this setup for ourselves: our websites, products, AI agents and automations run on it. So there are no theoretical components in the service, we maintain each of them every day. Everything is installed on the company's servers or in the cloud of its choice, and the configuration sources stay with you in git.

02

What the perimeter is made of

The LLM gateway sits in the center. It is one address with an OpenAI-compatible API that everything connects to: the employee chat, agents, n8n, the website and internal services. A service does not need to know where the model lives, and switching a model or provider is done in the gateway settings, without code changes.

Around the gateway are the services without which AI in a company quickly turns into chaos: git with auto-deploy, a secrets vault, log collection and backups to a separate server. You do not have to take all of them: we pick the set based on what the company already has.

Company AI infrastructure perimeter: consumers → LLM gateway → models; supporting layer: git and auto-deploy, secrets, logs, backups WHO CALLS MODELS Employee chat web and desktop clients AI agents in Telegram, each with its own key n8n workflows LLM steps in automations Sites, CRM, your code any OpenAI client COMPANY LLM GATEWAY Bifrost one address · OpenAI-compatible API a key per team and service budget and rate limits log: who, when, which model routing and fallback on failure MODELS Primary model GLM via provider API Fallback provider DeepSeek, GPT · on failure Local model private data stays inside fallback SUPPORTING LAYER · ON YOUR SERVERS Git and auto-deploy Forgejo · deploy on push Secrets Vaultwarden · no keys in code Logs and monitoring Dozzle · load, disk Backups restic · to a separate server

One address for everything

OpenAI-compatible API: off-the-shelf clients, n8n, agents and your code connect to it. The model changes with one line in the settings.

A key per team

A separate key with its own limit for each department or service. A leaked key is revoked without affecting the others.

Fallback providers

If the primary model is unavailable, the request goes to a fallback. Employees and services do not notice.

Data under control

The log shows who called which model and when. For sensitive data we connect a local model that never leaves the perimeter.

03

Who it is for

Companies using AI in a scattered way

Personal subscriptions, keys in code, unknown spend. We bring it all to one point with accounting and access control.

CTOs and security teams

You need to know which data goes to models and limit it. Logs, keys with limits and local models for confidential data.

Teams building agents

You need a foundation for automations and AI services: the gateway, n8n, git with deploy and secrets are ready, so you can build the product right away.

04

How it works

  1. 1

    Review

    We look at which models and services are already in use, what data goes to them, and what the security and budget requirements are.

  2. 2

    Design

    We propose the set of components, models and fallback providers, servers and an estimate of monthly costs.

  3. 3

    Deployment

    We install the services in Docker on your servers and set up HTTPS, access, team keys, backups and monitoring.

  4. 4

    Onboarding

    We move existing services to the gateway, build the first n8n workflows and agents, and show the team how to use them.

  5. 5

    Support

    Updates, new models, analysis of failures and spend. Or we hand everything over to your team with documentation.

05

What is included

LLM gateway

Bifrost with an OpenAI-compatible API. We connect several providers (GLM, DeepSeek, OpenAI and others), keys for teams and services, budget and rate limits, and a request log.

Fallback and local models

A primary model and fallback providers: on failure the request goes to the next one. For confidential data we connect models that run on your servers.

AI agents for employees

Agents in Telegram with access to tools and the company knowledge base. Each employee or department gets its own bot and key, and models go through the same gateway.

Automations in n8n

n8n on your servers: reports, processing of emails and documents, data exchange between systems. LLM steps in workflows go through the gateway and are counted in the shared spend.

Git and auto-deploy

Your own Forgejo git server: code and service configuration under version control, deployed to the server after a push. Changes are visible and can be rolled back.

Secrets and access

Vaultwarden for passwords and API keys: keys do not live in code or chats, and access is granted and revoked per person.

Logs and monitoring

Dozzle collects logs from all containers in one window, alongside load and disk space. Failures and low disk space are visible right away, not after users complain.

Backups

restic makes scheduled encrypted copies of data and configuration to a separate server. Losing one server does not mean losing data.

Knowledge base for people and agents

Guides and references in Markdown with git sync: employees read them and agents use them. For answering customers from documents there is our product GraphRAG.

04

Automation & Web

SaaS and process automation

All about the direction →
06

More products in this direction

Want to bring order to AI in your company?

We will review which models and services you already use and propose a setup that fits your data and budget requirements.

Discuss your task →