Skip to content
SecondStack SecondStack Docs

Common questions about what SecondStack is, how it deploys, and how it handles models, security, and cost. For a deeper look, start with What is SecondStack and Self-Hosting.

About the platform

What is SecondStack?

SecondStack is an AI agent platform: your company’s second stack, one place to create, run and control your company’s AI agents. Every person gets a personal agent, called Aster; every Project, a team’s shared workspace, gets a project agent; and teams add named agents, specialists you hire for a role, each with a name, an owner and, if you want, a schedule. ControlTower, the admin console, gives every agent an owner, a budget, your rules and a record of every run. SecondGate, the LLM gateway, carries every request from people, agents and other apps, with SecondGuard masking personal data and secrets by the rules you set. It is self-hosted today; managed SaaS and AWS Marketplace are coming.

Why self-host AI instead of using a hosted SaaS?

Self-hosting keeps data sovereignty: conversations, documents, and usage data stay in your own infrastructure, and you control retention, backups, and access. You also get multi-model flexibility instead of a single vendor, granular per-team cost controls, and the ability to customize behavior through system prompts, guardrails, and agent Skills.

What does deployment look like?

The simplest deployment is a single Linux virtual machine using Docker Compose. You unpack the release, set a few environment variables, and run the initialization script. For production, you expose the VM over HTTPS on port 443, assign a DNS domain, and connect enterprise single sign-on through an OAuth client in your identity provider. See Self-Hosting for details.

Can SecondStack host it for us?

Soon. SecondStack is self-hosted today; managed SaaS and AWS Marketplace are coming. If this is your case and you need SecondStack hosted for you, contact us and tell us what you need.

Models and agents

Which LLM models are supported?

SecondGate has native backends for Anthropic Claude, OpenAI, Google, and OpenRouter. You can also connect self-hosted open-weight models through vLLM if you run your own GPU infrastructure. Other providers, such as Azure Databricks, work through an OpenAI-compatible endpoint. Models are grouped by capability — chat, agentic, and image generation — and can be enabled or restricted per team.

What is Agent Claude?

Agent Claude is the agentic mode in the Chat App. It runs the Claude Code CLI inside per-thread Docker sandboxes with built-in Skills — file operations, browser automation, image generation, diagram authoring, office documents, and persistent memory. Each session gets an isolated workspace. See Agent Claude.

Running SecondStack

How does user authentication work?

SecondStack authenticates over OAuth. It includes ControlTower as its built-in OpenID Connect provider so it can run standalone, but enterprise deployments normally federate to an upstream identity provider such as Entra ID (Azure AD) or Keycloak, or any other OpenID Connect provider. Group membership synced from your provider drives team assignment and model access.

Who supports the bundled open-source components?

SecondStack takes responsibility for the entire stack it ships — both its own proprietary services, such as ControlTower, and the open-source components it packages, including PostgreSQL, Meilisearch, Qdrant, Kreuzberg, and OpenResty. You get a single point of contact for support across the whole platform, without separate vendor relationships for each component.

What are the minimum infrastructure requirements?

A Linux VM with roughly 4 vCPU, 16 GB of RAM, and 200 GB of SSD storage; a DNS name with subdomains pointing to the VM; at least one upstream LLM provider API key or endpoint; and, for single sign-on, an OAuth client in your identity provider. A bundled S3‑compatible object store deploys by default, so you need your own bucket only if you set RUSTFS_DEPLOY=false. See Self-Hosting.

How does SecondStack handle data privacy?

Everything runs on your infrastructure — chat history, documents, user data, and usage logs stay in your own PostgreSQL database, and you control retention, backups, and access. The platform also includes a guardrails service that can detect and block PII and secrets before they reach an LLM provider. When you use external providers, many offer short or zero data-retention terms for API traffic.