# SecondStack Documentation > 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 (a sales analyst, a legal adviser, a technical writer) 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. Self-hosted today; managed SaaS and AWS Marketplace are coming. This is the product documentation: how SecondStack is self-hosted, and how its three kinds of agent, the Chat App, Projects, Collections, Jobs, budgets, SecondGate, SecondGuard and ControlTower work. Positioning, pricing and company facts live on the main site: https://secondstack.ai/llms.txt. ## Getting started - [Getting started with SecondStack](https://docs.secondstack.ai/getting-started.md): Getting started with SecondStack is a short path per reader: end users, team leads, admins and developers each find the page that answers their first question. - [What is SecondStack](https://docs.secondstack.ai/getting-started/what-is-secondstack.md): What is SecondStack: a self-hosted AI agent platform with three kinds of agent, ControlTower, SecondGate and SecondGuard, each explained with where it runs. - [Your first day with SecondStack](https://docs.secondstack.ai/getting-started/first-steps.md): Your first day with SecondStack covers sign-in, meeting Aster, picking a model, opening a Project, connecting one account and creating a Job, step by step. - [Which agent do I use?](https://docs.secondstack.ai/getting-started/which-agent.md): Which agent to use in SecondStack depends on the task: this page picks between Aster, the project agent, a named agent and Agent Claude for each kind of work. - [Concepts and names](https://docs.secondstack.ai/getting-started/concepts.md): Concepts and names in SecondStack: one definition sentence per term, with the marketing name beside the app's label, such as Aster and Personal Assistant. - [What's new in SecondStack v3](https://docs.secondstack.ai/getting-started/whats-new.md): What's new in SecondStack v3 lists what changed from v2 for each reader, the renamed products and every v3.x release, so returning users can catch up fast. ## Agents - [AI agents in SecondStack](https://docs.secondstack.ai/agents.md): AI agents in SecondStack come in three kinds, personal, project and named; this page sets them side by side by who each acts as, who pays and where it answers. - [Aster, your personal agent](https://docs.secondstack.ai/agents/personal-agent.md): Aster is your personal agent in SecondStack (Personal Assistant in the app): what it reaches, how one memory spans Chat and channel DMs, and who pays for it. - [The project agent](https://docs.secondstack.ai/agents/project-agent.md): The project agent is the shared agent of a Project in SecondStack: when it answers, which context it uses, how member agents join in and who pays for each turn. - [Named agents: build and publish](https://docs.secondstack.ai/agents/named-agents.md): A named agent is an AI agent your team hires for one role; see how to create one, test it in Workbench, publish a Version, grant access, pause or delete it. - [Agent owners and budgets](https://docs.secondstack.ai/agents/owners-and-budgets.md): Agent owners and budgets decide who answers for an agent in SecondStack and who pays: a user, team or organization as owner, Its own budget or Whoever uses it. - [Jobs: scheduled agent runs](https://docs.secondstack.ai/agents/jobs.md): Jobs are scheduled agent runs in SecondStack: one-time, recurring or on demand, with typed parameters, webhook triggers and a choice of where the results go. - [Slack and Telegram channels](https://docs.secondstack.ai/agents/channels.md): Slack and Telegram channels let SecondStack agents answer where your team talks: which agent supports what, DMs versus channels and groups, and bot setup. - [Connections and tool approvals](https://docs.secondstack.ai/agents/connections.md): Connections are the accounts and MCP servers a SecondStack agent may use, with tool approvals that run each tool automatically or ask you first before it acts. - [Skills for agents](https://docs.secondstack.ai/agents/skills.md): Skills give a SecondStack agent know-how for a task: platform, shared and agent-owned Skills, Copy to Agent, agents writing their own and the review on import. - [Agent workspaces and sandboxes](https://docs.secondstack.ai/agents/workspaces.md): An agent workspace is the isolated sandbox each SecondStack agent runs its tools in: files that last the conversation, the browser, Take control and limits. - [Sites and Slides](https://docs.secondstack.ai/agents/sites-and-slides.md): Sites and Slides are what SecondStack agents publish from their workspace when your administrator turns Sites on: Private, Platform or Public, then export. ## Chat App - [The Chat App](https://docs.secondstack.ai/chat-app.md): The Chat App is where you talk to SecondStack agents in a browser or on the desktop: the model picker, the rail, attachments, voice input and temporary chat. - [Projects, Spaces and Folders](https://docs.secondstack.ai/chat-app/projects.md): Projects are shared workspaces in SecondStack with threads, a Library and a project agent; Spaces group them with inherited access, Folders keep yours tidy. - [Collections: your AI knowledge base](https://docs.secondstack.ai/chat-app/collections.md): Collections (formerly Knowledge Collections) are your AI knowledge base in SecondStack: any file type, version history, sharing and per-agent read or write. - [Custom Prompts](https://docs.secondstack.ai/chat-app/custom-prompts.md): Custom Prompts are slash commands you write once in SecondStack and reuse in any chat, with {{variables}} for the parts that change; here is how to make one. - [Image generation](https://docs.secondstack.ai/chat-app/image-generation.md): Image generation in SecondStack creates and edits pictures in a chat: Quick edit, Annotate, Edit in composer, the thread's Gallery tab and images kept in Files. - [The desktop app](https://docs.secondstack.ai/chat-app/desktop-app.md): The desktop app runs the full SecondStack Chat App for your paired server, with optional Agent Claude on your computer, local connectors and background updates. ## ControlTower - [ControlTower: AI agent governance](https://docs.secondstack.ai/controltower.md): ControlTower is the admin console for AI agent governance in SecondStack: model access, Chat Profiles, budgets, guardrails, Pause and the record of every run. - [Agent fleet: every named agent](https://docs.secondstack.ai/controltower/agent-fleet.md): The Agent fleet page in ControlTower lists every named agent with its owner, who pays, its budget, its API-billed cost, connections, last run and set-up issues. - [Agent Activity: agent observability](https://docs.secondstack.ai/controltower/agent-activity.md): Agent Activity is SecondStack's agent observability view: every invocation, session and ingress event, with model calls, tokens, cost and a context audit. - [Models, Chat Profiles and access](https://docs.secondstack.ai/controltower/models-and-access.md): Model access in ControlTower is denied by default: this page shows how to add providers and models, build Chat Profiles and grant access to people and teams. - [People, teams and groups](https://docs.secondstack.ai/controltower/people-and-teams.md): People, teams and groups in ControlTower organize who may use SecondStack: users, team supervisors, what groups do and do not grant, and directory sync. - [Integrations: accounts and channels](https://docs.secondstack.ai/controltower/integrations.md): Integrations in ControlTower are the admin side of accounts and channels: account providers, MCP servers and scopes, Slack and Telegram bots, mail and calendar. - [Budgets and spend](https://docs.secondstack.ai/controltower/budgets-and-spend.md): Budgets and spend in ControlTower set what the organization, each team, person, key and agent may spend on AI, with alert thresholds and temporary grants. - [Your dashboard: keys and budget](https://docs.secondstack.ai/controltower/user-dashboard.md): Your dashboard is the self-service side of ControlTower: your budget and spend, usage logs, storage, notifications, API keys, devices and subscriptions. - [White-label names and theme](https://docs.secondstack.ai/controltower/branding.md): White-label names and theme let a SecondStack site rename the platform, chat app, portal and assistant in brand.yaml and set one theme on the Site theme screen. ## Gateway - [SecondGate, the AI gateway](https://docs.secondstack.ai/gateway.md): SecondGate is the AI gateway in SecondStack, the LLM gateway every request from people, agents and apps passes through, with deny-by-default access and budgets. - [SecondGuard guardrails](https://docs.secondstack.ai/gateway/secondguard.md): SecondGuard is the guardrail in front of SecondGate that blocks, masks or logs secrets and personal data in each request and restores masked values in answers. - [Model providers and self-hosted LLMs](https://docs.secondstack.ai/gateway/providers.md): Model providers in SecondStack are your own accounts: provider keys, ChatGPT and Claude subscription pools, and self-hosted LLMs on vLLM as a development setup. ## Developers - [SecondStack for developers](https://docs.secondstack.ai/developers.md): SecondStack for developers has four doors: call SecondGate from your code, point your coding tools at it, run Agent Claude in a sandbox and embed agents. - [Call SecondGate from your code](https://docs.secondstack.ai/developers/gateway-api.md): Call SecondGate from your code with a virtual key: the OpenAI-compatible and Anthropic endpoints under /gateway/api, the subscription route and refusals. - [Run Claude Code through SecondGate](https://docs.secondstack.ai/developers/coding-tools.md): Run Claude Code through SecondGate with the SecondStack CLI: secondstack login, claude and codex, the install commands, Devices, plus Cursor and similar tools. - [Agent Claude: Claude Code in a sandbox](https://docs.secondstack.ai/developers/agent-claude.md): Agent Claude is SecondStack's way to run Claude Code in a long-lived sandbox per thread, on the platform host or your computer, with SSH, VS Code and Skills. ## Self-hosting - [Self-hosted AI platform: overview](https://docs.secondstack.ai/self-hosting.md): Self-hosting SecondStack means running the AI platform in your own cloud or on your servers from a Docker Compose package; this overview maps what runs where. ## Videos - [SecondStack video guides](https://docs.secondstack.ai/videos.md): SecondStack video guides on one page: every video as a card with thumbnail, label and length, from a 50-second platform overview to a full tour of Projects. - [How to use Projects in SecondStack AI](https://docs.secondstack.ai/videos/projects.md): How to use Projects in SecondStack AI, a 7-minute video with chapters and transcript, shows how a Project organizes threads, files and memory for a team. (7:23; chapters and transcript on the page) - [AI knowledge base from your own files, reused in any chat](https://docs.secondstack.ai/videos/knowledge-collections.md): An AI knowledge base from your own files, reused in any chat: this 3-minute video shows how a Collection is built and used in SecondStack, with a transcript. (3:01; chapters and transcript on the page) - [Custom Prompts in SecondStack AI](https://docs.secondstack.ai/videos/custom-prompts.md): Custom Prompts in SecondStack AI, a 3-minute video with transcript: write a slash command once, add {{variables}} and reuse it in any chat. (3:43; chapters and transcript on the page) - [Image Generation in SecondStack AI](https://docs.secondstack.ai/videos/image-generation.md): Image Generation in SecondStack AI, a 4-minute video with chapters and transcript: create a picture in a chat, then edit it and find it again later. (4:40; chapters and transcript on the page) - [How to Adjust Budget & Spend in SecondStack](https://docs.secondstack.ai/videos/budget-and-spend.md): How to Adjust Budget & Spend in SecondStack, a 4-minute video with transcript: set limits for teams, people and keys in ControlTower and watch the spend. (4:37; chapters and transcript on the page) - [When to Use a Temporary AI Chat | SecondStack](https://docs.secondstack.ai/videos/temporary-chat.md): When to use a temporary AI chat in SecondStack, a 47-second video: a chat you do not keep, and the moments when that is the right choice. (0:47; chapters and transcript on the page) - [SecondStack in 50 seconds: an AI agent platform overview](https://docs.secondstack.ai/videos/platform-overview.md): SecondStack in 50 seconds is the AI agent platform overview video: personal, project and named agents, ControlTower, SecondGate and SecondGuard in a minute. (0:51; chapters and transcript on the page) - [AI chatbot for your website: answers visitors, hands leads to sales](https://docs.secondstack.ai/videos/web-widget.md): An AI chatbot for your website, in a 35-second video: a SecondStack agent answers visitors on your pages and hands the leads to your sales team. (0:35; chapters and transcript on the page) ## Resources - [Resources: FAQ, videos and agent files](https://docs.secondstack.ai/resources.md): Resources for the SecondStack docs: the FAQ, the video guides, the machine-readable files for agents (llms.txt, llms-full.txt, /mcp) and the Platform pages. - [Frequently Asked Questions](https://docs.secondstack.ai/resources/faq.md): FAQ about SecondStack, the AI agent platform: self-hosting, deployment, security, supported models, budgets, sign-in and Agent Claude, for teams evaluating it. ## Machine-readable resources - Markdown source of any page: append `.md` to its URL. For example, https://docs.secondstack.ai/self-hosting/ is also served as https://docs.secondstack.ai/self-hosting.md - [Full documentation as plain text](https://docs.secondstack.ai/llms-full.txt): Concatenated full text of all documentation pages, intended for AI agents and large-context retrieval. - [Agent index](https://docs.secondstack.ai/mcp): Static Markdown index of the machine-readable resources on this site. Not a Model Context Protocol endpoint: MCP servers in SecondStack are set up inside the customer's own self-hosted deployment. ## Names - Personal agent: Aster, shown as Personal Assistant in the app. - Project agent: shown as Project Assistant in the app. - Chat App: formerly SecondChat. - Agent Claude: formerly SecondAgent. It is not Anthropic's Claude Agent SDK. - Collections: formerly Knowledge Collections. ## Notes - Deployment: self-hosted today, in the customer's own cloud or on their servers, where chats, files and agent runs stay in the customer's own database and infrastructure. Managed SaaS and AWS Marketplace are coming. - Identity: ControlTower is the platform's OpenID Connect provider and user directory. It connects to the customer's identity provider over OpenID Connect, or to LDAP and Active Directory, with SCIM for user sync. - Guardrails: SecondGuard checks every request before it leaves, with a block, mask or log rule per model, and restores masked personal data and secrets in the answer. It does not scan answers. - Model access: an administrator grants each model to everyone, to teams or to users. Through v3.7.2 a group cannot hold a model grant. - Models: works with Anthropic, OpenAI, Google and models you host yourself, through your own provider accounts. SecondStack does not host or resell models.