EGGENT ENTERPRISEArchitecture and security · eggent.ai/business/security
EggentEGGENT ENTERPRISE

Architecture
and security

For your information security team: how Eggent Enterprise is built, how it is deployed inside the company perimeter, what employees and IT get, and where the protection boundaries are.

HOSTINGYour server, Docker
SIGN-INYour IdP, OpenID Connect
MODELSYour LLMs, any OpenAI-compatible address
ON-PREMISEAIR-GAPPEDSSO · OIDCKEYCLOAK · ADFS · ENTRA IDYOUR OWN LLMSA SANDBOX EACHAUDIT LOGSIEMAES-256-GCMOPEN SOURCE CORE
Download the PDF for your security team Updated November 30, 2026

01In short

Eggent Enterprise gives every employee an AI agent with an isolated workspace of its own: files, a terminal, memory, history. IT runs all of it from one console. The whole platform installs on the company's own servers.

Everything stays inside your perimeterOne Linux server with Docker. Code, data, database and audit log are yours. The vendor has no access to the installation, and no telemetry is sent to the vendor.
A container per personIts own network, its own data folder, a memory limit. One employee's agent cannot see another employee's files.
Sign-in only through your IdPOpenID Connect: Keycloak, ADFS, Entra ID, Okta and others. Blocking someone in the console closes access and ends their sessions at once.
Your modelsA local model, an internal gateway or a provider you choose. Keys live only in the control service and never reach employees' workspaces.
Every action loggedRequest, command, file, address: written to the server as work happens, and can be forwarded to your SIEM.
Encrypted secrets, offline installAES-256-GCM for keys and tokens. A release is an archive with checksums and rollback.

02What the company gets

For employees

  • Their own agent in the browser: chat, project files, terminal, history, scheduled tasks.
  • The agent writes and runs code and works with documents, spreadsheets and websites, inside its own sandbox.
  • Company skills (design system, stack, deployment rules) are available to the agent from the start.
  • Autonomous agents on a schedule or on request: a morning briefing, tender monitoring, answers from a knowledge base.
  • Shared folders, messages and document approvals within the company.

For the administrator

The administrator has an agent of their own that does what the console does when asked in plain words: "give the sales team access to this model", "show spending for November".

The agent never enters keys or secrets: only the console does.

For IT and security: the company console

SectionWhat it does
Company sign-inOIDC, an employee created on first sign-in, IdP groups → teams, passwords off
People and teamssearch across thousands of people, blocking, spending limits
Modelsconnect your own model server, who gets which model, the default model
Usagetokens and cost per month by person, team and model
Company skillsupload, versions, hand out to everyone, a team or named people
Employee accountsa hook in your system issues personal tokens (GitLab, kubeconfig) and revokes them
Shared foldersread or write, for people and teams
Audit logfilters, CSV/JSONL export, forwarding to SIEM
API keysfor Backstage and other systems: create an employee, issue a sign-in, block

03Architecture

Company server · Docker Employeebrowser IT and securityconsole, audit log Caddy — HTTPS entrycompany certificate Control service console · SSO · model gateway audit log · company skills keys and secrets live only here Postgres127.0.0.1 only Server diskfiles and chats Employee workspaces Annaown agent Borisown agent Mariaown agent Your IdPKeycloak, ADFS Your modelsOpenAI-compatible SIEMwebhook, syslog GitLab, K8spersonal tokens
Diagram. Every employee works in a container of their own; models are reached only through the control service's gateway.

The server runs three permanent services plus one container per employee.

  • Caddy terminates HTTPS with the company certificate and routes requests: the console to the control service, an employee's address to that employee's container.
  • The control service is the centre of the system: console, IdP sign-in, model gateway, audit log, skill distribution, starting and stopping containers. Only it knows the model keys, and only it talks to your LLMs, IdP and SIEM.
  • Postgres holds employees, teams, policies, the audit log and encrypted secrets. Your own database can replace the bundled one.
  • Employee workspaces reach models and write the audit log only through the control service. The agent reaches internal systems (GitLab, Kubernetes) directly with the employee's personal token, if you allow it.

04How it works

Sign-in

  1. The employee opens the Eggent address. Without a session they are sent to the company IdP.
  2. Sign-in uses OpenID Connect (Authorization Code + PKCE S256). State and nonce are checked, as are the ID token's signature against JWKS, issuer, audience and expiry.
  3. If the employee does not exist yet and auto-creation is on, a workspace is created for them. IdP groups become teams.
  4. The workspace receives a one-time sign-in link and sets its own cookie: HttpOnly, signed with the workspace secret, valid 7 days.

The agent at work

  1. The employee writes a task in their workspace chat.
  2. The agent works inside its container: files, commands, company skills.
  3. Every model call goes to the gateway with the workspace token. The gateway checks whether the model is allowed for the person and their team, applies limits, adds the key and passes the request to your LLM.
  4. The employee's requests and the agent's actions (command, path, address) go to the audit log on the server as work happens.

Administration

IT works in the console, through its own agent, or from external systems with an API key (for example from Backstage). Changes reach workspaces by themselves: model access and blocking at once, a new skill version within seconds.

05Isolation and agent permissions

  • A separate container. Every employee has their own Docker container, their own Docker network (own subnet), their own data folder and a memory limit. Containers cannot reach each other over the network; another workspace is reachable only through the shared entry, like from a browser, and not without its owner's session.
  • No privileges on the host. The container runs without privileged mode and without access to Docker. Its web port listens only on the server's 127.0.0.1; from outside, only through Caddy.
  • Inside the container the agent is a full Linux user with sudo: it installs packages and runs code. The security boundary is the container itself, not the permissions inside it.
  • Shared folders are mounted only for those they were granted to, and only in the granted mode, read or write.
  • Company skills are written into the workspace by the control service. The agent cannot change or delete them: a modified copy is restored at the next reconciliation (every 10 minutes).
  • No keys in the container. It holds only this workspace's token for the gateway, which cannot open another workspace or bypass the model policy.
  • Employees' own models. An employee can connect a personal provider key or a ChatGPT/Codex subscription to their agent (Settings → Models). Those requests go from their workspace straight to the provider, past the gateway: team model policies do not apply, they are not counted in usage or limits, and data goes out under the employee's personal subscription terms. The subscription token is stored in the employee's workspace, not in the control service. The employee's requests and the agent's actions are still written to the audit log as usual. Such connections can be closed with network rules (see 06) or with an installation setting that allows only the company's models.
  • The most privileged component is the control service: it starts containers and holds the keys. It listens only on 127.0.0.1 and is published through Caddy; workspaces have no access to its administrative functions.

06Network and outbound connections

Inbound: only 443 (and 80 for the redirect) on Caddy, with the company certificate for the Eggent domain and *.domain; an internal CA is fine. Postgres and the control service listen only on 127.0.0.1.

Outbound, the complete list:

FromToWhyRequired
Control servicecompany IdPsign-in: discovery, JWKS, code exchangeyes, with SSO
Control serviceyour LLMsmodel callsyes
Control serviceSIEMaudit log forwardingif configured
Control serviceaccount hookemployees' personal tokensif configured
WorkspacesEggent address (Caddy)model gateway, audit logyes
WorkspacesGitLab, Kubernetes and other internal systemsagent work with a personal tokenyour call
Workspacesthe internetweb search and reading pages, npm/pip packages, the agent's model directoryno
Closing the perimeter. With firewall rules on the server (the DOCKER-USER chain), allow employee containers only the Eggent address and the internal systems they need. If the server runs in a cloud, close the metadata address (169.254.169.254) to them too. The platform works without internet: images and the agent's packages ship in the release archive and the model directory is in the image. Only web search goes away.

07Authentication and access

  • SSO. OpenID Connect: Keycloak, ADFS, Entra ID, Okta, Yandex 360 and any compatible provider. SAML connects through Keycloak as a broker. Password sign-in can be turned off for employees.
  • Sign-in checks: PKCE (S256), state and nonce, the ID token signature against JWKS (RS/PS/ES), issuer, audience, expiry. An address with email_verified=false is never linked to an existing employee.
  • Roles. Company administrator (IT) and employees. The administrator signs in through the same IdP; their password stays as a fallback in case the IdP is down.
  • Blocking. A button in the console or an API call closes sign-in, ends all of the person's open sessions and stops their workspace. It takes effect at once.
  • Workspace session: an HttpOnly cookie signed with the workspace secret, 7 days. Blocking or a password change invalidates every session issued before it.
  • External systems (Backstage, an HR system): company API keys from the console. Stored only as a hash; rights limited to managing employees: create, issue a sign-in link, block, list. Revoked with one click.
  • Sign-ins, blocks and console actions are written to the audit log.

08Data and secrets

WhatWhereProtection
Files, chats, agent memorythe employee's folder on the server diskvisible only to their container; disk encryption by the server's own means
Employees, teams, policies, audit log, usagePostgres (bundled or your own)reachable only from 127.0.0.1
Model keys, IdP client secret, hook secret, employee secretsPostgresAES-256-GCM; the encryption key is in the server's settings file (mode 600)
Workspace tokens and API keysPostgreshashes only
Employee's personal tokens (GitLab etc.)their container's environmentvisible to that employee's agent; issue narrow rights
Company skillsserver diskevery version is kept

Data leaves the server only for addresses you configured: your LLMs, SIEM, hook. If the company connects an external model provider, requests and the parts of files the agent works with go to that provider. The Eggent vendor has no access to the data.

Backups: a Postgres dump and an archive of the data folder with standard tools. Keep the encryption key separately: without it the encrypted fields cannot be read.

09Audit log and SIEM

What is recorded

  • employees' requests to the agent;
  • every agent action: tool, command, file path or address, error, including helper agents and scheduled tasks;
  • sign-ins, blocks, actions in the console and through the API, and reads of the log itself;
  • refused model access.

Keys, tokens and passwords of known formats are masked in the records.

How it works

Out of the agent's reach. Events leave the workspace for the server as work happens; if the server is unreachable they queue and are sent later. The agent cannot delete what has already been sent.

Storage: Postgres on the server, 180 days by default (configurable).

Viewing: filters by employee, type, date and text; CSV and JSONL export.

SIEM: a webhook (JSON over HTTPS, HMAC-SHA256 signature) or syslog over TCP. Forwarding is continuous with a cursor: anything missed is sent later.

10Installation and updates

Requirements. Linux x86_64, Docker 24+ with Compose v2. A guide for 100 people: 8 vCPU, 32 GB RAM, 300 GB SSD. Usually about a third of workspaces are active at once at 300–500 MB each; idle ones go to sleep and use no memory. You need DNS for the domain and *.domain, a certificate (an internal CA is fine), an OpenAI-compatible model address and an application in your IdP.

Components. Three services, Caddy, the control service and Postgres 17, plus one container per employee, which the control service creates itself.

Installation without internet

  1. You receive a release archive: images, the installer and SHA-256 checksums.
  2. The first run of install.sh creates a settings file with random secrets.
  3. You enter the domains, the model address and the support address in it.
  4. The second run, with the certificate and the CA root: verifies checksums, loads the images, starts the services, creates the company and the administrator account.
  5. Then the IdP, models and skills are connected in the console.

Updates take one command, update.sh: checksums are verified, the current images are kept for rollback, database migrations run in order, workspaces are recreated without cutting off agents' running tasks. Rollback is restoring the kept images. The current version is shown at /health.

11Hardening recommendations

What matters when you evaluate the platform, and what we recommend turning on in your installation.

  • Give the agent narrow tokens. The agent sees everything in its container, including the employee's personal tokens. A namespace of its own in Kubernetes, a group of its own in GitLab, and the damage of a mistake stays within them.
  • Account for prompt injection. Instructions inside someone else's document or a web page can influence what the agent does. Container isolation, narrow tokens, network rules and the audit log limit the damage.
  • Harden the container boundary. It is a Docker-level boundary (a shared Linux kernel), and inside it the agent has sudo to install packages and run code. We recommend userns-remap or rootless Docker and a current kernel. We have not yet tested running under gVisor or Kata Containers.
  • Restrict the workspaces' network. By default they can reach the internet and the internal network. DOCKER-USER rules are in section 06.
  • The audit log leaves with a delay of seconds. Until sent, events sit in the workspace; what has been sent the agent cannot delete.
  • Encrypt the path to SIEM. Syslog goes over TCP without TLS; for encrypted delivery use the HTTPS webhook or a local forwarder.
  • Block people who leave. There is no SCIM yet: someone removed from the IdP cannot sign in again, but an already open session lives up to 7 days. Blocking in the console or through the API (for example from the HR system) ends it at once.
  • Keep backups. An installation is one server today; resilience comes from backups and restore. Running on several nodes is planned.

12What it is made of and how it was tested

  • The core is Eggent's open source (MIT license): the agent and the workspace interface, files and history, session checks, audit event recording, secret masking. The source is open on GitHub and available for audit.
  • The Enterprise part is the control service: console, SSO, model gateway and policies, audit log and SIEM forwarding, company skills, account issuing, the installer. Delivered as ready images in the release archive.
  • Automated tests for every module, against a real Postgres database. They include refusals: a foreign or expired ID token signature, tampered state and nonce, an agent trying to change a company skill, a request to a closed model, secret masking in the audit log.
  • End-to-end testing (e2e) on a clean isolated server with an internal CA and a real Keycloak 26. A from-scratch install from the archive, then a 23-step scenario: IdP sign-in with groups, employee auto-creation, skills by team, model policy, the account hook, agent work with a real model, the audit log and its export, SIEM forwarding, an API key, blocking. Then two updates on top of the running installation.
  • A demo environment with Backstage, a GitLab-compatible repository and an internal model: we'll show it on a call.

Questions left?

Send us your security team's questions and we'll answer in writing. We'll show the demo environment: IdP sign-in, your own model, the audit log in SIEM.