# SecondStack Documentation — Full Content > Full text of the SecondStack documentation, concatenated for AI agents and large-context retrieval. For a structured index of pages, see https://docs.secondstack.ai/llms.txt. 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. Source: https://docs.secondstack.ai Generated: 2026-11-23 # Getting started --- ## Getting started with SecondStack Source: https://docs.secondstack.ai/getting-started/ Checked against: v3.7.2 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. 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. Every path starts from the same picture of the platform and ends in the section that covers your daily work, so read the page for your reader and skip the rest. ## Where to start - **Everyone.** [Your first day with SecondStack](/getting-started/first-steps/) takes you from sign-in to your first Job, in the order the app presents them. When you wonder whom to ask, [Which agent do I use?](/getting-started/which-agent/) answers in one table. - **Team leads.** Start with [Which agent do I use?](/getting-started/which-agent/), then read the [Agents](/agents/) overview, which sets the three kinds of agent side by side and names the rules every agent runs under. - **Admins and IT.** [What is SecondStack](/getting-started/what-is-secondstack/) shows each part of the platform and where it runs. [Self-hosting](/self-hosting/) and [ControlTower](/controltower/) take over from there. - **Developers.** Read [What is SecondStack](/getting-started/what-is-secondstack/) for the request path, then go to [Developers](/developers/) and [SecondGate](/gateway/). Coming back after v2? [What's new in SecondStack v3](/getting-started/whats-new/) lists what changed for each reader and which names moved. [Concepts and names](/getting-started/concepts/) keeps one definition per term, with the label the app uses beside it. ## In this section - [What is SecondStack](/getting-started/what-is-secondstack/): 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](/getting-started/first-steps/): 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?](/getting-started/which-agent/): 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](/getting-started/concepts/): 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 v3](/getting-started/whats-new/): 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. See also: [Agents](/agents/), [Chat App](/chat-app/), [Self-hosting](/self-hosting/), [Developers](/developers/) On secondstack.ai: [The SecondStack homepage](https://secondstack.ai/) --- ## What is SecondStack Source: https://docs.secondstack.ai/getting-started/what-is-secondstack/ Checked against: v3.7.2 What is SecondStack: a self-hosted AI agent platform with three kinds of agent, ControlTower, SecondGate and SecondGuard, each explained with where it runs. 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. Video: [SecondStack in 50 seconds: an AI agent platform overview](https://docs.secondstack.ai/videos/platform-overview/) (0:51) Your first stack is your people: managers, budgets, an org chart. Your second stack is your AI agents, and SecondStack gives them the same. Every agent has an owner, runs on a budget, works inside your rules and leaves a record of every run. ## Where each part runs The map below draws the request path and the parts around it. Each box opens the docs for that part. People and agents send requests through SecondGuard and SecondGate to your model providers; ControlTower sits beside them, and your data stays in your database and storage. ## The three kinds of agent SecondStack has exactly three kinds of agent, and the [Agents overview](/agents/) sets them side by side: who each one acts as, who pays and where it answers. - **Aster, the personal agent** (Personal Assistant in the app). Everyone gets one at sign-in. It acts as you, through the accounts you connect, such as Microsoft 365, Google Workspace or GitHub, and its runs charge your budget. - **The project agent** (Project Assistant in the app). Every [Project](/chat-app/projects/) gets one. It answers the whole team from the Project's own threads, files and instructions, and whoever asks pays. - **Named agents**, in the Agents section of the app. A team hires one for a role, such as a sales analyst or a technical writer, and gives it a name, an owner and a budget. The team tests it in Workbench, publishes it, then mentions it in a Project, messages it in Slack or Telegram, or schedules it as a Job. Every agent runs its tools in its own isolated workspace, and it works through connected accounts without ever holding the password or key. [Which agent do I use?](/getting-started/which-agent/) turns this into a decision table. ## What is in the platform | Part | What it does | |---|---| | [Chat App](/chat-app/) | The web and desktop app where people talk to agents and models, open Projects and manage Jobs, Skills and settings. | | [Projects](/chat-app/projects/) | A team's shared workspaces: threads, a Library of memory, files and Collections, member agents and access levels, each with its own project agent. | | [Agents](/agents/) | The three kinds of agent, the rules they share and, for named agents, Workbench, Jobs, channels and connections. | | [Agent Claude](/developers/agent-claude/) | A Chat App entry for developers, separate from the three kinds of agent: it runs Claude Code in a long-lived sandbox on the platform host or on your own computer. | | [SecondGate](/gateway/) | The LLM gateway: virtual keys, model access that is denied by default, budgets and a record of every call, with SecondGuard in front of it. | | [ControlTower](/controltower/) | The admin console: people and teams, model access, providers, guardrails, budgets, the agent fleet and the record of every run. | | [Budgets and spend](/controltower/budgets-and-spend/) | Budgets by organization, team, person, key and agent, with an alert threshold and usage analytics. | | [Collections](/chat-app/collections/) | Shared sets of files of any type that agents and chats read, with version history and per-agent access. | | [Your dashboard](/controltower/user-dashboard/) | Each person's own keys, budget, usage logs, devices and subscriptions in ControlTower. | Under the hood, the platform runs its own supporting services: PostgreSQL for application data, OpenResty as the ingress, document-extraction services, Meilisearch for chat search and Qdrant for embeddings. ControlTower is also the platform's own OpenID Connect provider and user directory. It connects to your identity provider, such as Entra ID, Keycloak or another OpenID Connect provider, or to LDAP and Active Directory, with SCIM for user sync. ## Where it runs - **Self-hosted today**, in your own cloud or on your servers. Managed SaaS and AWS Marketplace are coming. - **In your own database and storage.** Every chat, file and agent run stays in your environment, so you control retention, backups and access. - **On your own model providers.** SecondStack works with Anthropic, OpenAI, Google and models you host yourself, through your own provider accounts. Moving a workload to another provider is a change of setting, and budgets by organization, team, person and key keep the total predictable. ## What SecondStack does not do - SecondStack does not host or resell models. Model usage is billed by your providers, on your accounts. - SecondGuard checks requests on their way out and restores masked values in the answer. It does not scan answers. - SecondStack does not run as a hosted service yet. If you would rather not operate it yourself, managed SaaS is coming soon; [contact us](https://secondstack.ai/#demo) and tell us about your deployment. ## Related - [Your first day](/getting-started/first-steps/) - [Which agent do I use?](/getting-started/which-agent/) - [Concepts and names](/getting-started/concepts/) - [Agents](/agents/) - [Self-hosting](/self-hosting/) On secondstack.ai: [The SecondStack homepage](https://secondstack.ai/) --- ## Your first day with SecondStack Source: https://docs.secondstack.ai/getting-started/first-steps/ Checked against: v3.7.2 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. 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. Each step uses the labels you see on screen, in the order the Chat App presents them, so you can follow along with the app open and finish in under an hour. ## Sign in and meet Aster Your administrator gives you the address of your SecondStack, and the Chat App is where you start. Sign in with your company account: when your site uses a sign-in provider, its page opens first. You land in **Chats**, the first section of the navigation rail on the left. Aster (Personal Assistant in the app) is the personal agent you get at sign-in. It acts as you, with the files, Collections and accounts you give it, and only you can talk to it. 1. Choose **New Chat** and ask Aster something you would ask a colleague on your first day: what a document says, how to word a message, what you have on this week. 2. Open **Settings** at the foot of the rail, then **General**. Under **Memories**, keep **Use memories** on so Aster remembers what you tell it, and keep **Learn from my conversations** on so it learns from finished chats. Everything Aster does for you charges your own budget, and it reaches only what you can reach yourself. Which agent to ask for which task is a page of its own: [Which agent do I use?](/getting-started/which-agent/) ## Pick a model Every new chat starts on **Auto**, which picks a model for the conversation from your first message: a quick question goes to a fast model, a hard problem to a stronger one. You can pick the model yourself from the picker above the composer. The picker below shows its groups at v3.7.2. 1. Open the picker. The first group, **AGENTIC ASSISTANT (NEW)**, holds Auto and the agentic models, vendor by vendor. **AGENT CLAUDE** holds the coding sandbox, **IMAGE GENERATION** the image models, and **NAMED AGENTS** the agents your teams have published for you. 2. Read the badge next to a name. A smiley means the entry runs on a subscription your company already pays for and does not consume your budget. Dollar signs, `$` through `$$$$`, mean the entry is billed per request against your budget. 3. Pick an entry. To keep Auto away from API-billed models, turn on **Auto: subscription models only** in Settings. An agentic model gives you Aster on that model. Picking a named agent starts a direct thread with that agent instead, and that thread keeps its agent. ## Open a Project A Project is a team's shared workspace: threads, a Library of memory, files and Collections, member agents, and Read, Contribute or Manage access for each member. Every Project gets the project agent (Project Assistant in the app), which answers from the Project's own files and instructions and never from anyone's personal accounts. 1. Choose **Projects** in the rail. The panel lists your Projects; **New project** at its head creates one. 2. Give the Project a name and open it. Its page lists the Project's threads above the composer. 3. Write in a Project thread. The project agent answers unless you mention an agent by name, and whoever asks pays for the answer. 4. Open the Project's **Library** to add files or link a Collection, and **Project Settings** to invite colleagues and member agents. [Projects, Spaces and Folders](/chat-app/projects/) describes how to organize many Projects. ## Connect one account A connection is an account or MCP server an agent may use on your behalf, with its credentials sealed in the platform. Aster acts through your connections as you; a colleague's agent never sees them. 1. Open **Settings → Connections** and choose **Add connection**. 2. Pick a provider from the catalogue, for example **Google Workspace** for Gmail, Drive and Calendar, or **Microsoft 365** for Outlook, Calendar, OneDrive, SharePoint and Excel. The catalogue depends on what your administrator has set up. 3. Sign in at the provider and come back. The account now appears as a row under Connections, with the apps it provides. Tools that read run on their own. A tool that writes, such as sending mail, asks you first with an **Approve**, **Allow for this thread** or **Deny** card, and you can make any tool stricter for yourself. ## Create a Job A Job is a scheduled or on-demand run of an agent: one-time, recurring or started by a webhook, with a chosen destination for its results. On your first day, give Aster one recurring task. 1. Choose **Jobs** in the rail, then **New job**. The empty page offers six ideas, such as **News briefing**, **Inbox check** and **Day ahead**; an idea fills in the instructions and schedule for you to adjust. 2. Or write what you want under **Describe what you want done** and choose **Continue**; Aster drafts the Job for you to confirm. **Start from scratch** opens the full form. 3. Under **Agent and destination**, keep **My Assistant** as the agent. Under **Results go to**, choose **Direct chat** or **New private thread**. 4. Set the schedule: **One-time**, **Recurring** with a repeat such as **Daily** or **Weekdays**, or **On demand** for a Job you start yourself. Choose **Create job**. 5. Use **Run now** on the Job to see the first result without waiting for the schedule. A recurring Job runs under your authority and charges your budget each time, like a chat. ## Watch your budget Your administrator sets your budget in ControlTower, and the Chat App shows it to you. Open **Settings → Budget & spend** for this period's spend, or open **ControlTower** from your account menu and choose **Budget and Spend** for the full picture: your limit, your spend by key and your usage logs. When a run would pass your limit, the chat says so and links you there. ## What your first day does not cover - Slack and Telegram direct messages with Aster need bots that your administrator connects in ControlTower. Until then, Aster answers in the Chat App only. - Named agents are created and published by their owners, usually a team lead. The [Agents overview](/agents/) explains how they differ from Aster. - The desktop app installs from **Settings → Desktop App**, with downloads for macOS, Windows and Linux. The browser Chat App and the desktop app show the same chats. - Boards, Sites and Slides appear in the rail only when your site turns them on. ## Related - [Which agent do I use?](/getting-started/which-agent/) - [Concepts and names](/getting-started/concepts/) - [Chat App](/chat-app/) - [Projects, Spaces and Folders](/chat-app/projects/) - [Your dashboard](/controltower/user-dashboard/) On secondstack.ai: [The SecondStack homepage](https://secondstack.ai/) --- ## Which agent do I use? Source: https://docs.secondstack.ai/getting-started/which-agent/ Checked against: v3.7.2 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. 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. In short: Aster for your own work, the project agent for a Project's work, a named agent for a shared role, Agent Claude for code. ## The four side by side | | Aster | Project agent | Named agent | Agent Claude | |---|---|---|---|---| | In the app it is called | Personal Assistant | Project Assistant | Its own name | Agent Claude | | Acts as | You | The Project | Itself, with its own identity | You, inside a coding sandbox | | Who pays | You | Whoever asks | Its own budget or whoever uses it | You, on a subscription or your budget | | Answers in | Chat, and Slack or Telegram direct messages | Project threads, when nobody is mentioned or on @assistant | A Project mention, a direct thread, its own Slack or Telegram bot, a Job | Its own Chat thread | | Use it for | Your mail, files, Collections and memory; Jobs for yourself | Questions over the Project's files and instructions; Project Jobs | A recurring report, a reviewer in a Project, a bot in a channel | Repositories, scripts and files that need Claude Code | - If you want something done with your own accounts, ask Aster. - If you want an answer the whole Project can see, built from the Project's files, write in a Project thread and let the project agent answer. - If you want a role that outlives one conversation, with its own name, owner and budget, hire a named agent. - If you want Claude Code working in a repository, pick Agent Claude. ## When Aster is the right choice Aster (Personal Assistant in the app) is the agent that acts as you. It reaches your files, your Collections, your Memory, the Projects you belong to and the accounts you connected, and nothing a colleague owns. Ask it for anything you would do yourself: read and answer mail, summarize a document, find an earlier conversation, organize your Projects, schedule a Job for yourself. You pay for every run from your own budget. ## When the project agent is the right choice The project agent (Project Assistant in the app) answers in a Project's threads whenever nobody mentions an agent, or when the first mention is @assistant. It works only with the Project's own files, instructions and memory, so every member gets the same answer from the same sources, and the person who asks pays. Use it for the team's shared questions, and for Project Jobs that a member schedules to run inside the Project. ## When a named agent is the right choice A named agent is an AI agent your team hires for one role, with its own name, an owner, a budget and, if you want, a schedule. Choose one when the work belongs to a role rather than to a person: a weekly report nobody wants to remember, a reviewer that joins every thread of a Project, a bot colleagues can message in Slack. Its owner tests it in Workbench, publishes a version, and decides who may invoke it. Who pays is fixed at creation: the agent's own budget up to a spending limit, or whoever uses it. A named agent is also the better choice over Agent Claude whenever other people need the result: it has an identity, a record under its own name, and a place in Projects and channels. ## When Agent Claude is the right choice Agent Claude is SecondStack's way to run Claude Code in a long-lived sandbox per thread, on the platform host or on your own computer. Pick it for software work: a repository to change, a script to write and run, a set of files that needs a full development environment rather than an agent workspace. It is a Chat App entry for developers and stands apart from the three kinds of agent: it belongs to the person using it rather than to a team, it does not join Projects, and it answers only in its own Chat thread. ## What the choice does not change - Every agent runs under a budget someone holds, uses only the accounts and files it was given, and leaves a record of what started each run, what it used and what it cost. - Every agent works through connected accounts without holding the password or key, and a tool that writes asks first unless its owner set it to run automatically. - A Workbench test of a named agent is a real chat: its tool actions have their normal, lasting effects. ## Related - [Agents](/agents/) - [Your first day](/getting-started/first-steps/) - [Concepts and names](/getting-started/concepts/) - [Agent Claude](/developers/agent-claude/) On secondstack.ai: [The SecondStack homepage](https://secondstack.ai/) --- ## Concepts and names Source: https://docs.secondstack.ai/getting-started/concepts/ Checked against: v3.7.2 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. Concepts and names in SecondStack come down to one definition sentence per term, with the marketing name beside the label the app shows, such as Aster and Personal Assistant. This page is where those sentences live: other pages state a term in a clause and link here, so a word means the same thing wherever you read it. ## How names work here These docs use the product names you see on secondstack.ai: Aster, the project agent, named agents, the Chat App, ControlTower, SecondGate and SecondGuard. Where the app shows a different label, the first mention on a page gives it in brackets, as in "Aster (Personal Assistant in the app)", and numbered steps use the app's label. Your administrator can rename the apps and the assistant for your site, and the base install uses neutral names: **AI Platform** for the platform, **AI Chat** for the Chat App, **Console** for ControlTower and **Personal Assistant** for Aster. So when your install says AI Chat where these docs say Chat App, you are reading about the same screen. ## Agents ### AI agent platform An AI agent platform is software that lets a company create, run and control its own AI agents in one place; SecondStack is one, self-hosted today. [What is SecondStack](/getting-started/what-is-secondstack/) shows each part of the platform and where it runs. ### Aster, the personal agent Aster (Personal Assistant in the app) is the personal agent every SecondStack user gets at sign-in: private, acting as you, paid from your own budget. In the New job form, Aster appears as **My Assistant**. The [Agents overview](/agents/) compares it with the other two kinds. ### The project agent The project agent (Project Assistant in the app) is the shared agent each Project gets, working with the Project's files, instructions and memory, paid by whoever asks. It answers a Project thread when nobody mentions an agent, or when the first mention is @assistant. ### Named agent A named agent is an AI agent your team hires for one role, with its own name, an owner, a budget and, if you want, a schedule. Named agents live in the **Agents** section of the Chat App. [Which agent do I use?](/getting-started/which-agent/) says when to hire one. ### Owner An owner is the user, team or organization that answers for a named agent; it is shown on the agent's page and in Agent fleet. The current personal owner always holds Manage over the agent, which includes Train and Invoke. ### Who pays Who pays is the funding setting of a named agent, fixed at creation: Its own budget, up to a Spending limit, or Whoever uses it. The form says "You can't change this later", and it means it: the choice stays through an ownership transfer. ### Workbench Workbench is the test chat for a named agent's draft or published Version: a real, temporary direct chat whose tool actions have their normal, lasting effects. Only the transcript is temporary. A mail the agent sends from a test chat is sent. ### Agent workspace An agent workspace is the isolated sandbox where an agent runs its tools and keeps its files for the conversation, with a browser you can watch and take control of. Every agent runs its tools in one. When every workspace is busy, an agent waits up to five minutes for a free one instead of failing at once. ### Agent Claude Agent Claude is SecondStack's way to run Claude Code in a long-lived sandbox per thread, on the platform host or on your own computer. It is a Chat App entry for developers, apart from the three kinds of agent: [Agent Claude](/developers/agent-claude/). ## Working in the Chat App ### Chat App The Chat App is the web and desktop application where people talk to SecondStack agents, open Projects and manage Jobs, Skills and settings. The [Chat App](/chat-app/) section covers the picker, Projects, Collections, Custom Prompts and image generation. ### Project A Project is a team's shared workspace in the Chat App: threads, a Library of memory, files and Collections, member agents, and Read, Contribute or Manage access. Projects are documented in [Projects, Spaces and Folders](/chat-app/projects/). ### Space A Space is a tree node that groups shared Projects at any depth in the Chat App, with Read, Contribute and Manage access that child Spaces and Projects inherit. Private **Folders** and **Pinned** shortcuts organize your personal Projects the same way, and Folders give nobody access. ### Collection A Collection is a shared set of files of any type that agents and chats can read, with version history and per-agent access. A named agent gets **Off**, **Read** or **Read and write** per Collection. See [Collections](/chat-app/collections/). ### Job A Job is a scheduled or on-demand run of an agent: one-time, recurring or started by a webhook, with typed parameters and a chosen destination for its results. The app's word is **Jobs**, and a Job starts from **New job**. Six ideas ship with the default site, from a news briefing to a reminder. ### Channel A channel is a place outside the Chat App where an agent answers, such as Slack or Telegram: DMs for Aster, channels and groups for a named agent's own bot. Your administrator connects the Slack and Telegram bots in ControlTower. Yandex Telemost is available when a site turns it on. ### Connection A connection is an account or MCP server an agent may use on your behalf, such as Google Workspace or GitHub, with its credentials sealed in the platform. You add one under **Settings → Connections** with **Add connection**. The catalogue depends on your site. ### Connection tool approval A connection tool approval is a per-tool rule: a tool runs automatically or asks first; write tools ask by default through an Approve, Allow for this thread or Deny card. Each tool is **Automatic**, **Ask first** or **Off**, and a Job can pre-approve the tools it needs. ### Skill A Skill is a reusable set of instructions an agent follows for one kind of task; Skills come from the platform, the organization, a share, the user or the agent itself. The rail says **Skills**; the page is titled **Agentic Skills**. A named agent can create, update and delete its own Skills when asked. ### Chat Profile A Chat Profile is a ControlTower definition of one entry in the Chat App model picker: which model it uses, how it is labelled and grouped, and who sees it. `chat-profiles.yaml` in a site configuration declares them, and administrators edit them in ControlTower. Two more features appear in the rail only when a site turns them on. **Boards** are shared card boards that people and agents work from; they are off by default. **Sites** and **Slides** publish websites and decks from an agent's workspace. ## Control ### ControlTower ControlTower is the admin console of SecondStack: it gives every agent an owner, a budget, your rules and a record of every run, and manages people, models and access. Its address is `controltower.` followed by your platform's host. [ControlTower](/controltower/) is the section for administrators. ### Agent fleet Agent fleet is the ControlTower page that lists every named agent with its owner, who pays, its budget, its API-billed cost and connections, its last run and anything still missing from its set-up. The ControlTower navigation says **Agent fleet**; the page itself is titled **Agents**. ### Agent Activity Agent Activity is the ControlTower record of every agent run: invocations, sessions and ingress, each with its model calls, tokens, cost and a context audit. Agent Activity is admin-only and read-only, and it strips credentials before it writes a record. ### SecondGate SecondGate is the AI gateway of SecondStack, the LLM gateway every request from people, agents and apps passes through, with model access denied by default, budgets and a record. Its address is `/gateway/api` on your platform's host. See [SecondGate](/gateway/). ### SecondGuard SecondGuard is the guardrail service in front of SecondGate that blocks, masks or logs secrets and personal data on the request path and restores masked values in the answer. It never scans answers: on the way back it only restores the values it masked. ### Virtual key A virtual key is an sg_ key SecondGate issues to a person, team, application or agent, shown once, with its own budget and its own model access. People create their own under **API Keys** in their ControlTower dashboard. ### Budget A budget is the spend limit SecondGate enforces for an organization, team, person, key or agent per period, with an alert threshold and temporary grants. Each scope has one alert threshold, 70% by default. See [Budgets and spend](/controltower/budgets-and-spend/). ## Related - [What is SecondStack](/getting-started/what-is-secondstack/) - [Which agent do I use?](/getting-started/which-agent/) - [What's new in v3](/getting-started/whats-new/) - [Agents](/agents/) On secondstack.ai: [The SecondStack homepage](https://secondstack.ai/) --- ## What's new in SecondStack v3 Source: https://docs.secondstack.ai/getting-started/whats-new/ Checked against: v3.7.2 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. 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. In short, v3 turned a multi-model chat with a gateway into an AI agent platform: every person, Project and team gets an agent, and ControlTower holds each agent's owner, budget, rules and record. ## What changed for each reader - **Everyone.** You have a personal agent, Aster (Personal Assistant in the app), with one memory across Chat and your Slack or Telegram direct messages. The Chat App has a navigation rail with one panel per section, a Library for memory, files and Collections, a Jobs hub and a model picker that leads with agentic models. You connect your own accounts, such as Google Workspace, Microsoft 365 or GitHub, and agents use them as you. - **Team leads.** You hire named agents for a role, test them in Workbench, publish a version, put them in Projects and channels and schedule them as Jobs. Every Project has a project agent. Since v3.7.0, Spaces organize shared Projects in a tree with inherited access. - **Admins and IT.** ControlTower is the platform's own OpenID Connect provider and user directory, with local credentials, upstream OpenID Connect, LDAP and Active Directory, and SCIM. It gained Agent fleet, Agent Activity, an Integrations section, Chat Profiles as entities of their own, subscription pools and, in v3.7.2, white-label site names and a site theme. v3.7.0 added a Kubernetes distribution for a single machine. - **Developers.** The SecondStack CLI runs Codex and Claude Code through SecondGate and configures the copies already on your computer. On the same model, `/v1` routes bill the API and `/subscription/v1` routes use subscription pools. Trusted applications register in ControlTower and reach agents through the Agents API. `/chat` is now the Chat App's address and `/gateway/api` the gateway's, both on the platform host. ## Names that changed | In v3 | Before v3 | Label in the app | |---|---|---| | Chat App | formerly SecondChat | Chat App, or AI Chat on a base install | | Agent Claude | formerly SecondAgent | Agent Claude | | Collections | formerly Knowledge Collections | Collections | | Jobs | formerly Tasks, a word the changelog still uses in places | Jobs | | Budgets and spend | formerly Cost Management, on these docs | Budget and Spend | | Aster, the personal agent | new in v3 | Personal Assistant, and My Assistant in the New job form | | The project agent | new in v3 | Project Assistant | | ControlTower | the same name; now also the identity provider | ControlTower, or Console on a base install | [Concepts and names](/getting-started/concepts/) keeps one definition per term. ## Every v3.x release - **v3.0.0-beta.1, 6 October 2026.** The Agent Platform: Aster and the project agent, named agents with delegation and shared memory, Jobs, Slack and Telegram channels, connected accounts, Skills, a workspace browser and Sites. The Chat App redesign. ControlTower as the identity provider. ChatGPT subscriptions as a metered provider in SecondGate. Chat Profiles as a ControlTower entity. - **v3.0.1-beta.1, 7 October 2026.** An **Internet access** switch per named agent, a quieter agent settings page, Jobs drafted from a description on the empty Jobs page, and a Connections admin page in ControlTower. - **v3.0.2-beta.1, 7 October 2026.** Agents answer with inline HTML pages, agent threads get a workspace file browser, the Chat App takes the brand palette in both themes, and storage quotas per person. - **v3.0.3-beta.1, 8 October 2026.** Claude Haiku 5.5 in the picker, Jobs managed in conversation from Slack and Telegram, Outline accounts, and the SecondStack CLI with its Devices page. - **v3.1.0, 10 October 2026.** Registered Applications and the Agents API, and the Chat App on several identical workers. - **v3.2.0, 14 October 2026.** Add MCP server from a pasted URL, Boards behind a site switch, on-demand Jobs with typed parameters and webhooks, Agent Claude on Claude subscription pools, the CLI running Claude Code, and billing chosen by route on the same model id. - **v3.3.0, 16 October 2026.** Job ideas, deleting files from Settings → Storage, agents citing Project and Collection files as links, and local image generation in the `default-local-gpu` site. - **v3.4.0, 18 October 2026.** gpt-6.1 Sol as the default subscription model, Gemini 4 Argon, follow-up instructions while an agent responds, Jobs that start a fresh conversation per run, and model access for all named agents at once. - **v3.4.1, 18 October 2026.** Fastmail, iCloud and other IMAP and CalDAV mailboxes, site types for Sites with the first Slides type, and an in-stack Mail and Calendar MCP service. - **v3.5.0, 20 October 2026.** HTTP API connections with a sealed key, Connections in one place, Yandex Telemost, personal Slack accounts for Aster, and the CLI setting up the Claude desktop app. - **v3.6.0, 25 October 2026.** Collections accept any file type, named agents publish to their Collections with Off, Read or Read and write access, Agent Activity lists every model call, the model context audit, typed budget amounts, and shared Project chats through the Agents API. - **v3.6.1, 25 October 2026.** Exchange Server mailboxes, an image generation Skill for every image model, and Agent Claude deleting a Collection document on request. - **v3.7.0, 2 November 2026.** The desktop app with local connectors and native app control, connection tool approvals, Spaces and Folders, Slides, Project Jobs, GitHub across organizations and GitLab, SharePoint and Excel, `/compact` and `/clear`, the Kubernetes distribution, the Jira Access Gateway, Grafana dashboards, chained deployments and a team default model. - **v3.7.1, 2 November 2026.** The desktop app asks once whether to turn on Agent Claude, the CLI uses the Codex and Claude Code already installed, and a child SecondStack relays a parent's Claude subscriptions. - **v3.7.2, 4 November 2026.** White-label site names and theme, Nano Banana 2.1 in the picker, and Project connectors no longer take a connection tied to one person. These docs describe v3.7.2, the newest release. A feature that exists only in the product's main branch waits for the release that carries it. ## Related - [Concepts and names](/getting-started/concepts/) - [What is SecondStack](/getting-started/what-is-secondstack/) - [Your first day](/getting-started/first-steps/) - [Agents](/agents/) On secondstack.ai: [The SecondStack homepage](https://secondstack.ai/) # Agents --- ## AI agents in SecondStack Source: https://docs.secondstack.ai/agents/ Checked against: v3.7.2 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. 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. All three run on the same machinery, so what differs is identity: whose name a run carries, whose accounts it may use and whose budget it charges. | | Personal agent | Project agent | Named agent | |---|---|---|---| | Acts as | You | The Project | Itself, by name | | Who gets it | Everyone, at sign-in | Every Project, one each | Teams, for a role | | Who pays | You | Whoever asks | Its own budget, or whoever uses it | | Where it answers | Chat, Slack and Telegram DMs | Project threads, when nobody else is mentioned or on @assistant | @mention, its own bot, a Job | | In the app | Personal Assistant | Project Assistant | Agents | ## The rules every agent starts with - **A budget**: Every run charges a budget someone holds. - **Access**: Only the accounts and files it was given. - **A record**: What started each run, what it used, what it cost. - [Aster, your personal agent](/agents/personal-agent/): 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](/agents/project-agent/): 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](/agents/named-agents/): 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. - [Owners and budgets](/agents/owners-and-budgets/): 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](/agents/jobs/): 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. - [Channels](/agents/channels/): 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](/agents/connections/): 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](/agents/skills/): 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. - [Workspaces](/agents/workspaces/): 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](/agents/sites-and-slides/): Sites and Slides are what SecondStack agents publish from their workspace when your administrator turns Sites on: Private, Platform or Public, then export. See also: [What is SecondStack](/getting-started/what-is-secondstack/), [Chat App](/chat-app/), [ControlTower](/controltower/) On secondstack.ai: [Three kinds of AI agent for every company](https://secondstack.ai/platform/agents/) --- ## Aster, your personal agent Source: https://docs.secondstack.ai/agents/personal-agent/ Checked against: v3.7.2 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. Aster (Personal Assistant in the app) is the personal agent every SecondStack user gets at sign-in: private, acting as you, paid from your own budget. It works with your files, your Collections, your memory and the accounts you connect, and it answers in Chat and in your Slack or Telegram direct messages once your administrator connects the bots. ## What Aster reaches Aster reaches what you can reach yourself, and nothing a colleague owns. That covers your files, your [Collections](/chat-app/collections/), the memory it keeps for you, the context of the [Projects](/chat-app/projects/) you belong to, and every account or MCP server you added under **Settings → Connections**. It acts through those accounts as you, so a colleague's agent never sees them and yours never sees theirs. Ask it for the work you would otherwise do by hand: read and answer mail, summarize a long document, find the conversation where something was decided, organize your Projects and threads, or create and configure a named agent under your own authority. Since v3.7.0 it also finds an earlier file by the conversation around it, across chats, Projects, Collections and your Slack or Telegram messages, even when the file has a meaningless name. Tools that read run on their own. A tool that writes, such as sending mail or editing a page, asks you first with an **Approve**, **Allow for this thread** or **Deny** card, and you can make any tool stricter for yourself; Connections and tool approvals explains the levels. Every tool runs in an isolated agent workspace, and every run leaves a record of what started it, what it used and what it cost. The screen below shows one turn of Aster at v3.7.2: the plan it keeps while it works, its tool steps folded into one row, the one value the guardrails masked before the request left for the model, and the record of who started the run and whose budget paid. ## Memory across Chat and channels Aster keeps one memory for you, and every place you talk to it reads and feeds that memory. A fact you tell it in a Slack direct message is known in Chat, and a preference you settle in Chat holds in Telegram, because the memory belongs to you rather than to a thread or a channel. You manage it under **Settings → Memories**, which lists what Aster knows as **Memories**, the log of edits as **Recent changes** and a dated **Journal** of past conversations. You can add, edit, pin or delete any entry; a pinned memory is part of every conversation. Three switches in its **Settings** view decide how the memory grows: 1. **Use memories** lets Aster recall your memories in every chat and channel. Saved memories are kept when it is off. 2. **Learn from my conversations** lets Aster save new facts and a short journal entry when a conversation goes quiet. **Learn now** starts that at once. 3. **Ask before learning changes memories** holds every change from learning in **Recent changes** until you **Approve** it, and **Undo** reverts one you did not want. Personal memory never learns from Project threads, and a Project's memory stays with the Project. Named agents have no memory of their own, so what Aster knows about you is yours alone. ## Two commands for a long chat Two commands keep a long conversation with Aster workable. `/compact` summarizes the older part of the context so the thread can go on without losing what matters, and `/clear` starts fresh while keeping the visible history and the workspace's files and processes. Both work in your chats with Aster and in direct chats with a named agent at v3.7.2. ## Who owns Aster and who pays You own Aster, and every run charges your own budget. Your administrator sets that budget in ControlTower; you watch it under **Settings → Budget & spend** in the Chat App, or in full under **Budget and Spend** in [your dashboard](/controltower/user-dashboard/). A Job that Aster runs for you spends the same budget each time it fires, and a chat on a subscription entry, the one with the smiley badge in the picker, consumes none of it. Aster has no model of its own. Picking a model in a chat means Aster on that model, **Auto** means Aster on the model the first message calls for, and Aster sees exactly the models your administrator granted you. [Your first day](/getting-started/first-steps/) walks through the picker. ## Where Aster answers Aster answers wherever you talk to it as yourself, and only there. - In the Chat App, in any thread that is neither a Project thread nor a direct thread with a named agent. - In Slack and Telegram direct messages, once your administrator has connected the bots in ControlTower and you have linked your account, and in Yandex Telemost direct messages if your site turns that channel on. Aster answers direct messages only, never channels or groups; Channels has the details. - In Jobs, where the New job form lists it as **My Assistant**. A recurring Job runs under your authority with your accounts. - On a paired desktop, where Aster can inspect and operate the native applications on your computer through the built-in desktop control connection. You turn it on locally, approve each change and can stop it at any time, and it needs neither Agent Claude nor a container runtime; The desktop app explains the pairing. In a Project thread the project agent answers instead, from the Project's own files and memory, and whoever asks pays. [The project agent](/agents/project-agent/) explains that split. Aster is the agent that acts as you. The project agent acts as a Project, and a named agent acts as itself, with its own name, owner and budget. When in doubt, read [Which agent do I use?](/getting-started/which-agent/) ## What Aster does not do - Aster has no identity, budget or badge of its own. Its messages carry your badge, its runs charge your budget, and it does not appear in ControlTower's Agent fleet, which lists named agents only. - Aster does not answer in Project threads, Slack channels or groups. It answers you, in your own threads and your direct messages. - Aster never uses a colleague's accounts, Collections or memory, and a colleague's agent never uses yours. - Aster does not post in Slack as you unless your administrator turns personal Slack accounts on for your site. Named agents cannot use a personal Slack account at all. - A Temporary chat uses no memory and teaches Aster nothing. - Aster is not a development environment. For a repository or a script that needs a persistent environment, pick [Agent Claude](/developers/agent-claude/). ## Related - [Which agent do I use?](/getting-started/which-agent/) - [Your first day](/getting-started/first-steps/) - [The project agent](/agents/project-agent/) - [Owners and budgets](/agents/owners-and-budgets/) - [Connections and tool approvals](/agents/connections/) - [Channels](/agents/channels/) On secondstack.ai: [Three kinds of AI agent for every company](https://secondstack.ai/platform/agents/) --- ## The project agent Source: https://docs.secondstack.ai/agents/project-agent/ Checked against: v3.7.2 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. The project agent (Project Assistant in the app) is the shared agent each Project gets, working with the Project's files, instructions and memory, paid by whoever asks. It answers in a Project's threads whenever nobody mentions an agent, every member gets the same answer from the same sources, and it carries no accounts, budget or memory of its own. ## When the project agent answers The project agent answers a Project thread when the message mentions no agent, or mentions `@assistant` first. A [Project](/chat-app/projects/) is a team's shared workspace, so its agent is a facility of the room: it has no name of its own, its answers carry the Project's neutral badge rather than a person's, and it works for whoever writes in the thread. Mentions decide who speaks. The first participant a message mentions answers the turn: a named agent that is a member of the Project, or the project agent for `@assistant` or no mention at all. Agents mentioned later do not answer in the thread; the answering agent consults them privately and gives one answer. Mentioning an agent that is not a member does nothing, because a named agent joins a Project only when a manager adds it in **Project Settings**. The screen below shows one turn of the project agent at v3.7.2: a member's question, the plan the agent keeps while it reads the Project's Collections and threads, the tool steps folded into one row, the one value the guardrails masked, and the record showing that the member who asked paid. ## Which context it uses The project agent works from the Project's own Library and instructions, with the authority of the person who asked. On a desktop the Project's **Library** opens as a dialog with its **Files**, its **Collections** and the Project's memory; a phone shows them as tabs, with the memory under **Project Memories**. The instructions a manager writes in **Project Settings** go into every thread of the Project, and the connections and Skills a manager enabled for the Project are the ones the agent may use. A connection that belongs to one person stays out of a Project's connectors at v3.7.2. The agent holds no credentials, so it runs on the authority of the sender: it reads only what that person could open, and a tool that writes asks that person first. A Project can set a shared starting model for its threads; without one, each member's own default model applies. The Project's memory is a space of its own. The project agent and the Project's member agents read it in the Project's threads, and **Learn from Project conversations** lets it grow from every member's turns once a conversation goes quiet. Managers can edit any memory and require approval for learned changes, contributors can edit the ones they wrote, and every change shows in **Recent changes**. Personal memory never learns from Project threads, and the project agent never reads a member's personal memory or files. ## Member agents in a Project A named agent joins a Project when a manager adds it in **Project Settings**, and from then on any member can mention it. The agent holds **Invoke** in that Project, reads the Project's Collections as a member in its own right, and answers under its own name, with its own accounts and its own budget rule; [Named agents](/agents/named-agents/) covers the rest of its life. Delegation runs the other way too. The agent answering a turn can hand private work to the Project's named agents and to parallel helpers, and the caller's turn cost includes what its helpers spent. A manager sees every Project an agent participates in on the agent's **Places** tab, where a Project with one or no human participants is marked as a quiet room, and can **Withdraw** the agent from any of them. ## Project Jobs A Project member can schedule a Job that the project agent runs inside the Project, with the member's connected accounts and the Project's Collections and Skills. The Project's **Jobs** dialog holds them, and a Job that finds several work items can route each one into its own thread with the **Job thread in the Project** destination. Jobs explains schedules, parameters and destinations. ## Who pays The person who asks pays, from their own budget and on the team they selected for the thread. A Project Job charges the member who scheduled it, each time it fires, with the team chosen when the Job was created. The project agent has no budget of its own and never appears in ControlTower's Agent fleet; [Owners and budgets](/agents/owners-and-budgets/) explains how that differs from a named agent. ## What the project agent does not do - The project agent has no accounts, credentials, budget or memory of its own. It acts with the authority of the person who asked and spends that person's budget. - It sees only its own Project. It cannot inspect other Projects or anyone's personal conversations, administer agents, create Projects or move a thread out of its Project. - It has no Slack or Telegram bot. At v3.7.2 it answers only inside its Project's threads and its Project Jobs. - It does not answer a turn that mentions a member agent first, and a mention of an agent that is not a member does nothing. - It has no Workbench and no versions. Its behaviour follows the Project's instructions, Library and settings, which managers change in place. - The `/compact` command works in chats with Aster (Personal Assistant in the app) and in direct chats with a named agent, not in Project threads, at v3.7.2. ## Related - [Projects, Spaces and Folders](/chat-app/projects/) - [Aster, your personal agent](/agents/personal-agent/) - [Named agents](/agents/named-agents/) - [Owners and budgets](/agents/owners-and-budgets/) - [Jobs](/agents/jobs/) - [Collections](/chat-app/collections/) On secondstack.ai: [Three kinds of AI agent for every company](https://secondstack.ai/platform/agents/) --- ## Named agents: build and publish Source: https://docs.secondstack.ai/agents/named-agents/ Checked against: v3.7.2 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. A named agent is an AI agent your team hires for one role, with its own name, an owner, a budget and, if you want, a schedule. Its owner briefs it, tests it in Workbench, publishes a version and decides who may use it; it then answers under its own name in Projects, direct chats and its own channel bots. ## Create a named agent A named agent starts from **New agent** and exists the moment you create it, with you as its owner. Choose [Who pays](/agents/owners-and-budgets/) with care, because the form says "You can't change this later." 1. Choose **Agents** in the rail, then **New agent**. 2. Give it a **Name**, such as "Finance analyst", and say in one line **What it does**. Both show in the Agents page and in the model picker. 3. Under **Who pays**, choose **Its own budget** for an agent that spends an allocation you set, or **Whoever uses it** for one that charges each person who talks to it. 4. Choose **Create Agent**. The page says "You'll own it and can change its settings any time." A picture helps colleagues tell agents apart. Under **Avatar** you can **Upload image**, **Paste image** or **Generate** a pattern, then drag the picture to frame it; the file is a PNG, JPEG or WebP up to 5 MB. You can also ask Aster (Personal Assistant in the app) to set it. The Agents page below shows where every agent you can reach lives: **All agents**, **Managed by you**, **Shared with you**, **My agents** for your own list, **Hidden** and **Deleted**. ## Set it up in Settings A named agent's page has eight tabs, and **Settings** holds what the agent is. The tabs are **Activity**, **Places**, **Workbench**, **Jobs**, **Channels**, **Accounts**, **Access** and **Settings**; under Settings sit **General**, **Model**, **Tools**, **Versions**, **Collections**, **Budget**, **Skills**, **Board** and **Connections**. - **General** holds the name, what it does and **Where it answers**: **Projects and channels only**, the default, **Direct messages only**, or **Projects, channels and direct messages**. **Internet access** decides whether the agent's workspace can reach the internet directly, and the **Agents API** switch lets applications an administrator registered be granted access to it. - **Model** holds the draft the agent runs on: the **Model**, its **Reasoning** level, the **Instructions** that describe its role, goals and working style, and the provider **Tools** such as **Web search** or **Code execution**. Aster can set the Instructions from a file when you ask it to. - **Agent capabilities** lists what the agent may do in its workspace, in a conversation and on the platform, from **Shell and files** to **Delegation** and **Helpers**, and the page says "Turn off what this Agent does not need." - **Collections** gives the agent **Off**, **Read** or **Read and write** access to each [Collection](/chat-app/collections/). With Read and write, anyone who can talk to the agent can ask it to add or revise documents, and every change stays in version history. - **Skills** selects the Skills the agent follows: platform Skills, organization and shared Skills that follow their owner's edits, and the agent's own, which **Copy to Agent** creates from a shared one. A named agent also creates, updates and deletes its own Skills when you ask it to; Skills has the details. - **Connections** and **Accounts** give the agent the accounts and MCP servers it may use. A manager selects the account, and a connection tied to one person cannot be used by a named agent. - **Budget** shows its spending limit and this period's spend, and **Board** appears when your site turns Boards on. The screen below shows the Model section of an example agent at v3.7.2, with the draft that Workbench tests and **Publish version** freezes. ## Test it in Workbench [Workbench](/getting-started/concepts/#workbench) runs a real chat with the draft or a published version, and the tool actions in that chat count for real. 1. Open **Workbench**. It needs Manage on the agent, and with no draft saved yet it says "Nothing to test yet" and sends you to Model. 2. Choose **New test chat** and pick **Draft** or a published **Version** to test. 3. Write as a user would. The test shows the same answers, tool steps, images and files as a direct chat with the agent. Only the transcript is private and temporary: the test chat stays out of your history and search, and it ends when you leave it. A mail the agent sends during a test is sent, and a file it writes to a Collection stays written. Test with accounts and Collections you can afford to touch. A test turn is paid like a direct turn: from the agent's own budget, or from your budget for an agent that runs on whoever uses it. Test runs show in **Activity** as **Workbench test**. ## Publish a version A named agent runs only on a published version, never on the draft. **Save draft** keeps your edits; **Publish version** freezes them as an immutable entry under **Published versions**, and every turn, Job and channel message from then on pins one of those versions. The page shows **Unpublished changes** while the draft differs from the latest version, and it refuses to start a conversation or a Job until the agent has a published version. A version holds the agent's behaviour: instructions, model, tools, Skills with their exact content, connections, and its internet and Collection choices. Its budget, state, where it answers, channels, memory and picture stay outside versions and change at once. A rename shows in the Agents page immediately and reaches the agent's runs with the next publication, and turning a capability on also needs a publication before a version can use it. To move an agent between deployments, **Export** a saved draft or a published version as a ZIP package and **Import** it elsewhere as a new agent or as a draft of an existing one. Configuration and owned Skills travel; credentials, funding, grants, Collections, memory, conversations, channels and Jobs stay where they are. ## Grant access Access to a named agent has three levels, each including the ones below it: **Invoke**, **Train** and **Manage**. Invoke lets someone talk to the agent where it participates. Train also lets them shape its profile, its versions and its Skills. Manage also covers channels, Jobs, its Places, the Workbench, and withdrawing it from a Project. 1. Open **Access**, then **Add access**. 2. Pick the **Subject type**: **User**, **Team**, **Group**, **Organization**, **Agent** or **Application**, and find the subject by name, email or ID. 3. Set the **Permission** to Invoke, Train or Manage and the **Effect** to **Allow** or **Deny**, then **Save grant**. The owner always holds Manage, and no manager can lower that. For everyone else a deny wins, and an agent owned by a team or the organization starts closed until someone grants access. An Agent subject can receive Invoke only: it lets that agent delegate private work to this one. An Application subject is a client of the Agents API that an administrator registered in ControlTower. ## Where people find it - On the **Agents** page, in the views above. Adding an agent to **My agents**, or starting a chat with it, puts it in your list; **Hidden** agents stay reachable until you unhide them. - In the model picker, under **NAMED AGENTS**, when the agent allows direct messages. Picking it starts a direct thread bound to that agent, and the thread keeps the agent's own model, so the picker is hidden there. - In a [Project](/agents/project-agent/), once a manager adds it in **Project Settings**. Members then mention it by name. - In Slack and Telegram, through its own bots under **Channels**: **Connect Slack bot** or **Connect Telegram bot**, then **Answer in every channel and group** for the rooms its bots are in. With **Read all messages** on, it also joins in on messages that do not mention it when they match **When to reply**. Senders still need a linked account and access to the agent; Channels covers the setup. - On a schedule, under its **Jobs** tab. A named agent's Job pins a published version. Colleagues on the business side find a longer tour on secondstack.ai: [SecondStack for business teams](https://secondstack.ai/for/business-teams/). ## Pause, resume and delete **Pause** stops new runs at once and keeps everything else; **Delete Agent** is permanent. Both sit on the agent's page under its **State**, which reads **Active**, **Paused** or **Deleted**, and an administrator can pause any agent from ControlTower's Agent fleet. - A paused agent refuses new turns, Jobs and channel messages until a manager chooses **Resume**. Its Projects, history and grants stay as they were. - Deleting permanently stops new work, cancels its Jobs and asks running work to stop. Its credentials and its own channel access are retired, and the cleanup may take time and retries on its own. History, Collections, Skills and shared conversations remain readable, the agent moves to the **Deleted** view, and it cannot be restored. ## For admins ControlTower lists every named agent under **Agent fleet** with its owner, who pays, its budget and spend, the outcome of its last run and any set-up issue, and Agent Activity records every run with its model calls, tokens and cost. Administrators also decide which capabilities agents may have per chat profile, and operators size agent workspaces per site; Agent fleet and the [ControlTower overview](/controltower/) cover the admin side. ## What a named agent does not do - A named agent has no memory of its own. It keeps no facts about the people it talks to, and reads a Project's memory only as a member in that Project's threads. - It has no Chat context of its own. A direct thread gives it only the sender's attachments and selected Collections for that turn, and a Project mention gives it that thread's files. - It cannot use a personal Slack account. Its only way into Slack and Telegram is a bot of its own. - It never runs on the draft, and it cannot change who pays after creation. - A Workbench test is not a dry run: its tool actions have their normal, lasting effects. - An agent that received delegated work cannot delegate further; delegation is one level deep. - It is not Agent Claude. A named agent runs in an agent workspace that keeps its files for one conversation, not in a persistent development environment; [Which agent do I use?](/getting-started/which-agent/) draws the line. ## Related - [Owners and budgets](/agents/owners-and-budgets/) - [The project agent](/agents/project-agent/) - [Aster, your personal agent](/agents/personal-agent/) - [Which agent do I use?](/getting-started/which-agent/) - [Jobs](/agents/jobs/) - [Channels](/agents/channels/) On secondstack.ai: [Three kinds of AI agent for every company](https://secondstack.ai/platform/agents/) --- ## Agent owners and budgets Source: https://docs.secondstack.ai/agents/owners-and-budgets/ Checked against: v3.7.2 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. An owner is the user, team or organization that answers for a named agent; it is shown on the agent's page and in Agent fleet. Who pays is the funding setting of a named agent, fixed at creation: Its own budget, up to a Spending limit, or Whoever uses it. ## Who can own an agent A named agent belongs to a user, a team or the organization, and whoever creates it can only give it what they may spend themselves. A person owns an agent from their own budget. A team supervisor can own one for a team they supervise, from that team's budget. Only a platform administrator can own one for the organization. Plain membership of a team or of the organization grants nothing here. The owner always holds **Manage** on the agent, with Train and Invoke inside it, and no manager can remove or lower that grant. An agent owned by a team or the organization starts closed: nobody else can use it until someone grants [access](/agents/named-agents/#grant-access). If ownership later moves to someone else, Who pays stays as it was, and work that started before the move keeps the payer it recorded. The owner shows as **Owner** on the agent's page and in ControlTower's Agent fleet, which lists every named agent with its owner and who pays. ## Who pays: Its own budget With **Its own budget**, every run spends an allocation the owner set, and the agent stops when the allocation is used up. The form describes it as "Paid from your budget, up to a limit you set.", because the allocation sits under the owner's own budget: a person's, a team's or the organization's. The owner sets a **Spending limit** and a **Period**, **Per month** or **Per day**, in the agent's **Budget** section. The section shows this period's spend in the form "$47.20 spent · resets 1 December", and the agent stops working when it reaches the limit, until the period resets. **Change** raises or lowers the limit at once, and what the agent has spent this period still counts. The period itself can change only while the current period has no spend. Aster (Personal Assistant in the app) can change the limit for you when you ask it to and you hold Manage on the agent. The screen below shows the Budget section of an example agent at v3.7.2. ## Who pays: Whoever uses it With **Whoever uses it**, each run spends the budget of the person who started it, and the agent carries the badge **Runs on your budget** on the Agents page. The form describes it as "Each person pays for their own use from their budget." The person who pays is the sender of a direct, Project or channel turn, the manager who opened a Workbench test, and the member who scheduled a Job, on the team chosen when the Job was created. Their budget hierarchy and their model access apply, so the agent's model must be one the person may use. A Slack or Telegram sender without a linked SecondStack account cannot use such an agent, because nobody would pay. The agent's own key holds nothing and only anchors its identity, its connections and its records. ## How a budget is enforced SecondGate checks every level of the budget hierarchy on the same request, and a run goes through only while every level has room. The levels are the organization's budget, each team's budget, each member's allocation inside a team, each user's spend limit across teams, and each key, including the agent's own key under Its own budget. One alert threshold per level, 70% by default, warns before the limit. An administrator or a team supervisor can **Grant temporary spend** to a team member for the current period, and only an administrator can grant it to an Apps & Agents key. [Budgets and spend](/controltower/budgets-and-spend/) describes the hierarchy in full. A budget grants no model access. An agent under Its own budget reaches a model only when ControlTower grants that model to it on the API channel, directly or through **All Agents**, while an agent that runs on whoever uses it reaches the models that person may use. Models and access explains the grants; the [ControlTower overview](/controltower/) shows where they live. ## Delegation and who pays When one agent hands work to another, the target's Who pays decides, and the caller's turn cost includes what its helpers spent. A target under Its own budget spends its own allocation. A target that runs on whoever uses it spends the key of the caller: the person's own budget when Aster or the project agent delegates, and the agent's own allocation when a named agent delegates, so an agent under Its own budget pays for the invoker-funded agents it calls. The target's model must be reachable by that key, or the run ends with "The model was unavailable". ## Where to read spend - On the agent's page, the **Budget** section shows this period's spend against the limit, and the **Activity** tab opens with the **Last 30 days**: **Runs**, **Success rate**, **People**, **Median run time** and **Spend**. - In the Chat App, **Settings → Budget & spend** shows what you spent yourself, with runs of agents that run on your budget included. [Your dashboard](/controltower/user-dashboard/) in ControlTower shows the same by key. - In ControlTower, **Agent fleet** shows each agent's budget as "Paid by" its owner or "Paid by invoker", and Agent Activity records every run with its model calls, tokens, cache hits and cost. The Chat App displays spend and never administers it: budgets, grants and keys live in ControlTower, and SecondGate holds the live spend windows. Finance teams find the wider cost picture on secondstack.ai: [SecondStack for finance](https://secondstack.ai/for/finance/). ## What owners and budgets do not do - Who pays cannot change after creation, not even when ownership moves. To change it, create a new agent. - A budget grants no access. Model access, the accounts an agent may use and who may talk to it are separate grants. - Aster and the project agent have no owner, budget or Who pays of their own. Aster is yours and charges you; the project agent charges whoever asks; [AI agents in SecondStack](/agents/) sets the three side by side. - Owning an agent gives you no access to the systems it connects to. A connection the agent holds is the agent's, and an account you connect for it stays yours to revoke. - A spent budget does not pause an agent. Its runs stop until the period resets; **Pause** is a separate control that a manager uses on purpose. ## Related - [Named agents](/agents/named-agents/) - [Budgets and spend](/controltower/budgets-and-spend/) - [Agent fleet](/controltower/agent-fleet/) - [Which agent do I use?](/getting-started/which-agent/) - [Aster, your personal agent](/agents/personal-agent/) On secondstack.ai: [Three kinds of AI agent for every company](https://secondstack.ai/platform/agents/) --- ## Jobs: scheduled agent runs Source: https://docs.secondstack.ai/agents/jobs/ Checked against: v3.7.2 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. A Job is a scheduled or on-demand run of an agent: one-time, recurring or started by a webhook, with typed parameters and a chosen destination for its results. A Job runs without you at the keyboard, under your authority and on your budget, and it posts its result where you told it to. The Chat App lists every Job under **Jobs** in the rail. The screen below shows the Jobs list with its state filters and one row per Job, as Aster (Personal Assistant in the app) and your named agents fill it. ## Who runs a Job, and who pays The agent you pick in the form runs the Job as that agent would answer a chat, so Aster runs it as you and a named agent runs it as itself. Aster, which the form calls **My Assistant**, uses your connected accounts, your Collections and your Memory, and every run charges your own budget. A named agent uses its own accounts and pays by its **Who pays** setting, which Owners and budgets explains. Before every run the platform checks that you still have access to the agent and the agent still has access to its tools. A Job runs on the server without you, so two things are unavailable to it: browser tools, and anything that would ask you a question. A run that reaches such a tool fails. ## Create a Job You create a Job from the Jobs page, and the form drafts most of it from one sentence. The form below is filled in for a recurring news briefing that Aster posts to a new private thread each weekday. 1. Choose **Jobs** in the rail, then **New job**. 2. Write the work under **Describe what you want done**, for example "Every Monday at 9, summarise last week's project threads", and choose **Continue**. Aster drafts the instructions and the schedule for you to adjust. **Start from scratch** opens the empty form instead, and **Or start from an idea** offers six ready-made Jobs: **News briefing**, **Inbox check**, **Day ahead**, **Industry watch**, **Review queue** and **Reminder**. 3. Under **Agent and destination**, keep **My Assistant** or pick a named agent. The agent you pick decides where results can go. 4. Under **Results go to**, choose a destination from the next section. 5. Set the schedule: **One-time**, **Recurring** or **On demand**, with a **Time zone**. 6. Choose **Create job**. Use **Run now** on the Job's page to see the first result without waiting for the schedule. ## Schedules: one-time, recurring, on demand A Job runs once at a set time, on a repeat you choose, or only when something starts it. - **One-time** runs at one date and time, which you pick in a date picker. - **Recurring** repeats **Daily**, on **Weekdays**, **Weekly**, **Monthly**, on **Chosen days**, **Every few hours** or on a **Custom** rule. Custom takes a five-field cron line, as in "every Monday at 09:00", and times follow the Job's time zone. - **On demand** runs only when you choose **Run now**, when a webhook calls it, or when a message arrives from its event source. You add webhooks on the Job's page after you save it. After a scheduler outage each due Job runs once for the time it missed. A paused Job does not catch up: when you resume it, it continues from the present, and a one-time Job whose moment passed while paused needs a new time before it resumes. ## Where the results go Each run posts its result to one destination, and the agent you picked decides which destinations are open. - **Direct chat** posts into your chat with the agent, and **New private thread** opens a new thread for each run. - **Connected channel** posts to a Slack or Telegram conversation you linked under **Settings → Channels**, as a top-level message. [Slack and Telegram channels](/agents/channels/) explains the link. - **New thread with this Agent** opens a thread with a named agent, and **Job thread in the Project** posts into a Project. Aster posts only to your own chats and channels. To post in a Project, choose a named agent or create the Job inside the Project. Under **Each run**, the default **Continues the conversation** lets the agent see earlier runs and messages in the destination, and **Starts a fresh conversation** gives every run a new conversation and a new [agent workspace](/agents/workspaces/), so files from earlier runs are not kept. The fresh option suits long or heavy Jobs. ## Parameters and webhooks An on-demand Job can take typed parameters, and a recurring or on-demand Job can start from another system over HTTP. Parameters are values each run receives from **Run now** or from a webhook: **Text**, **Number**, **Whole number**, **Yes or no** or **Choice**, up to 20 per Job. The agent gets them as data next to the instructions, so the instructions refer to them by name. Only on-demand Jobs have parameters. A webhook gives the Job its own **Address** and secret. You choose its **Verification**: a **Standard Webhooks signature**, which signs the delivery ID, time and body so a repeated delivery starts only one run, or a **Bearer token**, which authenticates the caller only, so the sender adds an Idempotency-Key header to avoid duplicate runs. A webhook body may be 64 KiB at most, and each address has its own rate limit. The Job answers 202 when it accepts a delivery, 401 for bad credentials, 409 when the Job is paused or the delivery ID was already used, 410 when the Job has ended, 413 for a body too large, 422 for an invalid body and 429 when the limit is reached. Webhook input reaches the agent together with the Job's connections and tools, so share a secret only with senders you trust. One-time Jobs have no webhooks. ## Pre-approved tools A Job can run tools that would otherwise ask you first, because you approve them when you save the Job. Under **Pre-approved tools** the form lists each tool of the agent's connections as "operation on connection", for example sending mail on Google Workspace, with a checkbox. Checked tools run without asking. An unchecked tool that needs approval cannot ask you during an unattended run, so the run fails when it reaches that tool. For Aster the list shows your own connections; for a named agent, the agent's. [Connections and tool approvals](/agents/connections/) explains the approval levels behind this list. ## Jobs in a Project A Project member with Contribute or Manage access can create a Job that the project agent (Project Assistant in the app) runs inside the Project. Each run uses the creator's connected accounts, and what it finds is visible to every Project member; the form says so under **Visible to Project members**. Only the creator edits the Job, runs it now and manages its webhooks and pre-approved tools, and a Project manager can also pause, resume or cancel it. Under **Work items** a Project Job chooses **One run** or **One run per item**: with one run per item, each run finds items such as tickets or emails and handles each in its own thread, up to 25 items per run and 10 by default, and the summary lands where **Run summary goes to** points. Per-item runs need a thread or a Project as the destination, so a channel cannot take them. [Projects, Spaces and Folders](/chat-app/projects/) covers Project access. ## Run, pause, cancel and watch You control a Job from its page, and the list tells you which Jobs need you. - **Run now** runs the saved Job once, even when it is paused or outside its hours; access, budget and overlap limits still apply. - **Pause** and **Resume** stop and restart the schedule. **Duplicate** copies a Job into a new form. - **Cancel job** ends the Job for good: it will not run again, and its existing results remain available. There is no delete. The list filters are **All**, **Needs attention**, **Planned**, **On demand**, **Paused** and **Finished**, and each Job shows **Next run** and its state. Each run shows **Queued**, **Running**, **Run succeeded**, **Failed** or **Skipped**, and a delivery state such as **Delivery confirmed**. A Job pauses itself when a failure needs you, such as an agent that was paused or a channel that is no longer available, and a run that the budget declines leaves the Job active. Under **If a run is still active** you choose **Skip the next run** or **Run in parallel**, and **Maximum concurrent runs** and **Maximum attempts** default to 1 and 3. ## What Jobs do not do - A Job never opens a browser and never asks you a question. Work that needs either runs in a chat. - A Job posts only where you pointed it. No agent posts to a channel on its own, and Aster never posts in a Project. - A Job does not read its own mailbox or channel history. To start on new messages, give it an **Event source** on the Job's page: one Gmail label, Outlook folder or Slack channel per Job. A Slack source takes new messages and thread replies from people in one channel the agent's bot is listed in, including private channels; bot posts and edits do not start it, and earlier messages are not replayed. - A Job cannot be archived at v3.7.2. **Cancel job** ends it, and **Finished** keeps it in the list. - A fresh-conversation Job keeps no files between runs. - A Project Job cannot mention member agents in its run. ## Related - [Aster, your personal agent](/agents/personal-agent/) - [Named agents](/agents/named-agents/) - [Channels](/agents/channels/) - [Connections and tool approvals](/agents/connections/) - [Projects, Spaces and Folders](/chat-app/projects/) - [Your first day](/getting-started/first-steps/) On secondstack.ai: [Three kinds of AI agent for every company](https://secondstack.ai/platform/agents/) --- ## Slack and Telegram channels Source: https://docs.secondstack.ai/agents/channels/ Checked against: v3.7.2 Slack and Telegram channels let SecondStack agents answer where your team talks: which agent supports what, DMs versus channels and groups, and bot setup. A channel is a place outside the Chat App where an agent answers, such as Slack or Telegram: DMs for Aster, channels and groups for a named agent's own bot. Aster (Personal Assistant in the app) answers your direct messages through the bot your administrator connects, and a named agent gets a bot of its own that can also answer in channels and groups. Yandex Telemost joins the list when your site turns it on. The screen below shows the Channels tab of a named agent, with its Slack and Telegram bots connected and the **Answer in every channel and group** switch on. ## Which agent answers where Aster answers direct messages only, a named agent answers direct messages and, if its manager allows it, channels and groups, and the project agent has no channel at all. | | Aster | Named agent | Project agent | |---|---|---|---| | Bot | The platform bot your administrator connects | Its own Slack or Telegram bot | None | | Direct messages | Yes, once you link your account | Yes, for people with access to the agent | No | | Channels and groups | No | Yes, in its authorized channels, or in every channel when **Answer in every channel and group** is on | No | | Who pays | You, from your budget | By the agent's **Who pays** setting | Nobody: it has no runs from a channel | Whoever writes to an agent in a channel needs two things: a linked account on the platform, and access to that agent. Membership of a Slack workspace or a Telegram group grants nothing by itself. ## Talk to Aster in Slack or Telegram You link your Slack or Telegram identity once under **Settings → Channels**, and from then on each direct message with the bot is a conversation with Aster. 1. Open **Settings → Channels** in the Chat App. The page lists the channels your administrator has connected; if none are, it says so. 2. Choose **Sign in with Slack** or **Sign in with Telegram** and confirm your identity at the provider. The channel shows **Connected** with the date it was verified. 3. Write to the bot in a direct message. Each direct message remains a separate conversation, and Aster brings the same files, Collections, Projects, chat history, Skills, connections and Memory it has in the Chat App. Under **Default model** and **Reasoning level** you set what your next messages in channels use; Jobs keep their own model settings. `/stop` and `/reset` work in a direct message, and Telegram adds `/start`, `/topic name` and `/rename name` for topics. You can send files and voice messages: a voice message is transcribed, and a file goes through the same extraction and scans as an upload in the browser, within the provider's size limit of 25 MB for Slack and 20 MB for Telegram. Every run from a direct message charges your own budget. You can **Pause**, **Resume** or **Disconnect** a channel from the same page, and the page shows the delivery state of your Jobs that post there, with **Retry delivery** when one failed. ## Give a named agent its own bot A named agent's manager connects a bot on the agent's **Channels** tab, and the bot answers as that agent wherever it is invited. 1. Open the agent in **Agents** and choose **Channels**. 2. For Slack, choose **Connect Slack bot**. **Create Slack bot** makes and configures a bot for the agent, and you approve its installation in Slack. **Connect an existing bot** takes the **Slack App ID**, **Signing secret** and **Bot token** of a bot you already have, and **Create manually from template** is for a bot you set up yourself. 3. For Telegram, choose **Connect Telegram bot**, create a bot in Telegram with BotFather and paste its **Bot token**. The webhook is configured for you. 4. Turn on **Answer in every channel and group** to let the bot answer in every channel, group and room it is in. Off, the agent answers only in the channels listed under **Authorized channels**, or **Authorized groups** for Telegram, where you can **Remove** one. Each channel the agent answers in while the switch is on is added to that list, and turning the switch off keeps the list. **Availability** in General decides whether the agent answers in direct messages, in channels, or both. In a channel, a mention starts a thread with the bot, and the answer goes into that thread; a later reply in the thread that mentions no agent goes to the agent addressed last. Messages that mention no agent are ignored unless the agent's manager turns on **Read all messages** (see [Replies without a mention](#replies-without-a-mention)); a Job with a Slack event source can also start on every message from people in one authorized channel, without a mention (see [Jobs](/agents/jobs/)). When several agents serve one conversation, the first mentioned agent answers and consults the others privately. In Telegram, the bot answers when a message mentions its username or replies to it, and a plain `@username` mention needs privacy mode off or an administrator role for the bot. A bot asks for approval the same way the Chat App does: a tool that needs a decision shows a card with **Approve**, **Allow for this thread** and **Deny**, and only the person whose message started the turn can answer it. A Job that posts to a person as a named agent needs that person's consent first, which they give under **Scheduled Agent messages** with **Allow scheduled messages**. In Slack, anyone who can use the agent can also ask it, from any conversation, to read recent messages of every authorized channel, so authorize a channel with that in mind. **Setup details** shows the bot's configuration, and **Disconnect bot** removes it. ### Replies without a mention Under **Replies without a mention** on the **Channels** tab, **Read all messages** lets a named agent read every message in the channels and groups it serves and join in when a message needs it. The agent hears its authorized channels, and every channel its bots are in while **Answer in every channel and group** is on. A quick check reads each new message with the last few messages around it and decides whether to start the agent at all, using the **When to reply** text, or the agent's name and **What it does** when that text is empty. Write in **When to reply** when the agent should speak up and when it must stay out. A message the check skips starts no run; it shows only under **Listening decisions** on the agent's **Activity** tab. A message that passes starts an ordinary run with the agent's tools, and the agent then answers in the thread or finishes without posting. A run can therefore act, for example update a record, on a message nobody addressed to it, so give the agent instructions for that case. A mention of another agent always wins, and senders still need a linked account and access to the agent. Each checked message adds a small cost, and a run is paid like any other run of the agent. **Read all messages** is unavailable when the site has no screening model. The bot must also receive the messages that do not mention it. In Slack, the app needs the `message.channels` and `message.groups` events, which **Copy app manifest** under **Setup details** includes; the tab shows a warning until a channel message reaches the bot, so post one in a channel with the bot and reload the page. Only a collaborator on the Slack app can change its events at api.slack.com/apps: for a bot made with **Create Slack bot**, that is the administrator who set up automatic bot creation, and for a bot you created yourself, it is you. In Telegram, turn privacy mode off with `/setprivacy` in BotFather, add the bot to each group again and refresh the bot, or make the bot an administrator of the group. ## Your own Slack account as a connection Your Slack account can also be a connection, so Aster and its Jobs search, read and post in Slack as you. Once your administrator turns it on, **Settings → Connections** lists **Slack** in the catalogue with the line "Search, read and post in Slack as you". It can search messages, files and people, read messages in your channels and conversations, read files, canvases and lists, send and schedule messages, create channels, add reactions and upload files. This connection is for people only: a named agent cannot connect or use a Slack account, and no setting changes that. [Connections and tool approvals](/agents/connections/) explains how each of those tools runs automatically or asks you first. ## For administrators Your administrator connects the platform bots in ControlTower once, and every named agent's bot builds on that installation. - For Slack, the administrator creates one Slack app for the deployment from the manifest ControlTower provides, connects its credentials, enables Event Subscriptions with the URL the form shows and reinstalls the app if Slack asks. Automatic bot creation for named agents needs a workspace configuration token from the administrator, and a named agent's bot must belong to the platform workspace. - For Telegram, the administrator creates the platform bot with BotFather, configures the Login Widget and enters the token. - Yandex Telemost is opt-in per site through the `integrations_optional_enabled` setting, and the Chat App shows only the channels configured on the platform. - The personal Slack connection has its own enable switch, which appears only while the Slack channel is connected. The [ControlTower](/controltower/) section covers the admin console, and [What is SecondStack](/getting-started/what-is-secondstack/) shows where the channels sit on the map. ## What channels do not do - The supported channels at v3.7.2 are Slack, Telegram and Yandex Telemost. Other messengers have no bot. - Aster never answers in a channel or a group, and it ignores group direct messages. Only a named agent's bot does. - The project agent has no bot. A Project Job that posts to a channel uses the Job's destination, and a channel conversation never becomes a Project thread. - No agent writes to a channel on its own. Only a Job you scheduled posts without a message first, and there is no outreach tool. - Bots ignore messages from other bots, forwarded bot content and provider features such as inline queries, Mini Apps and payments. - A named agent's bot cannot yet edit Slack canvases or lists or add reactions at v3.7.2. Your own Slack connection can. - Conversations in a channel stay separate from your Chat App threads. They share the agent and its memory, never the thread. ## Related - [Aster, your personal agent](/agents/personal-agent/) - [Named agents](/agents/named-agents/) - [Jobs](/agents/jobs/) - [Connections and tool approvals](/agents/connections/) - [Your first day](/getting-started/first-steps/) - [Concepts and names](/getting-started/concepts/) On secondstack.ai: [Three kinds of AI agent for every company](https://secondstack.ai/platform/agents/) --- ## Connections and tool approvals Source: https://docs.secondstack.ai/agents/connections/ Checked against: v3.7.2 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. A connection is an account or MCP server an agent may use on your behalf, such as Google Workspace or GitHub, with its credentials sealed in the platform. You add them under **Settings → Connections**, Aster (Personal Assistant in the app) uses yours as you, and a named agent keeps its own. The platform holds the credentials, so an agent calls a tool without ever seeing your token. The screen below shows the Connections page with three rows: a Microsoft 365 account with the apps it provides, a GitHub account and an HTTP API connection, with **Add connection** at the top. ## Whose connection an agent uses Aster uses your connections, a named agent uses its own, and the project agent uses what each member brings. - Aster picks up every connection in your list and acts through it as you. A colleague's agent never sees your accounts. - A named agent has a **Connections** section on its page, and the accounts there belong to the agent, not to its manager. The agent uses them when it answers anyone who may invoke it, and the sender's own access never fills a gap in the agent's grants. Named agents covers the agent's page. - In a Project, **Members' own connections** lets each member's Google, Outlook or Notion account serve that member's turns. Since v3.7.2 a Project cannot hold a connection tied to one person's account, because other members could never use it. Sharing a connection never shares an account: the person who signed in stays the only one whose credentials it uses. The credentials themselves stay sealed in the platform, where an egress proxy signs each request on the agent's behalf. The agent receives no token and no key material, with one exception: an SSH Server connection places the agent's own SSH key inside its [workspace](/agents/workspaces/). ## Add a connection You add an account in three steps, and the catalogue you see depends on what your administrator has enabled. 1. Open **Settings → Connections** and choose **Add connection**. 2. Pick a service from the chooser, or type in **Search services**. You sign in or enter the service's key in the next step. 3. Come back to the list. The account appears as a row with the apps it provides and the status **Connected**, **Reconnect required** or **Disconnected**. The source at v3.7.2 offers Google Workspace (Gmail, Drive and Calendar), Microsoft 365 (Outlook, Calendar, OneDrive, SharePoint and Excel), GitHub, GitLab, Jira, Notion, Trello, Outline, Salesforce, Slack, SSH Server, Fastmail, iCloud and Yandex 360, plus an MCP server, an HTTP API and an Exchange Server set up by your administrator. A site shows only the providers its administrator has turned on, so your chooser may be shorter. GitHub connects personal accounts and several organizations in one flow with access set per repository, or through a personal access token; GitLab connects through OAuth or an access token. For Google Workspace you set each of Gmail, Drive and Calendar to **Off**, **Read only** or **Read and manage**. Notion, Jira, Trello and Salesforce are hosted MCP servers your administrator can set up, and your own Slack account is a connection too, which [Slack and Telegram channels](/agents/channels/) describes. ## Add an MCP server You connect a remote MCP server by its URL, and the platform works out how it signs in. 1. Choose **Add connection**, then **MCP server**. 2. Enter the **Server URL**, and a **Name** if you want one; without it the server's host is used. The URL uses HTTPS on port 443 and carries no query string. 3. The platform checks the server and asks only for what is missing. A server with OAuth shows **Sign in to** its host, or **Sign in with** your organization's provider. A server that needs a key asks for a **Header name** and a **Secret value**, and **Add header** adds another. A public server needs no sign-in, and **Add server** finishes. A server your administrator must register first offers **Copy link for administrator**. Each MCP server appears as one connection, and its tools get their own approval levels, which the next sections explain. ## Add an HTTP API or an SSH server An HTTP API connection lets an agent call a REST API with a key that stays on the server, and an SSH Server connection lets it work on a machine over SSH with a key the platform makes for you. - **HTTP API** takes a **Base URL**, the **Allowed methods** and an **API key**. The agent can call only paths under that URL, and the key never reaches the agent workspace. The app tells you that the agent uses write methods without asking on such a connection, so prefer a read-only key. - **Connect SSH server** takes a **Connection name**, **User**, **Host** and **Port**. **Copy public key** gives you the key to add to `~/.ssh/authorized_keys` on the server, and **Check connection** tests it. Your agents sign in with a key made for you, so you need no SSH key of your own. Private and special-use addresses stay denied. ## Tool approvals: Automatic, Ask first, Off Every tool of a connection has one of three levels: **Automatic** runs it on its own, **Ask first** stops the agent until you answer a card, and **Off** removes it. Tools that read run automatically. On a new MCP server, every tool that writes asks first, and so does any MCP tool its server marks as destructive. The built-in services follow a fixed list: sending mail from Gmail or Outlook, creating, changing or deleting calendar events, every GitHub write including a push, and deletions in OneDrive, SharePoint and Excel ask first, while other writes on those services run automatically. To see or change the levels, open the connection's menu in **Settings → Connections**, choose **Show details**, then **Tools**. A manager of the connection sees an **Enabled** column and an **Ask first** switch per tool, and **Ask first for new write tools** sets the level for tools the server adds later. Everyone else sees an **Approval** column and can only make a tool stricter for themselves: when two settings differ, the strictest wins. Tightening applies at once, and loosening applies from the agent's next turn. When a tool asks, the agent shows a card headed **Approval needed** with the **Account**, the **Arguments** it will send and **Details**. You choose **Approve** for this call, **Allow for this thread** for every call of that tool in the thread, or **Deny**. Only the person who sent the message can answer, and the card shows **Waiting for approval**, then **Approved**, **Allowed for this thread**, **Denied** or **Expired**. A card expires after 24 hours, and the call never runs. The same card appears in the Chat App, in Slack, Telegram and Yandex Telemost, and in the Agents API widget. The model cannot skip the card, and you approve the stored arguments, never text the model wrote. A Git push, an SSH command or a streaming HTTP call cannot be approved one call at a time, so its card offers **Allow for this thread** and **Deny** only. A [Job](/agents/jobs/) has nobody to answer a card, so it runs only the tools its creator pre-approved when saving it. ## Read-only and data scope A **Read-only** switch keeps only the tools that read, and a **Data scope** narrows a connection to part of the service. - **Read-only** is a switch on an MCP connection: "Only tools that read data are available." It trusts the hint each tool carries, so it cannot prove that the server makes no change. Built-in services use their own per-app levels instead, such as **Read only** or **Read and manage** for Gmail. - **Data scope** appears on servers registered with a scope, for example a list of projects; "Leave empty for no limit." A Jira connection has its own **Edit access** dialog with **Projects**, **Permissions** and an **Issue filter (JQL)**. ## Connections your organization shares Your administrator or team can place a connection in your list by default, and you decide whether to keep it there. An organization or team default connection starts in your list, marked **Organization** or **Team**. **Remove from list** moves it to **Available to you**, and you can add it back from there. Your choice outranks the default. A shared connection does not grant access: the administrator shares it with people, teams or groups, and the switch **Enable by default for users with access** only decides whether it starts in their list. ## Mail and calendar on other providers Fastmail, iCloud, Yandex 360, an Exchange Server and custom IMAP or CalDAV servers connect through an optional service that your administrator turns on. The Mail and Calendar service is off by default; its deployment setting is `MAIL_CALENDAR_MCP_DEPLOY`. When it is on and your administrator enables each provider, they appear in the chooser with the line "Mail and calendar with an app password", or with your Windows password for an Exchange Server. Their tools search, read, draft, move and flag mail, and list calendars and change events; sending works only through a draft. Google Workspace and Microsoft 365 use their own connections and do not need this service. ## For administrators Your administrator enables each provider in ControlTower under **Integrations**, and the chooser lists only what is enabled. - Hosted MCP providers such as Notion, Jira, Trello and Salesforce need an OAuth registration at the provider before people can sign in. - Since v3.7.0, Google Workspace connections use Google's REST APIs, and every Google account connected before that reconnects once. - A desktop app can keep Google Workspace, MCP and Jira accounts on the computer in encrypted local storage, which [the Chat App](/chat-app/) section covers. - A read-only monitoring page in ControlTower lists every connection on the site. The [ControlTower](/controltower/) section covers the console. ## What connections do not do - A connection never shares an account. Sharing gives others the connector; the sign-in stays yours, and a token you pasted is your account alone. - An agent never holds your tokens. The exception is the SSH key the platform makes for an SSH Server connection, which lives in the agent's workspace. - A named agent cannot connect or use a Slack account. That connection is for people only. - Disconnecting a connection with a pasted token does not revoke the token at the provider. Revoke it there too. - Read-only cannot prove that an MCP server makes no change. It trusts the hints the server publishes. - GitHub and GitLab tokens give no repository administration and no GraphQL. Microsoft 365 gives no Microsoft Search, and Google Drive management covers only files created or opened with this app. ## Related - [Aster, your personal agent](/agents/personal-agent/) - [Named agents](/agents/named-agents/) - [Jobs](/agents/jobs/) - [Channels](/agents/channels/) - [Workspaces](/agents/workspaces/) - [Your first day](/getting-started/first-steps/) On secondstack.ai: [Three kinds of AI agent for every company](https://secondstack.ai/platform/agents/) --- ## Skills for agents Source: https://docs.secondstack.ai/agents/skills/ Checked against: v3.7.2 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. A Skill is a reusable set of instructions an agent follows for one kind of task; Skills come from the platform, the organization, a share, the user or the agent itself. Each Skill is a folder that an agent loads when a task calls for it, so a procedure your team has written once runs the same way for Aster (Personal Assistant in the app) and for every named agent you give it to. The rail says **Skills**, and the page is titled **Agentic Skills**. ## What a Skill is A Skill is a zipped directory in the open [Agent Skills format](https://agentskills.io/specification), with a `SKILL.md` file at its root and optional scripts, references and assets beside it. The `SKILL.md` front matter names the Skill and describes it, and the Markdown body holds the instructions. On every turn the agent sees a catalogue of the names and descriptions of its Skills, rendered into its instructions, and it loads the body of a Skill when the task matches. You can also ask for one directly: a message that starts with `/` and the Skill's name activates it first. The files of a loaded Skill land in the agent's [workspace](/agents/workspaces/), so a bundled script runs there under the agent's own internet access and proxy policy. Agent Claude runs the same Skills through Claude Code. SecondStack reads `name` and `description` and delivers the body; it does not run Claude Code hooks, provide a plugin root or apply `allowed-tools` pre-approval. ## Where Skills come from A Skill belongs to the platform, to your organization, to a colleague who shared it, to you or to the agent itself, and the agent's page shows which. - **Platform** Skills ship with SecondStack: image generation, model access, the browser, Sites and feedback to administrators are built in, and nobody can copy them. - An **Organization skill** is one your administrator granted to everyone, and a **Shared skill** is one a colleague shared with you, your team or your group. - **Your skill** is one you uploaded or wrote in a chat. - An **Agent's own skill** is one the named agent created for itself, and the agent can always use it. ## Add a Skill to your list You install a Skill from the Skills page, through an agent that reviews it or by uploading the zip yourself. 1. Choose **Skills** in the rail. The page groups your Skills into **Added skills**, **Available skills** and **Hidden**, and **Filter by owner** narrows them to **Owned by me**, **Shared** or **Organization**. 2. Choose **Add Agentic Skill**. **Install with agent** opens an agentic chat where you attach the zip and the agent reviews it for malicious intent before it saves. **Upload manually** takes a **Display name** and a **Skill zip** and saves without that review; by default only platform administrators may upload this way, and your administrator can open it to everyone. The zip has `SKILL.md` at its root, or holds one top-level Skill folder. 3. Back on the page, **Add to list** puts an available Skill into your list, **Remove from list** takes it out, and the toggle **Enable for Agents** decides whether your agents may use it. **Hide** keeps a Skill out of sight. You can also write a Skill in a chat: ask Aster in an agentic thread, and it authors the files for you. A Skill's page shows a **SKILL.md preview** and its **Files**, with **Download**, **Upload new version**, **Edit**, **Share** and **Delete Skill**. A new version replaces the content, and v3.7.2 keeps no earlier revision. **Share** gives a Skill to **Teams**, **Groups**, **Users** or **All Users**, with **Use** or **Manage** for each. The dialog warns that shared Skills can include code that runs in recipients' workspaces, and recipients can read the full content before they enable it. Granting a Skill to the whole organization is reserved to platform administrators. ## Give a named agent Skills A named agent's manager attaches Skills under **Skills** on the agent's page, and the agent can also write its own. 1. Open the agent in **Agents** and choose **Skills**. 2. Choose **Add skills** and pick from your list, or **Manage skills** to install one first. A shared Skill follows its owner's edits. 3. Choose **Copy to Agent** to give the agent its own copy, which is marked **Always available** and no longer follows the owner's changes. Train access on the agent lets you read, upload, replace and copy Skills; Manage access lets you delete them. Named agents explains the two levels. Since v3.7.0 a named agent creates, updates and deletes its own Skills when asked, and anyone who may invoke the agent can ask it to. Aster does the same for any agent you train, and it can set an agent's **Instructions** from a file. An agent's own Skills are always available to it. ## What Skills do not do - A Skill grants nothing: the tools, credentials, connections and workspace authority an agent uses all come from its manager. - Installing a Skill installs no packages and delivers no model credentials. A script in a Skill runs with the agent's internet access, through its proxy policy. - The review on import is the agent's own report, not a server scan, and a manual upload gets no review at all. Read a shared Skill before you enable it. - A Job run can only read Skills. Projects, shared chats, delegated turns and helpers cannot create or change them. - Your personal Skill choices do not apply inside a Project. - A zip may be 100 MiB at most, 200 MiB unzipped, with up to 1,000 entries, and a description runs to 3,000 characters. - SecondStack does not run Claude Code lifecycle hooks or `allowed-tools` from a `SKILL.md`. ## Related - [Named agents](/agents/named-agents/) - [Aster, your personal agent](/agents/personal-agent/) - [Workspaces](/agents/workspaces/) - [Connections and tool approvals](/agents/connections/) - [Agent Claude](/developers/agent-claude/) - [Concepts and names](/getting-started/concepts/) On secondstack.ai: [Three kinds of AI agent for every company](https://secondstack.ai/platform/agents/) --- ## Agent workspaces and sandboxes Source: https://docs.secondstack.ai/agents/workspaces/ Checked against: v3.7.2 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. An agent workspace is the isolated sandbox where an agent runs its tools and keeps its files for the conversation, with a browser you can watch and take control of. Every conversation with Aster (Personal Assistant in the app) or with a named agent gets its own workspace the first time the agent needs one, and your model keys, tokens and other conversations never enter it. On the product map this is the Workspaces node between Agents and SecondGuard. The screen below shows the live browser card in a chat, with the agent on a web page and the **Take control (pauses the Agent)** button that hands the browser to you. ## One workspace per conversation Each conversation gets one workspace of its own, and the agent starts it only when a task needs it. A workspace belongs to one agent in one thread: a Project thread gives each agent its own, a forked conversation starts a fresh one, and the helpers an agent spawns share their parent's. Reading a file, a Collection or your Memory never starts one; the first shell command, file write or web page does, and the chat shows **Waiting for a free workspace** when every workspace is busy, for up to five minutes, before it gives up. Inside the workspace the agent has a shell, a file system, Python with common data and document tools, and a headless Chromium browser. Outside it, and never inside, run the reads of your Chat files, Collections, Memory and Project, and every [connection](/agents/connections/) and MCP tool: a connection's credentials are signed in by the platform, so the workspace holds no token and no model key. The workspace has no direct network. Its traffic goes through an egress proxy over HTTPS on port 443 only, so plain HTTP, WebSockets and other ports fail. Under the hood each workspace is a SecondBox microVM on Firecracker, or on gVisor on an amd64 host without KVM; [Self-hosting](/self-hosting/) covers the host side. The workspace's compute stops after 60 seconds idle and starts again on the next command, which keeps `/workspace` and drops everything else: a package installed outside `/workspace`, a file in `/tmp` and any running process, including the browser. ## Files in the workspace You can browse, upload and download the agent's files from the composer, and they stay with the conversation. 1. Choose the **Agent workspace** button in the composer. Before the agent has used a workspace, the button offers to open one so you can add files. 2. **Upload files** adds yours, **New folder** organizes them, and **Download** or **Download selected items** fetches what the agent made. **Delete** frees space when the workspace is full. 3. Write your next message. On its next turn the agent finds the files you added. A file you attach to a message is copied into the workspace on request, with the step **Copy file to workspace**, and a named agent gets every attachment as is. A file the agent makes reaches the chat only when the agent sends it, and a named agent can also publish one to a [Collection](/chat-app/collections/). One file may be 100 MiB at most, in either direction, and the agent sends up to 10 files and 100 MiB per turn. Files last as long as the conversation: idling, archiving and the compute stop never delete them, and deleting the chat deletes its workspace files too. `/clear` starts the context fresh and keeps the files and processes. In a [Job](/agents/jobs/) set to start a fresh conversation, every run gets a new workspace, so files from earlier runs are not kept. In a Project thread you can browse the workspace, and the agent adds files on its own turns. ## The live browser and Take control The agent browses in its workspace, you watch the page in a card in the chat, and you can take the browser over to sign in or pass a check. The card streams screenshots of the agent's browser at 1280 by 800 pixels; it is not video. The agent can ask you to take over, which you accept or **Decline**, and you can take over yourself with **Take control (pauses the Agent)**. The app then shows a notice before you start: the agent pauses while you are in control and continues when you give the browser back, and anything you enter, including logins and passwords, stays in the agent's workspace browser, where the agent can read it. In control you click the page to type into it, with **Back**, **Forward**, **Reload**, an **Address** bar for HTTPS pages and **New tab**, up to 8 tabs. **Give back and resume** returns the browser, and the agent continues in the tab you left active. A session you hold ends after 10 minutes without input, and a login you made stays in that workspace's browser for the rest of the conversation. Everyone with the right to post in the thread can watch and take control. In a shared thread, a participant without that right sees a static picture. A named agent whose **Internet access** is off has no browser at all. ## For administrators and agent owners A site turns capabilities off per chat profile, a named agent's manager turns them off per agent, and the operator sets the workspace size. - On a named agent's page, **Settings → Tools** lists **Agent capabilities** with the line "Turn off what this Agent does not need." The switches are **Shell and files**, **Send files**, **Ask questions**, **HTML widgets**, **Task plan**, **Charts**, **Delegation**, **Helpers**, **Boards**, **Chat actions** and **Sites**, with separate toggles for **Web search**, **Code execution** and **Image generation**, and the **Internet access** switch, on by default. There is no browser switch: the browser follows Shell and files and Internet access. - A site switches capabilities off per chat profile with `metadata.agentPlatform.tools` in its `chat-profiles.yaml`. Named agents covers the per-agent switch in its context. - The operator sizes new workspaces with the `SECONDBOX_AGENT_WORKSPACE_VCPU_COUNT`, `_MEMORY_MIB` and `_DISK_MIB` settings; left blank they give 1 vCPU, 1024 MiB and 2048 MiB, up to 4 vCPU, 8 GiB and 50 GiB per workspace on Firecracker. An existing workspace keeps its size. The wait for free capacity is `AGENT_PLATFORM_WORKSPACE_CAPACITY_WAIT_MS`, 300000 by default. ## What agent workspaces do not do - A workspace never holds your model keys or connection tokens. The one exception is the SSH key the platform makes for an SSH Server connection. - A workspace never carries over between conversations. What persists across them is your Memory, your Collections and your files in the Chat App, never the sandbox. - A workspace has no direct internet. Everything goes through the egress proxy on port 443, so plain HTTP and WebSockets fail. - A workspace cannot be resized once it exists, and an arm64 host has no gVisor fallback. - The browser view is a stream of screenshots, and the browser restarts with the workspace after an idle stop. - The file browser, the live browser view and site publication do not wait for free capacity. Only the agent's own tool call waits. ## Related - [Aster, your personal agent](/agents/personal-agent/) - [Named agents](/agents/named-agents/) - [Connections and tool approvals](/agents/connections/) - [Skills](/agents/skills/) - [Sites and Slides](/agents/sites-and-slides/) - [Self-hosting](/self-hosting/) On secondstack.ai: [Three kinds of AI agent for every company](https://secondstack.ai/platform/agents/) --- ## Sites and Slides Source: https://docs.secondstack.ai/agents/sites-and-slides/ Checked against: v3.9.2 Sites and Slides are what SecondStack agents publish from their workspace when your administrator turns Sites on: Private, Platform or Public, then export. Sites and Slides are what SecondStack agents publish from their workspace when your administrator turns Sites on: Private, Platform or Public, then export. You ask Aster (Personal Assistant in the app) or a named agent for a website or a deck, the agent builds it in its [workspace](/agents/workspaces/) and publishes it, and you decide who may open the link. Both live under **Sites** in the rail, and Slides also gets a rail section of its own. ## When Sites and Slides appear Sites appear in the rail when your administrator turns them on, and Slides appears with them, because the Slides viewer ships on by default. Sites are off in a default install: the deployment setting is `SITES_INSTALLATION`, which is `disabled` until the operator sets it to `local` or `external`. Slides needs nothing more. A deck is a typed site, and every install with Sites on includes the Slides viewer (Slides 1.7.0 in v3.9.2), so the **Slides** section shows as soon as Sites does. An administrator may still install another Slides package under **Sites** in ControlTower, from a public GitHub folder or as a zip, and it takes precedence over the bundled one. The Kubernetes distribution does not include Sites yet. ## Sites: a website your agent publishes A Site is a static website that an agent publishes from its workspace, with a stable link that stays the same when the agent updates it. 1. Ask the agent for a website in a chat, or choose **New** on the Sites page and pick **Website**. The choice opens an ordinary chat; nothing is published until the agent publishes. 2. The agent builds the site in its workspace and runs **Publish site**. The thread shows a **New site** card, and later updates show **Site updated**. 3. Open **Sites** in the rail. **My sites** lists yours and **Shared with me** what others shared, with the filters **All**, **Websites** and **Slides**. Each site has **Share**, **Copy link** and **Open in new tab**. Each site gets its own subdomain under the sites domain your administrator chose. A new site is **Private**, and under **Who can view** you pick one of four levels: **Private**, "Only you"; **Platform**, "Anyone signed in to this platform"; **Public**, "Anyone on the internet with the link"; or **Specific people and teams**, which shows as **Shared**. Only a person can make a site public: an agent can set Private or Platform, and the dialog **Make this site public?** warns that later updates from your assistant are public at once before you choose **Make public**. A deploy replaces the whole site; there are no versions and no rollback. **Delete site** removes it from the list, and its name stays reserved for you. ## Slides: a deck from a plan Slides turns a description into a deck in three steps: you describe it, you confirm the plan, and the agent writes the slides while you watch. 1. Choose **Slides** in the rail, or **New slides**. Under **What are the slides about?** describe the deck and its audience, pick a **Theme**, add files with **Add sources** and choose **Create**. You can also **Use this example** from the starters, or ask Aster in any chat. 2. Review the **Plan**. Each block becomes a section of the slides; you keep, turn off, rename, resize, reorder, add and remove blocks, choose **Brief**, **Standard** or **Detailed**, then **Write slides**. 3. Watch the deck fill in, with **Writing slides** counting the slides done. The deck opens when it is published. The deck page has **Present** and **Presenter view**, **Share** and an **Export** menu with **PDF**, **PowerPoint (.pptx)** and **Google Slides**. A chat panel sits beside the deck, with **Hide chat**, **Show chat** and **Open in Chats**; it is the real thread of the deck, so you ask for changes there. You can also edit by hand: double-click text to edit it, and changes save automatically, with **Improve writing**, **Proofread**, **Shorten** and **Ask in chat** on the selection. The theme of an existing deck changes only through the chat. When your site connects the Jev model from TypeSafe, the Chat App also offers template and theme options as you type a deck request. The create form is desktop only; a phone browses decks. The Google Slides export needs connected accounts on the site and a Google Workspace connection with Drive set to **Read and manage**; it makes a copy of up to 15 MiB, and edits in Google Slides do not come back. Builds and animations are not exported, and fonts are referenced rather than embedded. The PowerPoint export, the presenter connection and hand edits each need a minimum Slides viewer version: the bundled viewer meets all of them, and an administrator who installs another package sees its version there. ## Who can see a deck A deck uses the same visibility as a Site, and sharing lets people view it, never edit it. **Share** on a deck opens the Sites access dialog, where you choose the same **Who can view** levels and the people, teams and groups. People you share it with can view the deck, and a shared deck grants no editing. A public deck exposes its speaker notes too: anyone with the link can open the slides and their speaker notes in the presenter view, and the dialog says so before you save. ## For administrators The operator turns Sites on and chooses the sites domain, the Slides viewer comes bundled, and the site policy decides who may publish publicly. - `SITES_INSTALLATION` takes `disabled`, `local` or `external`. The sites domain must be a separate registrable domain from the platform's, because every site gets a subdomain under it. - Site types install in ControlTower under **Sites**, from a public GitHub folder or a zip. The bundled Slides yields to one other Slides-family type, and two others at once are a configuration error, which the app shows. - Public publishing is off by default on new installations. An administrator opens it in ControlTower to everyone or to chosen groups, and tightening it later keeps existing public sites public. - An agent's publish is limited to 25 MiB per upload, and to 1,999 files and 99 MiB per site. Names are global on the installation. - The [ControlTower](/controltower/) section covers the console, and [Self-hosting](/self-hosting/) the deployment settings. ## What Sites and Slides do not do - Sites and Slides do not exist until your administrator turns Sites on. A default install keeps Sites off and shows neither section; once Sites is on, Slides needs no separate install. - A Site is static. An anonymous visitor gets files only, and a site runs no server code. - An agent never makes a site public. Only a person does, and only when the site's policy allows it. - A Site keeps no versions. Each publish replaces the last, and there is no rollback. - A shared deck cannot be edited by the people it is shared with. - A public deck does not hide its speaker notes. - Sites of a person who left stay until someone deletes them. ## Related - [Workspaces](/agents/workspaces/) - [Aster, your personal agent](/agents/personal-agent/) - [Named agents](/agents/named-agents/) - [Collections](/chat-app/collections/) - [ControlTower](/controltower/) - [Self-hosting](/self-hosting/) On secondstack.ai: [Three kinds of AI agent for every company](https://secondstack.ai/platform/agents/) # Chat App --- ## The Chat App Source: https://docs.secondstack.ai/chat-app/ Checked against: v3.7.2 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. The Chat App is the web and desktop application where people talk to SecondStack agents, open Projects and manage Jobs, Skills and settings. You open it in a browser or in [the desktop app](/chat-app/desktop-app/). Every new chat starts with Aster (Personal Assistant in the app) on a model you pick, and every request leaves through SecondGate on your own deployment. The picker below shows the model groups a new chat offers at v3.7.2. ## What the navigation rail holds The rail on the left lists Chats, Projects, Jobs, Library, Agents, Skills and Settings, and your site can add Boards and Sites. Each entry opens one part of your work: - **Chats** lists your saved threads, newest first, with a search field above them. - **Projects** lists the shared Projects you belong to, grouped in Spaces, and the private Folders you keep. [Projects, Spaces and Folders](/chat-app/projects/) explains how they fit together. - **Jobs** lists the scheduled work you gave an agent and opens **New job**. - **Library** holds your Memories, your Files and your Collections. - **Agents** lists the named agents you may use, manage or hire. - **Skills** lists the Skills you and your agents can follow. - **Settings** opens the sections described below. - **Boards** and **Sites** appear only when your administrator has enabled them, and Slides appears as a row inside Sites. On a phone the Chat App replaces the rail with a bottom navigation and lists the other sections under Settings. ## How you pick a model Every new chat starts on **Auto**, and you can pick any entry of the picker instead. The picker groups its entries: **AGENTIC ASSISTANT (NEW)** holds Auto and the agentic models vendor by vendor, **AGENT CLAUDE** the coding sandbox, **IMAGE GENERATION** the image models, and **NAMED AGENTS** the agents your teams published for you. Each entry shows a plain name with a cost badge beside it: a smiley marks an entry that runs on a subscription your company already pays for and leaves your budget untouched, and dollar signs from `$` to `$$$$$` mark an entry billed per request against your budget. Auto reads your first message, the types of the files you attached and your interface language, and chooses a model for the whole thread; it never reads file contents. The thread then shows a badge, **Auto → model**, and you can switch models as on any other thread. Auto decides for new conversations only, so an existing thread cannot move onto it. When you turn on **Auto: subscription models only** under **Settings → General**, Auto chooses among subscription entries only, hard questions included. Under **Model Visibility** you hide picker entries you never use. [Your first day with SecondStack](/getting-started/first-steps/) walks through the picker step by step, and [Which agent do I use?](/getting-started/which-agent/) says when a named agent or Agent Claude is the better entry. ## What the composer does The composer sends text, files, voice and references to one agent or model, and its buttons change with the entry you picked: 1. Choose **Attach files** to add documents and images, or drop them onto the composer. The default configuration accepts up to 20 files of up to 100 MB each, and your administrator can change both. 2. Type `#` to reference one of your Collections, so the model answers from its files. 3. Type `/` to open the **Commands** menu: your Custom Prompts, your Skills and a model switch. 4. Type `@` in a Project thread to address the project agent, a named agent or a member. 5. Choose **Start recording** to dictate. Under **Settings → General**, **Push to talk** lets you hold Ctrl+Shift+Space (⇧⌘Space on a Mac) to record and release to send. The microphone appears only when your administrator has set a transcription model. 6. Open **Tools** to see the tools and Skills the agent may use, and **Web Search** to let it search the web and fetch pages. 7. Open **Model settings** for the options the picked model supports, such as reasoning, code execution and, for image models, aspect ratio, resolution, quality and batch count. A file the Chat App cannot extract text from still goes to an agentic model, which hands it to its agent workspace as it is. ## How threads work A thread keeps one conversation, and the Chat App gives you several ways to find it again and to branch from it: - **Search** covers your threads and their messages. The command palette (⌘K) also jumps to a page or runs a command. - **Fork** and **Fork from this message** copy a thread into a new one, so you can take a conversation in two directions. **Summarize this conversation and continue in a new thread** does the same with a summary. - Editing or regenerating a message keeps both versions in the thread, shown as **Version 1 of 2**. - **Pin**, **Rename**, **Mark unread** and **Move to project** sort your list. **Export PDF** saves a copy. - **Archive** takes a thread out of search and cross-thread tools until you restore it from **Settings → Archived threads**. - **Share** creates a link that lets a signed-in colleague read the conversation. The reader cannot write in it, and the link stays live until you choose **Delete share link**. A chat with Aster cannot be shared; the app asks you to switch it to another model first. ## Temporary chat A temporary chat is a chat SecondStack does not keep: it stays out of your history, search and Library, and it disappears when you leave the page or reload it. Video: [When to Use a Temporary AI Chat | SecondStack](https://docs.secondstack.ai/videos/temporary-chat/) (0:47) 1. Open a new chat and choose the ghost icon, **Temporary chat**, in the header. On a phone it is a floating pill. 2. Pick a model. The page says **You're in a temporary chat**. 3. Send messages, upload files and generate images as usual. 4. Leave the chat to end it. Files, generated images and the agent's working data are deleted after the chat ends. Three things still apply inside a temporary chat. Your usage still counts toward your budget. An action you ask an agent to save or send, such as a message it posts for you, keeps its effect. Billing records keep the usage, the spend and their correlation ids, and nothing else of the conversation. Aster learns nothing from a temporary chat, and your administrator can switch temporary chats off for the site. ## What the settings hold **Settings** at the foot of the rail groups what you control yourself, in these sections: - **General** holds **Appearance**, **Language**, **Chat Behavior** (your default model, **Auto: subscription models only**, **Send message with Enter**, **Push to talk**), **Memories**, **Notifications**, **Personalization** for your own system prompt, **Content Extraction** for how PDF, Word, PowerPoint and Excel files are read, and **Data Management**. - **Model Settings** sets the options of each model you use. - **Custom Prompts** holds your slash commands. [Custom Prompts](/chat-app/custom-prompts/) shows how to write one. - **Desktop App** offers the downloads and lists your paired computers. - **Archived threads** restores a thread you archived. - **Channels** connects your Slack or Telegram account, once your administrator has set the bots up. - **Connections** lists the accounts and MCP servers your agents may use, with **Add connection**. - **Usage and API Access**, **Budget & spend** and **Storage** show what you spent, your keys and what you store. - **What's New** and **Documentation** open the release notes and this site. ## Where the Chat App runs The Chat App runs in a browser, as an installed web app and in the desktop app, and it ships in English, German, Spanish, French, Polish and Russian. The browser offers **Install this app** so the Chat App opens in its own window. The desktop app adds Agent Claude on your computer, accounts that stay on your computer and control of your applications; [The desktop app](/chat-app/desktop-app/) covers all three. ## What the Chat App does not do - The Chat App does not host models. Every entry in the picker runs on a provider account or a local model your company connected, through SecondGate. - A browser tab does not read chats offline at v3.7.2. The Chat App needs a connection to your server to show a thread. - A temporary chat does not reach Agent Claude, cannot belong to a Project and cannot receive a Job's results. - A share link does not let the reader write, and a chat with Aster has no share link. - The Chat App does not show Boards, Sites or Slides on a site that keeps them off, and shows no microphone until a transcription model is set. ## Related - [Your first day](/getting-started/first-steps/) - [Which agent do I use?](/getting-started/which-agent/) - [Agents](/agents/) - [Your dashboard](/controltower/user-dashboard/) - [The desktop app](/chat-app/desktop-app/) ## In this section - [Projects, Spaces and Folders](/chat-app/projects/): 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](/chat-app/collections/): Collections are your AI knowledge base in SecondStack: any file type, version history, sharing and per-agent read or write. - [Custom Prompts](/chat-app/custom-prompts/): 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](/chat-app/image-generation/): 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](/chat-app/desktop-app/): 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. --- ## Projects, Spaces and Folders Source: https://docs.secondstack.ai/chat-app/projects/ Checked against: v3.7.2 Projects are shared workspaces in SecondStack with threads, a Library and a project agent; Spaces group them with inherited access, Folders keep yours tidy. A Project is a team's shared workspace in the Chat App: threads, a Library of memory, files and Collections, member agents, and Read, Contribute or Manage access for each member. Spaces group shared Projects with inherited access; Folders and Pinned order your own. The project agent (Project Assistant in the app) answers from the Project's own files. Video: [How to use Projects in SecondStack AI](https://docs.secondstack.ai/videos/projects/) (7:23) ## How you create a Project A Project starts from **New project** in the Projects panel, with a name, a location and the people who may use it: 1. Choose **Projects** in the rail, then **New project**. The dialog **Create project** opens. 2. Give it a **Name** and pick its icon and colour; the colour tints the composer and your messages in the Project's threads. 3. Choose a **Project location**: one of your private Folders, a Space you manage, or your personal root. 4. Write **Project instructions and description**. The app adds this text to every chat in the Project, after the model and personality prompts, so the project agent knows what the Project is for. 5. Set **Access** and choose **Create project**. You hold Manage on a Project you create. Everything else lives in Project Settings and can wait. ## Who can do what in a Project A Project has three access levels, and each grant goes to a person, a team or a group: - **Can view** reads the Project's content and cannot change it or run tools. - **Contribute** reads the Project's threads, sends messages, and uses the Project's Collections and memories. A contributor opens and resumes every live thread in the Project. - **Manage** changes the Project's settings, access, Collections, memories and deletion. A platform administrator can also grant **All Users**, which gives everyone on the site Contribute. A manager grants named agents too, under **Agents**: a granted agent can respond when mentioned in the Project's chats. Nobody lowers their own direct grant; another manager does that. ## What a Project page holds A Project opens on its threads, and four dialogs hold the rest on a computer: **Library**, **Jobs**, **Archived threads** and **Project Settings**. - **Library** has three tabs. **Memory** lists what the project agent remembers for everyone in the Project. **Files** lists the Project's own files, with **Manage project files**. **Collections** lists the linked Collections, with **Link collection**. - **Jobs** lists the Jobs the project agent runs in this Project. - **Archived threads** holds threads a manager archived; they stay out of search and cross-thread tools until restored. - **Project Settings** has the tabs **Details**, **Notifications**, **Access** and **Danger zone**. On a phone the same parts appear as sections: **Project Threads**, **Archived threads**, **Project collections**, **Project Memories**, **Project Files**, **Project Jobs** and **Project Settings**. ## How the project agent answers The project agent answers every turn in a Project thread that mentions no agent, or that mentions `@assistant` first, and it works only with what the Project holds. It has no accounts of its own and runs with the authority of whoever asks, so the person who asks pays. In a turn it can list the Project's threads, search them, summarize one thread and search the Project's files and linked Collections; each step shows in the answer, such as **Search project chats**, **Summarize chat** or **Search document**, with the query it ran. When you mention a named agent first, that agent answers instead; [AI agents in SecondStack](/agents/) sets the three kinds side by side. The project agent's memory has its own switches, for managers only, in Library → Memory: **Use memories** lets it recall Project memories in Project threads, **Learn from Project conversations** lets it add to them, and **Ask before learning changes memories** adds a review. Contributors can add memories and edit their own; managers edit every memory and decide on pending changes. ## Where a Project's files live A Project draws on two kinds of files, and neither fills the context in advance: - **Project Files** are uploaded straight into the Project under Library → Files with **Add files**. A contributor adds files, a manager removes them. They stay private to the Project: no Collection lists them and no other Project reaches them. While the Project holds files, the composer shows a **Project Files** chip. - **Linked collections** are shared [Collections](/chat-app/collections/) a manager links under Library → Collections, so every thread in the Project can use them. A Collection stays owned where it was; the link only lets members use it inside this Project's chats. The project agent lists these files to the model in every Project chat and reads or searches them on request. ## What Project Settings control Project Settings hold what the whole Project shares, and a manager edits them while everyone else reads them: - **Name**, **Project instructions and description** and **Project appearance**, with **Customize** for the icon and colour. - **Model for new threads**, a shared starting model for new chats in the Project. Unset, each member's own default model applies. - **MCP Connectors** and **Agentic Skills**, the connectors and Skills available in the Project's chats. Personal connectors and personal Skills do not apply here. **Members' own connections** lets each member's chats use that member's own connection of the chosen providers, after the manager confirms that results from those connections are shared with the Project. - **Notifications in this project**, which are your own push preferences and change nothing for other members. - **Access**, applied with the explicit **Apply access** button because it can widen who sees the Project. Every other field saves on its own. - **Delete project** under Danger zone deletes the Project and every thread in it. You type the Project's name to confirm. ## What Jobs do in a Project A contributor can schedule a Job that the project agent runs inside the Project, with the contributor's own connected accounts and the Project's files and Skills: 1. Open the Project's **Jobs** dialog and create the Job. The agent is the **Project Assistant of** that Project, and the results go to a **Job thread in the Project**. 2. Under **Work items**, choose **One run** for the whole Job or **One run per item**. With one run per item, each run finds items, such as tickets or emails, and runs each in its own thread, up to the **Maximum items per run** you set. 3. Read the notice before you save: the runs use your connected accounts, and what they find is visible to every Project member. Every member reads the Project's Jobs. Only the creator edits a Job or runs it now, and a manager can also pause, resume or cancel it. Schedules, parameters and destinations work as in any other Job. ## How Spaces organize shared Projects A Space is a tree node that groups shared Projects at any depth in the Chat App, with Read, Contribute and Manage access that child Spaces and Projects inherit. A platform administrator creates the root Spaces; anyone with Manage on a Space creates its child Spaces with **New space**, giving each a **Space name**, a **Description** and its access under **Manage access**. - A grant on a Space reaches its child Spaces and the Projects in them. **Can view** views the Space, its child Spaces and their Projects' content; **Contribute** sends messages and adds files in those Projects; **Manage** manages the Space, its child Spaces, its Projects and their access. A Project's effective access is the strongest of its direct grant and its Spaces' grants, and a direct grant on a Project stays separate. - The Space page offers a summary of the week on request: **Generate summary** writes **This week in** followed by the Space's name, from its threads since Monday, with links to the sources, and **Refresh summary** updates it. Aster (Personal Assistant in the app) can read the same summary when you ask. - Sharing a Project keeps it where it is. Moving one with **Move project** shows, before you confirm, how many people gain access and how many lose it, and linked resources stay attached. Moving a Space to the root needs a platform administrator. - A Space with no Projects and no child Spaces can be deleted from its row menu by a manager or an administrator. A Space that still holds something asks you to move or remove it first. ## How Folders and Pinned keep your Projects in order Folders are only for you and give nobody access, and Pinned is a personal shortlist that changes nothing in the tree: 1. Choose the plus beside **Private** in the Projects panel to add a root Folder, or **Add subfolder** in a Folder's menu. Name it in **New folder**. 2. Move a Project into a Folder with **Move project** in its menu, or drag it onto the Folder. A shared Project inside your Folder keeps its Space grants; the Folder adds none. 3. Choose **Pin project** to keep a Project under **Pinned** at the top of the panel, in an order of your own, and **Unpin project** to take it out. Aster moves, shares and pins Projects and manages your Folders when you ask. The project agent does none of this. ## What is yours and what is shared Pinning a Project, hiding it with **Hide** and your notification settings change only your own view of the Projects panel. Inside a Project, **Keep on top** on a thread orders the threads for everyone, and archiving a thread needs Manage, so both are shared. ## What a Project does not do - A Project does not pre-load its files into every message. The project agent lists them and reads or searches them on request, so a long document costs context only when it is read. - A Folder grants nobody access. A Project you drop into a Folder keeps exactly the access it had. - The project agent has no accounts of its own. It uses the Project's connectors and, where a manager allowed it, each member's own connection; it never uses one member's connection for another member. - A Space's weekly summary is written only when someone asks for it on the Space page. Nobody receives it by mail or push. - A Project cannot hold a temporary chat. ## Related - [Chat App](/chat-app/) - [Collections](/chat-app/collections/) - [The project agent](/agents/project-agent/) - [Jobs](/agents/jobs/) - [Your first day](/getting-started/first-steps/) - [Concepts and names](/getting-started/concepts/) --- ## Collections: your AI knowledge base Source: https://docs.secondstack.ai/chat-app/collections/ Checked against: v3.7.2 Collections (formerly Knowledge Collections) are your AI knowledge base in SecondStack: any file type, version history, sharing and per-agent read or write. A Collection (formerly Knowledge Collections) is a shared set of files of any type that agents and chats can read, with version history and per-agent access. You build one under **Library → Collections**, then reference it by typing `#` or link it into a Project. Aster (Personal Assistant in the app) searches them on its own when a question needs them. Video: [AI knowledge base from your own files, reused in any chat](https://docs.secondstack.ai/videos/knowledge-collections/) (3:01) The mockup below shows one Collection's file table: each file with its comment, its model access and the tokens of its extracted text. ## How you create a Collection A Collection starts with a name, takes files of any type, and makes the readable ones searchable: 1. Choose **Library** in the rail, then **Collections** and **Create Collection**. 2. Give it a **Name** and, if you like, a **Comment** and an **Icon**. The icon shows in the Library and on the composer chip. 3. Choose **Add files** or drop files onto the page. Documents, spreadsheets, email, text and audio become readable and searchable; other files, such as images, are kept as originals. 4. Watch the **Model access** column. A file reads **Indexing…** while its text is extracted and embedded, then **Searchable**. A file without readable text reads **Download only**. The **Tokens** column estimates the extracted text of each file. Collection files are read on request and never fill the context up front, so a large file costs context only when a model reads it. ## How a chat uses a Collection A chat uses a Collection by reference: the model searches it for the passages that fit the question and reads a file only when it needs the whole text. 1. Type `#` in the composer, or open the attach menu and choose **Collections**, and pick the Collection. 2. Ask your question. The answer cites the files it drew on, and each search shows as a step you can expand. 3. In a chat with Aster, leave the Collection choice on **Auto** and Aster picks from your available Collections; **Selected** limits it to the ones you ticked, and **No** keeps Collections out of the chat. A per-file **Comment** is visible to the model whenever the Collection is referenced, so a short note such as what a file is for steers the search. Where no comment exists, the Chat App generates a short description from the file's content after extraction, and **Generate** writes one on request. ## How a file keeps its versions Every file in a Collection keeps its own version history, and a document keeps the format it was uploaded in: - **Upload new version** replaces the current file and keeps the old one; a new version must keep the document's format. - **Name this version** labels a version, for example as approved by legal, and **Filter versions** shows **All versions**, **Named versions**, **Published by agents** or **Uploaded by people**. - **Restore as current** brings an older version back, and **Download this version** saves one. - **Delete history** needs Manage and removes the older versions for good. A version published by a named agent carries that agent as its source, so a change an agent made is as visible as one a person made. ## Who can use a Collection A Collection has four roles, and its owner shares it with people, teams or groups: - **Read** uses the Collection in chats. - **Contribute** adds files and uploads new versions. - **Manage** changes sharing and deletes the Collection. - The **Owner** holds everything. A platform administrator can share a Collection with **All Users**, which gives everyone on the site Read. A team grant does not require the owner to be a member of that team. A Project manager links a Collection into a Project when they hold Manage on it, and the members then use it inside that Project's chats without a grant of their own. ## What a named agent may do with it A named agent gets a Collection at one of three levels: **Off**, **Read** or **Read and write**. With Read and write, anyone who can talk to the agent can ask it to add or revise documents, and every change stays in version history. The agent's access and the asking person's access both apply, and the lower one wins. The owner sets this in the agent's Settings, under Collections. ## What a Collection does not do - A Collection never inlines its files into a turn. The model searches and reads on request, so an answer draws on the passages it found and not on the whole Collection. - A Collection does not sync with an outside source on its own. A new version arrives when a person or an agent uploads it. - A file without readable text is kept as an original only. The model can hand it on, but cannot search inside it. - A Collection a named agent owns for itself cannot be shared or linked into a Project. - A revoked grant leaves a saved reference inert: the chat tells you the source is no longer used. ## Related - [Chat App](/chat-app/) - [Projects, Spaces and Folders](/chat-app/projects/) - [Named agents](/agents/named-agents/) - [Your first day](/getting-started/first-steps/) - [Concepts and names](/getting-started/concepts/) --- ## Custom Prompts Source: https://docs.secondstack.ai/chat-app/custom-prompts/ Checked against: v3.7.2 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. Custom Prompts are slash commands you write once in SecondStack and reuse in any chat, with fillable `{{variables}}` for the parts that change. Once you save one under a name, `/name` inserts it with the variables you typed and leaves the text for you to review before it goes to Aster (Personal Assistant in the app) or any model. Video: [Custom Prompts in SecondStack AI](https://docs.secondstack.ai/videos/custom-prompts/) (3:43) ## How you create a Custom Prompt A Custom Prompt needs a name and a prompt text, and it lives on the page **Custom Slash Commands**: 1. Open **Settings → Custom Prompts** and choose **Add Prompt**, or type `/create-prompt` in any chat. 2. Give it a **Name**. The name becomes the command, shown as `/name` in the menu: letters, digits or hyphens, 2 to 50 characters, starting and ending with a letter or digit. The app lowercases what you type and turns spaces into hyphens. 3. Add a **Description** of up to 200 characters, which the menu shows beside the command. 4. Write the **Prompt Text**, up to 10,000 characters. Use `{{variable}}` to add fillable fields; typing `{{` completes the closing braces, and the app refuses to save an unclosed variable. 5. Under **Limit to models**, pick the models the prompt should appear for, or leave it empty to show it for all. ## How you run one You run a Custom Prompt by typing `/` in the composer and picking it from the **Custom Prompts** group: 1. Type `/` and choose the prompt. A prompt without variables goes straight into the composer. 2. For a prompt with variables, fill the dialog **Fill in variables** and choose **Insert**. Each field asks for its variable by name. 3. Read the inserted text, change what you like, and send it. The app never sends a Custom Prompt on its own. A prompt whose name matches a built-in command, such as `/readme`, gets the prefix `user-`. ## How you manage your prompts The Custom Prompts page lists every prompt you made, and each row has its own controls: - The switch at the end of a row hides a prompt from the `/` menu without deleting it, and shows it again. On a phone the switch is labelled **Visible**. - Editing a prompt opens **Edit Custom Prompt**, the same dialog as creation. - **Delete** removes a prompt for good after you confirm. ## What Custom Prompts do not do - A Custom Prompt is personal. There is no team or organization scope, so a colleague who wants the same command writes it once for themselves. - A Custom Prompt inserts text only. It does not pick a model, attach a file or run a tool; the Commands menu offers a model switch and your Skills beside it. - A Custom Prompt is never sent on its own. The text waits in the composer until you send it. ## Related - [Chat App](/chat-app/) - [Your first day](/getting-started/first-steps/) - [Skills](/agents/skills/) - [Concepts and names](/getting-started/concepts/) --- ## Image generation Source: https://docs.secondstack.ai/chat-app/image-generation/ Checked against: v3.7.2 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. Image generation in SecondStack creates and edits pictures in a chat: pick an image model, describe the picture, then edit it with Quick edit, Annotate or Edit in composer. A thread's Gallery tab shows its images, and Library → Files keeps them all. Aster (Personal Assistant in the app) generates images too, through its image generation Skill. Video: [Image Generation in SecondStack AI](https://docs.secondstack.ai/videos/image-generation/) (4:40) ## How you generate an image An image starts with an image model from the picker and a prompt, and the composer shows the settings that model supports: 1. Open the model picker and choose a model under **IMAGE GENERATION**. The composer gains an **Image generation settings** popover. 2. Set the options the model offers. Depending on the model these are **Aspect Ratio**, **Resolution**, **Quality** (Auto, Low, Medium, High, Standard or HD), **Background** (Auto, Opaque or Transparent) and **Batch Count**, the number of images generated in parallel, up to 4. 3. Describe the picture and send. A batch runs as separate requests, so when one of them fails you still get the others, with a note of how many failed. Each model shows only the options it supports, as your administrator configured it in ControlTower. Quality and Background apply to generation only: provider edit endpoints do not take them, so an edit ignores both. ## Three ways to edit an image Every generated image offers an **Edit image** button with three modes, and each suits a different kind of change: - **Quick edit** opens a one-line field on the image, **Describe your edit...**, for a change you can say in a sentence without leaving the thread. - **Annotate** opens the editor **Annotate image**, where you mark the areas to change and attach an instruction to each mark. - **Edit in composer** sends the image and its generation prompt to the composer, so you describe the change as a full message and add other context. When the composer already holds a draft, the app asks **Replace current draft?** first. Dragging an image into the composer does the same as Edit in composer. ## How you annotate an image The Annotate image editor turns marks on the picture into numbered instructions, so an edit lands where you pointed: 1. Draw with **Pen**, **Arrow**, **Rectangle** or **Pin**, and correct with **Eraser**, **Undo**, **Redo** and **Clear**. 2. Write an instruction for each pin under **Instructions**, where every pin has its own field, **Describe the edit for this pin**. 3. Add guidance for the whole picture under **Additional instructions**, pick an image model in the editor's own selector, and choose **Send**. The Chat App sends the original and the annotated copy together, with a note that tells the model which marks are yours, so the edit stays faithful to the source and the marks never appear in the result. Leaving the editor with marks asks **Discard annotations?** before it drops them. ## Where you find your images Images live in two places: the thread that made them, and your Library for every thread at once. - A thread with an image model gets two tabs, **Thread** and **Gallery**. Gallery replaces the transcript with a grid of that thread's images, in **Grid layout** or **Free layout**. A message that produced several images offers **Download 4 images** for the batch, saved one by one. **Delete image** removes one image and keeps the message and its other images in the conversation. - **Library → Files** lists files from your chats and personal Collections, filtered with **All**, **Images** or **Files**, in **Grid** or **List** view. Each entry says whether it was **Generated** or **Uploaded** and in which thread, with **Open**, **Download**, **Copy image** and **Go to thread**. Editing stays in the thread, because an edit needs the thread's context. Images generated in a temporary chat are deleted when the chat ends and never reach the Library. Every image request goes through [SecondGate](/gateway/) and counts against the same [budgets](/controltower/budgets-and-spend/) as a chat. ## What image generation does not do - An edit does not apply Quality or Background. Both settings belong to generation only. - A batch does not fall back to another model. The four parallel requests go to the model you picked. - The Library does not edit images. You open the thread and edit there. - The Chat App does not keep images from a temporary chat, in the thread or in the Library. - Video and audio generation are not part of v3.7.2. ## Related - [Chat App](/chat-app/) - [Collections](/chat-app/collections/) - [Custom Prompts](/chat-app/custom-prompts/) - [Budgets and spend](/controltower/budgets-and-spend/) - [Your first day](/getting-started/first-steps/) --- ## The desktop app Source: https://docs.secondstack.ai/chat-app/desktop-app/ Checked against: v3.7.2 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. 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. You download it from the Chat App and sign in once. Aster (Personal Assistant in the app) can then use accounts kept on this computer and, when you allow it, operate its applications. ## How you install it and sign in You download the app from the Chat App in a browser and sign in with your usual company account: 1. Open **Settings → Desktop App** in a browser. Under **Download the app**, choose the tab **macOS**, **Windows** or **Linux** and then **Download**. The downloads come from your own server, in the version it publishes. 2. On Windows, if SmartScreen warns about the app, choose **More info**, then **Run anyway**. On Linux, make the AppImage executable with `chmod +x` and run it. 3. Open the app. Enter your SecondStack server URL and choose **Sign in with SecondStack**. Sign-in opens in its own window and uses the provider your site uses for the browser. A site can ship the app with its server address already set. 4. Answer the one question the app asks after sign-in, **Use Agent Claude on this computer?**, with **Turn on** or **Not now**. The app remembers either answer, and you can change it later under **Settings → This device**. The computer now appears under **Paired devices** on the Desktop App page and under **Devices** in your dashboard in ControlTower. The app shows the same chats as the browser. ## What works without Docker Chat, local connectors and desktop control work without Docker; only Agent Claude on your computer needs it. The app says so itself: local agent sandboxes need Docker, chat and connectors work without it. If you turned Agent Claude on, the app checks for Docker and names what to install when it finds none: OrbStack, which it recommends as lighter and faster, or Docker Desktop. The switch **Enable Agent Claude** under **This device** turns the sandbox on or off at any time, and [Agent Claude](/developers/agent-claude/) explains what the sandbox does once it runs. ## Which accounts can stay on your computer Google Workspace, MCP servers and Jira can live on your computer in encrypted local storage instead of on the server, and the choice is per account: 1. Open **Settings → Connections** in the app and choose **Add connection**. 2. Pick **Google Workspace (on desktop)**, **Connect MCP on this device** or the Jira card that says **Sign in to Jira on this device**. The catalogue marks each entry **On desktop** or **On server**, and your administrator decides which placements a provider allows. 3. For Google, set each service to **Off**, **Read only** or **Read and manage**: Gmail, Drive and Calendar each get their own level. An account on your computer is bound to that computer. Only that computer can disconnect it, and signing out of the app erases its local storage. Every write still asks you first, in an **Approve local action** window on the computer that holds the account. Your browser chats can use these accounts too, while the computer is online. Open **Settings → This device**, then **Connectors**, and turn on **Use from browser chats**. The app then says: browser chats can use this computer's connectors while it is online, and writes still ask for your approval here. The same page lists **Recent connector activity on this device**, as metadata only, for 30 days and up to 200 entries. Your administrator can switch browser access off for the whole site with **Desktop connectors in browser chats** under ControlTower → Integrations; the app then hides the switch. ## How Aster operates applications on your computer Aster can inspect and operate the native applications on a paired computer, and it needs neither Agent Claude nor a container runtime for that: 1. Open **Settings → Connections** in the app, choose **Add connection** and pick **Enable desktop control**. The card says that your assistant can view and control apps on this computer and that actions require approval. 2. Ask Aster for the task in a chat. It looks at the screen, plans the steps and asks you before each change, in the same approval window as a local connector. 3. Choose **Stop desktop control** under Connections to end it. Stop cancels pending approvals and running steps at once and holds until you enable control again. One conversation controls the desktop at a time. On macOS the app needs the Accessibility permission, on Windows it cannot control applications that run elevated, and on Linux it needs a graphical session with AT‑SPI, with GNOME as the primary target. ## How coding tools connect through the app The **Coding agents** card on **This device** points the Codex and Claude Code already installed on your computer at your SecondStack models, so their usage bills to your key: 1. Open **Settings → This device** and find **Coding agents**. It lists **Codex**, **Claude Code**, **Claude desktop app** and, when the app is installed, **Codex app**. 2. Choose the billing route for a tool, **Subscription** or **API**, and then **Reconfigure**. When a tool is missing, the card offers **Install** instead. 3. Use **Revert** to undo a setup, or **Manual setup** to see the settings and apply them yourself. The app and the SecondStack CLI share one setup core, so either can see and undo the other's setup. Your administrator decides which tools the site offers. ## How updates and devices work The app updates itself in the background to the version your server publishes, and your administrator can revoke a computer from ControlTower: - The app checks for a newer version every hour and installs it the next time you quit. **Check for updates** and **Restart now** under **App and runtime** on the This device page do it sooner. A rollback on the server does not downgrade an installed app, and an outdated app is blocked with the update controls until it matches the server. - **Start at login** under **Settings → General** opens the app in the background when you log in, so local connectors and agents are ready. It is off until you turn it on, on macOS and Windows. - **Devices** in your dashboard in ControlTower lists every computer connected with the CLI or the desktop app, with **Rename** and **Revoke**. Revoking signs the computer out and deletes its key, so its local tools, its Agent Claude runtime and its coding tools lose access until you connect it again. ## How a Linux server without a display pairs A Linux server without a display runs the same runtime as a service, paired with a code instead of a sign-in window: 1. Open **Settings → Desktop App** in a browser, find **Headless Linux machine** and choose **Generate pairing code**. 2. On the server, install the libraries the page lists, run the AppImage with `--appimage-extract-and-run install`, then `desktop-runtime pair ` and `desktop-runtime start`. The page offers a systemd user unit. 3. Run `desktop-runtime agent-claude enable` to add Agent Claude, and `desktop-runtime update` to update, because an extracted install does not update itself. ## What the desktop app does not do - The app pairs with one server at a time. Changing the server or the account signs you out and erases the accounts stored on the computer. - Agent Claude on your computer does not run without Docker. With Docker missing, chat and local tools keep working and only the sandbox stays off. - The app does not show chats while it cannot reach your server; it offers **Try again** and **Choose server**. - A local connector serves your browser chats only while the computer is online and the app is running; a browser chat on an offline connector tells you to open the app on that computer. - Desktop control cannot undo input it has already delivered to an application, and a step that reports success does not prove the application saved its change. - The app does not start at login on Linux at v3.7.2, and ControlTower has no fleet view of desktop apps. ## Related - [Chat App](/chat-app/) - [Agent Claude](/developers/agent-claude/) - [Your first day](/getting-started/first-steps/) - [Your dashboard](/controltower/user-dashboard/) - [Connections and tool approvals](/agents/connections/) # ControlTower --- ## ControlTower: AI agent governance Source: https://docs.secondstack.ai/controltower/ Checked against: v3.7.2 ControlTower is the admin console for AI agent governance in SecondStack: model access, Chat Profiles, budgets, guardrails, Pause and the record of every run. ControlTower is the admin console of SecondStack: it gives every agent an owner, a budget, your rules and a record of every run, and manages people, models and access. Administrators open it at `controltower.` followed by the platform's host, and everyone else lands on their own dashboard there. The mockup below shows the admin sidebar at v3.7.2. ## Who sees what in ControlTower Three kinds of people open ControlTower, and each one sees a different dashboard. An administrator sees the admin dashboard with the four groups below. A team supervisor sees the user dashboard with an extra **Team Supervision** section for the teams they supervise. Everyone else sees the user dashboard alone, which [Your dashboard](/controltower/user-dashboard/) describes. An administrator is a member of the admin group, named LLMOps Admins in the default site, and the operator can point that setting at another group. Administrators switch between the admin dashboard and their own user dashboard from the header, and every admin request is refused for anyone outside the group, whatever the address they type. ## What the four sidebar groups hold The admin sidebar has four groups, and an item appears only when the feature behind it is deployed on your site. The table lists every item at v3.7.2 and the page that explains it. | Group | Items | Where it is described | |---|---|---| | **Monitoring & Users** | **Users**, **Groups**, **Teams** | [People, teams and groups](/controltower/people-and-teams/) | | | **Apps & Agents** | [Budgets and spend](/controltower/budgets-and-spend/): organization-level keys for apps and agents, each with a spend cap | | | **Applications**, when the Agents API is on | Clients of the Agents API, registered with an owner, a budget and their own credentials | | | **Agent fleet**, **Agent Activity** | [Agent fleet](/controltower/agent-fleet/) and [Agent Activity](/controltower/agent-activity/) | | | **Connections** | [Integrations](/controltower/integrations/): a read-only view of which accounts and channels people and agents use | | | **Sites**, when Sites is on | The published sites of your Chat App | | | **Analytics & Logs** | [Budgets and spend](/controltower/budgets-and-spend/): requests, tokens and cost across the gateway and the Chat App | | **Platform Configuration** | **Integrations** | [Integrations](/controltower/integrations/) | | | **Agent workspaces**, when workspaces are deployed | [Agent fleet](/controltower/agent-fleet/) | | | **General Config** | Site settings such as default budgets and the context audit | | | **Notifications** | Platform notifications to people | | | **Site theme** | [White-label names and theme](/controltower/branding/) | | **LLM Configuration** | **LLM Providers**, **Models**, **Chat Profiles** | [Models, Chat Profiles and access](/controltower/models-and-access/) | | | **Guardrails**, when SecondGuard is deployed | [SecondGate](/gateway/) and its guardrails | | | **Localized Content** | [White-label names and theme](/controltower/branding/) | | **Admin Tools** | **Platform Status** | **System status** and **Storage** of the platform services | | | **System Alerts** | Incidents raised by the platform's alert evaluators, from Prometheus and from Sync Jobs, with a count of firing ones on the sidebar | | | **Sync Jobs** | The scheduled jobs that carry directory, budget and retention state, each with **Run now** | | | **Configs Deployment** | The deploy cards for SecondGate, vLLM, the Chat App and Guardrails | | | **Audit history** | The append-only log of administrator actions | ## Where your rules live The controls that the marketing phrase "your rules" stands for are five settings in ControlTower and one control in the Chat App. Each of them has a page in this section: - **Model access** is denied by default. An administrator grants each model to all users, to teams or to people, on the Chat App channel and on the direct API channel separately. [Models, Chat Profiles and access](/controltower/models-and-access/) covers it. - **Chat Profiles** decide which entries the Chat App's model picker offers, under which group and to whom. - **Budgets** cap the organization, each team, each person, each key and each named agent per period. [Budgets and spend](/controltower/budgets-and-spend/) covers them. - **Guardrails** are SecondGuard's block, mask or log rules per model, set under **Guardrails** when SecondGuard is deployed. - **Agent workspace policy** sets the idle timeout, the maximum runtime and the admission quotas of agent sandboxes, under **Agent workspaces**. - **Pause** stops a named agent. It lives in the Chat App, in the agent's menu, for the agent's managers, and [Agent fleet](/controltower/agent-fleet/) shows which agents are paused. ## How a change reaches the running platform A change made in ControlTower reaches the services through a deploy or through a Sync Job, and the screen says which. **Configs Deployment** holds four cards, for SecondGate, vLLM, the Chat App and Guardrails, each with a preview and a deploy; a card is disabled when its service is off. Model access and budget changes apply on the next SecondGate deploy, with no restart. Agent workspaces deploy from their own page. Three Sync Jobs carry the directory and the budgets. Job 1, **Upstream Provider → ControlTower**, reads users, groups and memberships from your identity provider every 5 minutes. Job 2, **ControlTower State Reconciliation**, settles group and team memberships and the system keys. Job 3, **ControlTower → SecondGate**, pushes access, budgets and key settings to the gateway every 2 minutes. An administrator starts any job early with **Run now**. Names, logos and the theme take a third route, through the site repository and the **Site theme** screen; [White-label names and theme](/controltower/branding/) explains it. ## What the record holds ControlTower keeps four records, and an administrator reads them without changing them. **Agent Activity** holds every agent run with its model calls, tokens, cost and context audit. **Analytics & Logs** holds requests, tokens and cost across the gateway and the Chat App, down to the request. **Audit history** holds administrator actions, in an append-only log that a database trigger protects from updates and deletes. **Connections** holds which accounts and channels people and agents use, and which need attention. The same usage data is available to agents through a read-only MCP server, **ControlTower Analytics**. The default site grants it to the admin group and ships it switched off, so nobody reaches it until an administrator turns it on. ## What ControlTower does not do - ControlTower does not route requests. SecondGate does, and ControlTower writes the configuration SecondGate runs on. - ControlTower does not create named agents. Their owners create them in the Chat App, and ControlTower lists, watches and budgets them. Pause and Resume are the managers' controls in the Chat App. - ControlTower does not grant model access through groups at v3.7.2. A group narrows what the picker shows and maps people into teams. - ControlTower does not edit the record. Agent Activity, Analytics & Logs and Audit history are read-only, for administrators only. - ControlTower does not deploy names and themes from **Configs Deployment**. Those travel through the site repository and the **Site theme** screen. - A base install calls ControlTower **Console**, and a site can give it any name. [Concepts and names](/getting-started/concepts/) lists the names side by side. ## Related - [Agents](/agents/) - [Gateway](/gateway/) - [Self-hosting](/self-hosting/) - [Concepts and names](/getting-started/concepts/) - [Owners and budgets](/agents/owners-and-budgets/) On secondstack.ai: [Every AI agent and every run, in one console](https://secondstack.ai/platform/controltower/) ## In this section - [Agent fleet](/controltower/agent-fleet/): 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](/controltower/agent-activity/): Agent Activity is SecondStack's agent observability view: every invocation, session and ingress event, with model calls, tokens, cost and a context audit. - [Models and access](/controltower/models-and-access/): 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 and teams](/controltower/people-and-teams/): 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](/controltower/integrations/): 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](/controltower/budgets-and-spend/): 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](/controltower/user-dashboard/): 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](/controltower/branding/): 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. On secondstack.ai: [Every AI agent and every run, in one console](https://secondstack.ai/platform/controltower/) --- ## Agent fleet: every named agent Source: https://docs.secondstack.ai/controltower/agent-fleet/ Checked against: v3.7.2 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 fleet is the ControlTower page that lists every named agent with its owner, who pays, its budget, its API-billed cost and connections, its last run and anything still missing from its set-up. The sidebar says **Agent fleet**, and the page itself is titled **Agents**. The mockup below shows the list at v3.7.2 with one agent that needs attention. ## What the list shows The list has one row per named agent, with six columns: **Agent**, **Owner**, **Budget**, **API-billed cost · last 30 days**, **Connections** and **Last run**. Above it, four figures sum up the fleet: **Agents**, **API-billed cost · last 30 days**, **Model attempts** and **Needs attention**. - **Agent** holds the agent's name, its state as an **Active** or **Paused** badge, and any set-up issue. - **Owner** names the user, team or organization that answers for the agent, with its kind under the name. - **Budget** shows who pays. An agent on its own budget shows its amount per period and **Paid by** followed by the name of the person or team whose budget funds it; an agent that charges whoever uses it shows **Paid by invoker** instead. - **Connections** shows the accounts and channel bots the agent uses as chips, and links to the same agent on the Connections page. - **Last run** reads **Completed**, **Failed**, **No runs recorded** or **Result unavailable**, with the time the run was accepted. The filters **All**, **Active**, **Paused** and **Needs attention** each carry a count, and the search field matches an agent's name, its ID, its owner and the name or email of whoever pays. An agent that a manager paused in the Chat App shows under **Paused**. ## What Needs attention means An agent needs attention when its runs are degraded, when its budget needs reconciling or when it has no budget amount at all, and those rows sort to the top. The **Agent** cell then carries the reason in red: - "The Agent budget is missing." - "The Agent's API access does not match its budget configuration." - "The budget does not match the Agent's current ownership and funding settings." - "The Agent's execution access is configured incorrectly." - **Budget amount unavailable**, when the gateway could not report it. A banner, **Budgets need review**, appears above the list when a budget allocation no longer belongs to a current agent, for example after the agent left the directory or changed owner. The count in the banner says how many allocations wait for an administrator. ## What an administrator does from here Agent fleet is a reading page: an administrator watches the fleet and opens the pages where a change is made. **Refresh** reloads the list, and **Fleet analytics** opens the usage of all named agents, by agent and by key generation, with **Export CSV**. The arrow at the end of a row opens that agent's usage, and the owner and connection cells link to the owner's page and to the Connections view. Pause and Resume stay with the agent's managers, in the agent's menu in the Chat App. A manager fixes a missing budget on the agent's **Settings → Budget** tab, and an administrator changes who the agent may call under [Models, Chat Profiles and access](/controltower/models-and-access/). ## How agent workspaces are managed **Agent workspaces**, under Platform Configuration, manages the sandboxes that hold an agent conversation's files and compute. The page shows only when the workspace service is deployed, and it has two tabs: - **Configuration** holds the **Workspace settings**: the compute lifecycle with **Idle timeout** and **Maximum runtime**, and the **Admission quotas**. **Save and apply** deploys them. A lifecycle change applies to new sandboxes only, and a quota change applies to new admissions at once. The settings are read-only when the operator has not handed this policy to ControlTower. - **Monitoring** shows **Workspaces**, **Active compute**, **Provisioned capacity** and **Needs attention**, the quota meters and their trend, the workspace states, the last activity and a workspace inventory. Files in a workspace stay until their conversation is deleted, and idle compute stops on its own. A workspace that becomes unavailable or unlinked is not replaced or deleted automatically; the Monitoring tab lists it for an administrator. ## What Agent fleet does not do - Agent fleet does not pause, resume, edit or delete an agent. Those are the managers' actions in the Chat App. - Agent fleet does not show Aster or the project agents. It lists named agents only; their runs appear in [Agent Activity](/controltower/agent-activity/). - Agent fleet does not set a budget. Who pays is fixed when the agent is created, and its limit is the manager's **Spending limit**. - Agent fleet does not count subscription calls as cost. The cost column holds API-billed calls only, and Fleet analytics shows subscription usage as a value, never as a charge. - Agent fleet appears only on a site where the agent platform's web role is deployed. ## Related - [Agent Activity](/controltower/agent-activity/) - [Budgets and spend](/controltower/budgets-and-spend/) - [Named agents](/agents/named-agents/) - [Owners and budgets](/agents/owners-and-budgets/) - [ControlTower](/controltower/) On secondstack.ai: [Every AI agent and every run, in one console](https://secondstack.ai/platform/controltower/) --- ## Agent Activity: agent observability Source: https://docs.secondstack.ai/controltower/agent-activity/ Checked against: v3.7.2 Agent Activity is SecondStack's agent observability view: every invocation, session and ingress event, with model calls, tokens, cost and a context audit. Agent Activity is the ControlTower record of every agent run: invocations, sessions and ingress, each with its model calls, tokens, cost and a context audit. Administrators read it and nobody edits it, and it covers Aster (Personal Assistant in the app), the project agents and named agents alike. The mockup below shows the Invocations tab at v3.7.2. ## What the three tabs record Agent Activity has three tabs, and each one answers a different question about a run. **Invocations** lists every turn an agent was asked to take, **Sessions** groups the turns of one identity on one channel, and **Ingress** lists what arrived at a channel before any agent ran. | Tab | Columns | What a row is | |---|---|---| | **Invocations** | **Invocation**, **Turn**, **Invoked by**, **Agent and model**, **Channel**, **Status**, **Admitted** | One request to an agent, from the moment the platform admitted it | | **Sessions** | **Session**, **Identity**, **Channel**, **Invocations**, **First admission**, **Last admission** | The run of invocations one person or agent had on one channel | | **Ingress** | **Observation**, **Channel**, **Outcome**, **Reason**, **Correlation**, **Time** | One message that reached Slack, Telegram or Yandex Telemost, admitted or refused, with the reason | **Status** folds three checks into one badge, **Done**, **In progress** or **Issue**, and its tooltip shows **Execution**, **Delivery** and **Accounting** separately, so an answer that ran but never reached its channel reads as an issue. ## How you find one run Each tab opens with filters, and a run is found in a few clicks: 1. Search by ID, agent name or model; on **Ingress**, by observation ID, correlation ID or reason. 2. Narrow the list with **All users**, **All channels** (**Chat**, **Slack**, **Telegram**, **Yandex Telemost**) and **All identities** (**Personal Assistant**, **Project Assistant**, **Named Agent**). **Invocations** adds **Any execution state**. 3. Pick a time window: **Any time**, **Last hour**, **Last 24 hours**, **Last 7 days**, **Last 30 days** or **Custom range**. 4. Turn on **Audit only** to limit the list to audited runs. 5. Open a row. The invocation opens with its own tabs, described next. ## What one invocation shows An open invocation has five tabs: **Overview**, **Execution**, **Context audit**, **Delivery & usage** and **Configuration**. **Overview** names the people and the origin: the **People & ownership** card lists the **Triggering actor**, the **Owner** and the **Sponsor**, and a scheduled run names the person whose authority it ran under after the words "Scheduled task · authorized by". The **Origin & participants** card names the channel it came from. **Context audit** holds the **Model calls** table, one row per call to a model through SecondGate, with the columns **#**, **Model**, **Messages**, **Context**, **Input**, **Cache write**, **Cache read**, **Output**, **Value** and **Timestamp**. **Value** is the priced value of the call's last gateway attempt; a call that a subscription served is not charged, and its value is the API equivalent. **Cache read** shows the prompt cache hits, and a call is flagged **Cache miss** or **After compaction** where that applies. A message longer than 16,000 characters is kept to that length in the audit, while the model received the full text. **Execution** loads the run's own records on request: its model calls, its tool calls with their arguments and output, and the context it retained, filtered as **Calls & messages**, **Model calls**, **Tool calls** or **All records**. The page says what these are: the platform's records of the run, not the channel transcript and not an exact provider request. **Delivery & usage** shows where the result went and what the gateway metered, and **Configuration** shows the agent's configuration and resources at the time of the run. Gateway rows can arrive after the run, and the page says so: missing usage never means zero. ## How the context audit is kept The context audit copies the prepared model input of a run for a bounded time, so that an administrator can see what the model was given. It is a site-level setting since v3.7.0: `agent_context_audit` is on in the default site, and `agent_context_audit_retention_days` keeps the copies for 14 days. Sync Job 11, **Agent context audit retention**, deletes older calls every hour and keeps running after the audit is switched off. A site without the setting captures nothing. The audit captures runs that a person started. It never captures guests, Applications calling the Agents API or the memory learning that runs between conversations. ## What stays out of the record Agent Activity redacts credentials and proofs before it writes a record, and a record then carries the line **Sensitive fields redacted.** The redaction covers fields named as a secret, password, authorization header, cookie, credential, token, API key, private key or signature, bearer strings, known token forms, JSON Web Tokens and the query part of URLs. It makes no claim about the text people wrote: a secret pasted into a message is not found by it. When a conversation is deleted, its history and its model context read as empty in Agent Activity, and the audit copy goes with it. The admission record of the invocation stays, so an administrator still sees that a run happened, who asked for it and what it cost. ## What Agent Activity does not do - Agent Activity does not let anyone change a record. ControlTower reads it, and the agent platform refuses every write. - Agent Activity does not keep a transcript of conversations. The chat itself lives in your database, and the context audit is the one bounded-time copy of model input. - Agent Activity does not scan user-written text for secrets. SecondGuard does that on the request path, and [SecondGate](/gateway/) describes it. - Agent Activity does not show to anyone outside the admin group. Team supervisors and users see their own usage under [Your dashboard](/controltower/user-dashboard/). - Agent Activity does not record Applications, guests or memory learning in the context audit. - Agent Activity appears only on a site where the agent platform's web role is deployed. ## Related - [Agent fleet](/controltower/agent-fleet/) - [Budgets and spend](/controltower/budgets-and-spend/) - [Gateway](/gateway/) - [Agents](/agents/) - [ControlTower](/controltower/) On secondstack.ai: [Every AI agent and every run, in one console](https://secondstack.ai/platform/controltower/) --- ## Models, Chat Profiles and access Source: https://docs.secondstack.ai/controltower/models-and-access/ Checked against: v3.7.2 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. Model access in ControlTower is denied by default: a model that nobody has granted is reachable by nobody, in the Chat App or over the API. An administrator adds a provider under **LLM Providers**, registers a model under **Models**, grants it on two channels and shapes the picker under **Chat Profiles**. The mockup below shows one model's access. ## How you add a provider A provider is an account at a model vendor or a local inference server, added once under **LLM Providers** with its credentials. SecondStack does not host or resell models: every provider is your own account or your own server. 1. Choose **LLM Providers** in the sidebar, then **Add New Provider**. 2. Pick the **Authentication**: **API Key** for a vendor account, or one of the subscription kinds, **ChatGPT subscription pool**, **ChatGPT relay pool**, **ChatGPT individual subscriptions**, **Claude subscription pool**, **Claude relay pool** and **Claude individual subscriptions**. 3. Pick the backend. A SecondGate backend names the vendor API it speaks, such as OpenAI, Anthropic, Gemini, Vertex AI, Azure, Bedrock, Databricks, xAI, OpenRouter or a hosted vLLM server; a `vllm` backend is the platform's own local inference service. 4. Set the **Fallback Priority**, which orders the providers of one model when the first fails, and save. The list shows each provider's **Backend Type**, **Account**, **Fallback Priority**, **Enable** switch and **Provider Key Check**. ## How you add a model and its routes A model is registered once under **Models** and can have two rows, an **API route** and a **Subscription route**, each with its own access. The two rows exist because an API-billed call and a subscription call are paid differently, and a site often wants different people on each. 1. Choose **Models**, then **Add New Model**, and give the model its ID and display name. 2. Map the model to one or more providers. An API mapping carries a **Priority**, and SecondGate tries the mappings in that order when one fails; subscription rows rotate across their pool instead. No setting on screen changes those two strategies. 3. Set the pricing and the trust tags SecondGuard's guards select on. 4. Grant access on each channel, as the next section describes. The Models list shows the result in two columns, **Chat App** and **API**, with the rows grouped under **API route** and **Subscription route**. ## How you grant access Access is granted per model and per channel: **Access from Chat App** decides who sees the model in the Chat App, and **Access via direct API** decides whose keys may call it. A model with nothing on a channel shows **Hidden** there. - On both channels you pick **All Users**, named **Teams** or named **Users**. **All Users** stands alone: choosing it clears the other subjects. - On the API channel you can also pick **Apps & Agents keys** and **Named Agents**. **All Agents** grants every agent that runs on its own budget, and it stands alone in the same way; an agent that charges whoever uses it calls the model with the caller's access. Keys and agents cannot be granted on the Chat App channel. - Each row grants on its own. A person granted the API route of a model has no subscription route until that row grants them too. - A group cannot hold a model grant at v3.7.2, and an import that names one is refused. A group narrows a Chat Profile's picker, as described next. A change in access applies on the next SecondGate deploy from **Configs Deployment**, and no service restarts for it. Sync Job 3, **ControlTower → SecondGate**, carries budgets and key settings on its own schedule. ## How Chat Profiles shape the picker A Chat Profile is a ControlTower definition of one entry in the Chat App model picker: which model it uses, how it is labelled and grouped, and who sees it. The picker on [The Chat App](/chat-app/) page shows the result. 1. Choose **Chat Profiles**, then open or add a profile. 2. Pick the **Gateway Model** it runs on, or **No model (composite pipe)** for an entry that runs its own pipeline. Give it a **Display Name** and a **Slug (Technical Name)**. 3. Place it with **Picker Group**, **Group Order** and **Order in Group**, and decide whether it is **Visible by default**. 4. Set its **Access**: **All Users**, **Teams**, **Groups**, **Users** and, on agent-platform profiles, **Named Agents**. A profile cannot show a model to someone who lacks access to it: a profile wider than the model's Chat App access fails when the configuration is compiled. A **Groups** entry narrows the picker only, and it needs a model that is granted to all users in the Chat App. Visibility in the picker is a courtesy to the reader; SecondGate's grants are the boundary. ## What model access does not do - Model access does not grant through groups at v3.7.2. Groups narrow a Chat Profile and map people into teams; a grant names all users, teams, users, keys or agents. - Model access does not apply the moment you save it. It waits for the next SecondGate deploy. - Model access does not choose a routing strategy. API rows fail over by priority and subscription rows rotate across their pool, with nothing to set on screen. - Hiding a profile does not revoke access. A person with an API grant still calls the model over the API. - A Chat Profile does not change what a model costs. The cost badge in the picker follows the route the profile runs on. - An administrator cannot grant a model to an agent that charges whoever uses it. That agent runs on the caller's access. ## Related - [Gateway](/gateway/) - [Budgets and spend](/controltower/budgets-and-spend/) - [People and teams](/controltower/people-and-teams/) - [Chat App](/chat-app/) - [ControlTower](/controltower/) On secondstack.ai: [Every AI agent and every run, in one console](https://secondstack.ai/platform/controltower/) --- ## People, teams and groups Source: https://docs.secondstack.ai/controltower/people-and-teams/ Checked against: v3.7.2 People, teams and groups in ControlTower organize who may use SecondStack: users, team supervisors, what groups do and do not grant, and directory sync. People, teams and groups in ControlTower organize who may use SecondStack: every person is a user with a spend limit, belongs to teams that hold budgets and keys, and carries the groups your directory gives them. Administrators work under **Users**, **Teams** and **Groups**, and **Sync Jobs** keeps all three in step with your identity provider. ## Where people come from ControlTower is the platform's identity authority: it is the OpenID Connect issuer the Chat App signs in through, and it holds the user directory. Your identity provider only authenticates people and supplies the directory, in one of three ways: - Sync Job 1, **Upstream Provider → ControlTower**, reads users, groups and memberships from the provider every 5 minutes. - A directory that pushes changes uses SCIM at `/scim/v2`, with a bearer token ControlTower issues. SCIM complements Job 1; it does not create gateway users or system keys on its own. - Local accounts are created in ControlTower itself, with a password, for sites without a provider or for break-glass access. Group names are unique without regard to case, and a provider group is read-only in ControlTower. The one group every site has is the admin group, **LLMOps Admins** in the default site; its members see the admin dashboard, and the operator can name a different group. ## What the Users page lets an administrator do **Users** lists every account with its **Name**, email, **Status**, **User Spend Limit**, **Teams**, **Storage quota** and registration date, and an **Action** menu per row. Status reads **Active**, **Deactivated** or **Blocked**. 1. Choose **Edit user** to change a person's **Local group grants**, **Direct team membership**, **User Spend Limit** and **Storage quota (GiB)**, and to switch **Deactivated** or **Blocked** on or off. 2. Choose **View on behalf of the user** to open that person's dashboard as they see it, read-only for keys, or **View connections** to see the accounts and channels they use. 3. Use **Revoke all sessions** to sign a person out everywhere, **Send password reset** for a local account, and **Delete local user** for an account that exists only in ControlTower. 4. Select several rows and choose **Edit User Spend Limits** to set one cap for all of them. The **User Spend Limit** is the one budget only an administrator sets: a hard cap across all of a person's teams. Team supervisors set a member's share of their own team, as the next section explains. ## What deactivation does Deactivation closes an account's doors without deleting anything. **Deactivated** applies to local accounts; a provider account stays what the provider says, and **Blocked** works on any account and survives the next directory sync. When an administrator deactivates or blocks someone, ControlTower disables their password sign-in, deletes their ControlTower sessions, revokes their refresh tokens, clears the provider tokens it stored for them and marks their gateway principal as blocked, so every key they hold stops working. The person sees an **Account Deactivated** page, and the Chat App refuses their requests. Deactivation does not delete the user or their keys, which is why switching the same control off brings the account back with its baseline group. It does not remove the Chat App's cookie, though every request is re-checked, and the Chat App learns of the change at its next directory refresh. A Sites session already open runs to its end, up to 12 hours. ## How teams work A team is the unit that holds a budget and keys, and a team supervisor runs it from their own dashboard. An administrator creates the team under **Teams** with these fields: - **Total Team Budget** caps everything the team spends per month, and **Default Team Member Budget** is what a new member gets. - **Mapped Groups** makes every member of a directory group a team member, and **Direct Users** adds people one by one. - **Team Supervisors** names who runs the team. Three switches set what they may do: **Supervisors may issue Team API Keys**, **Supervisors may add direct members** and **Members may create API keys**. A supervisor adds and removes members, edits each member's **Team Member Budget**, manages the team's keys and reads the team's usage under **Team Supervision** in [Your dashboard](/controltower/user-dashboard/). A member's budget in a team cannot exceed their User Spend Limit or the team's total, though the members' budgets together may. A person in no team lands in the platform's **Default Team**, and a person who changes team keeps their keys and their spend history. [Budgets and spend](/controltower/budgets-and-spend/) explains how the levels add up. ## What groups grant and do not grant A group is a label your directory or ControlTower gives a person, and the platform reads it in five places. Membership of the admin group grants the admin dashboard. **Mapped Groups** turns a group into team membership. A Chat Profile can name a group to narrow which picker entries its members see. An MCP connection can be granted to a group, as the default site grants its **ControlTower Analytics** server to the admin group. Shared resources such as Projects and Collections can be shared with a group. A group grants no model access at v3.7.2: a model grant names all users, teams, users, keys or agents, and an import that puts a group on a model is refused. A group holds no budget of its own; a person's budget comes from their teams and their User Spend Limit. ## How directory sync runs Ten Sync Jobs keep ControlTower, the gateway and the directory in step, and the **Sync Jobs** page shows each one's history and a **Run now** button. The table lists them with their default interval. | Job | Name | What it does | Every | |---|---|---|---| | 1 | **Upstream Provider → ControlTower** | Users, groups and memberships from the directory | 5 min | | 2 | **ControlTower State Reconciliation** | Group and team memberships, system keys | 5 min | | 3 | **ControlTower → SecondGate** | Gateway access, budgets and key settings | 2 min | | 5 | **Chat App orphan cleanup** | Orphaned storage | 6 h | | 7 | **Guardrails captured-content retention** | Deletes expired guardrail captures | 24 h | | 8 | **User storage usage** | Per-user storage totals | 5 min | | 9 | **Storage analysis** | A scan and a health report of storage | 3 h | | 10 | **Board reminders** | Due card reminders | 1 min | | 11 | **Agent context audit retention** | Deletes audited model contexts past their retention | 60 min | | 12 | **Gateway usage summaries** | Daily usage totals | 5 min | Jobs 4 and 6 no longer exist. A job that fails raises an incident under **System Alerts**. ## What people, teams and groups do not do - A user has no role field. Being an administrator means membership of the admin group, and nothing on the Users page changes it; the group does. - Deactivation does not delete a person, their keys or their history. **Delete local user** exists for local accounts only. - A group does not grant model access at v3.7.2, and it holds no budget. - A team supervisor cannot raise a member's User Spend Limit. Only an administrator sets it. - ControlTower does not write back to your identity provider. Sync and SCIM run one way, into ControlTower. - A blocked person's open Sites session is not ended at once; it expires on its own within 12 hours. ## Related - [Budgets and spend](/controltower/budgets-and-spend/) - [Your dashboard](/controltower/user-dashboard/) - [Models and access](/controltower/models-and-access/) - [Self-hosting](/self-hosting/) - [ControlTower](/controltower/) On secondstack.ai: [Every AI agent and every run, in one console](https://secondstack.ai/platform/controltower/) --- ## Integrations: accounts and channels Source: https://docs.secondstack.ai/controltower/integrations/ Checked against: v3.7.2 Integrations in ControlTower are the admin side of accounts and channels: account providers, MCP servers and scopes, Slack and Telegram bots, mail and calendar. Integrations in ControlTower are the admin side of accounts and channels: the providers people may connect, the MCP servers the organization registers, the Slack, Telegram and Yandex Telemost apps that give Aster (Personal Assistant in the app) and named agents their bots, and the mail and calendar servers. The page has two tabs, **Account providers** and **Channels**. ## What the Integrations page holds The **Account providers** tab is a catalogue of cards, one per provider, and what you switch on here is what people see under **Add connection** in the Chat App. Each card has **Configure** for its credentials and a switch, **Allow new connections**; turning the switch off hides the provider from the Chat App while existing accounts keep working. Above the cards sit **Add custom provider** and **Add MCP server**, and below them the **Organization MCP servers** table and **Private network routes**. One switch above both tabs, **Desktop connectors in browser chats**, lets a computer that opted in serve its owner's browser chats with the accounts kept on it, with writes still approved on that computer; the default site ships it on. The **Channels** tab, headed **Assistant channels**, holds one platform app per channel provider, described further down. It shows only on a site where the operator has turned external channels on. ## How you set up an account provider Each provider card takes the credentials of an app you register at that provider, and the same four steps apply to all of them: 1. Register an app at the provider and give it the **Callback URL** the card shows. For Google Workspace, also enable the Gmail, Drive, Calendar, Docs and Sheets APIs. 2. Choose **Configure** on the card and enter what the provider needs. Google Workspace and Microsoft 365 take an **Application / client ID** and a **Client secret**, and Microsoft 365 adds the **Microsoft tenant ID or domain**. GitHub takes a GitHub App with its **Client ID**, **Client secret** and **Private key (.pem)**; GitLab an application with its **GitLab URL**, **Application ID** and **Application secret**; Salesforce an External Client App with its **Consumer Key**, **Consumer Secret** and **Salesforce environment**, **Production** or **Sandbox**. 3. Choose **Check configuration**. It checks the broker setup and the MCP discovery, not the secret itself; that is proved by the first sign-in. 4. Turn on **Allow new connections**. The table lists every card at v3.7.2 and what it needs. Which cards a site shows depends on what is deployed and opted in, so the catalogue your people see can be shorter than this list. | Card | What it takes | |---|---| | **Google Workspace** | An OAuth client; a second **Desktop client ID** and secret for accounts kept on a computer | | **Microsoft 365** | An OAuth client and the tenant ID or domain | | **GitHub** | One or more GitHub Apps; switches **Allow GitHub App connections** and **Allow PAT token connections** | | **GitLab** | An application; optionally PAT connections to any user-provided GitLab instance | | **Notion**, **Jira Cloud**, **Trello** | Nothing: hosted MCP presets. For Jira Cloud and Trello an Atlassian organization administrator allows the Callback URL under its Atlassian MCP server settings, and personal accounts outside an organization cannot connect | | **Jira Server / Data Center** | The **MCP server URL** of the Jira Access Gateway, a **Desktop client ID** and a **Service placement**; optionally a **Service MCP URL for Agents** | | **Outline** | The workspace's MCP URL | | **Salesforce** | An External Client App, for Production or Sandbox | | **Slack** | Nothing of its own: it reuses the platform's Slack app from the Channels tab and shows only while that app is connected | | **SSH Server** | Nothing: on by default in the default site | | **Mail and calendar** | Switches for the built-in Fastmail and iCloud, and custom servers, described below; shows only when the mail service is deployed | | **Yandex Mail and Calendar**, **Yandex Disk**, **Yandex Tracker and Wiki** | One Yandex ID app each; Tracker also an **Organization type** and **Organization ID**; shown only when the site opts Yandex in | | **Add custom provider** | An OAuth or OpenID Connect client, or an MCP server with OAuth | HTTP API connections need no card: a person adds one under **Add connection** with an API key. Yandex is a family a site opts into with the `integrations_optional_enabled` setting in its site configuration, applied with the site import; switching it off later never hides a card that is already configured. ## How MCP servers and connection scopes work An MCP server joins the catalogue in one of two ways, and a connection scope lets its owner narrow what the server reaches. **Add MCP server** registers a server that signs people in with OAuth as a provider card, and **Organization MCP servers** registers a server once for the organization, as **Public (no credentials)** or **Requires an API key**, to be granted to Applications in each Application's **Connections** tab. Every platform administrator manages the registered servers. A **Connection scope label** on an MCP registration names a field, such as a project, that the owner of each connection fills in; the server then sees that scope only. The Jira Access Gateway is the main use: it is installed next to an on-premises Jira Server, outside the SecondStack stack, and connects as an MCP OAuth registration. The Jira administrator owns its host and its policy, a grant of projects, issue types, an optional JQL filter and the allowed actions, and reading is always allowed. It needs Jira and SecondStack to sign in through the same OpenID Connect provider. ## How you connect Slack, Telegram and Yandex Telemost Each channel provider has one platform app per deployment, set up once under **Channels**, and that app proves people's accounts and carries Aster's direct messages. Named agents then add their own bots in the Chat App. 1. Choose **Connect provider** under **Assistant channels**. 2. For Slack, create a Slack app for this deployment and enter its **Slack app ID**, **Slack signing secret**, **Bot token**, **Client ID** and **Client secret**; the form then shows the **Events API Request URL** to paste into the Slack app. For Telegram, enter the bot token from BotFather and the Login Widget's client ID and secret. For Yandex Telemost, enter the bot token and the Yandex ID app's Client ID and secret; it polls instead of receiving webhooks, and the option appears only when the site opts Yandex in. 3. Tell people to link their account under **Settings → Channels** in the Chat App. Aster answers their direct messages from then on. A named agent's manager connects the agent's own bot on the agent's **Channels** tab in the Chat App, with bot credentials only, and the platform app for that provider must exist first; a Yandex Telemost agent bot must belong to the same organization as the platform bot. **Automatic Slack bot creation** saves the manager that step: an administrator pastes a Slack **Configuration refresh token** into the Slack app's dialog here, and each new bot then only needs a manager's approval in Slack. A person's own Slack account, which lets Aster and its Jobs read and post as that person, is switched on with the **Slack** card under **Account providers**. The Slack app needs the **Slack MCP callback URL** and the **User token scopes for Slack MCP** from that card, and Model Context Protocol turned on in Slack. Named agents cannot connect a Slack account. ## How mail and calendar servers are set up Mail and calendar accounts run through a service that is off by default, and the operator turns it on in the site configuration, together with the egress proxy and the integrations service. The **Mail and calendar** card then appears with two parts: - **Built-in providers**: Fastmail and iCloud, each with a switch. People connect them with an app-specific password. - **Custom servers**: **New server** adds an IMAP server with its SMTP, an optional CalDAV server, the folder names and a CA certificate, or an **Exchange Server (on-premises)** with its **Exchange Web Services URL** over HTTPS, a **Sign-in method** of **Windows authentication (NTLM)** or **Basic authentication**, and **How users sign in**, either **Each user's Windows password** or a **Service account (impersonation)** with its **Service account login**. Exchange 2016 with the August 2022 update or later and Exchange SE are supported; Exchange Online connects through Microsoft 365 instead. A server on a private address needs **Allow private network addresses**, and a private route is listed under **Private network routes**. ## What the Connections page shows **Connections**, in the Monitoring & Users group, is a read-only view of which accounts and channels people and agents have connected and whether they use them. It has three tabs, **By owner**, **Integrations** and **Channels**, over a window of the last 7, 30 or 90 days. Each connection carries a state: **Active**, **Occasional**, **Idle 30d+**, **Never used**, **Broken** or, for a channel link, **No DMs yet**. A **Needs attention** mark covers a reconnect required, a setup error, a connection not selected in the agent's profile, idle or never-used connections, delivery failures, a bot with no rooms and a link waiting for its first message. [Agent fleet](/controltower/agent-fleet/) links here from each agent's Connections cell. ## What Integrations does not do - Integrations does not connect an account for anyone. Each person signs in at the provider from **Settings → Connections** in the Chat App, and an administrator only opens the door. - Enabling a provider grants nothing to an agent. A manager picks the connections an agent may use on the agent's page, and an organization-wide default connection is set by an administrator in the Chat App. - Integrations does not set tool approvals. Whether a tool runs automatically, asks first or stays off is set per connection in the Chat App. - The admin **Connections** page changes nothing. It reads usage. - A Slack account is for people only. Named agents answer through their own bots and never through someone's account. - A card that depends on a deployment or an opt-in stays hidden until the operator changes the site configuration: the Yandex cards, the mail and calendar card and the whole Channels tab. ## Related - [Connections and tool approvals](/agents/connections/) - [Channels](/agents/channels/) - [Agent fleet](/controltower/agent-fleet/) - [Your first day](/getting-started/first-steps/) - [ControlTower](/controltower/) On secondstack.ai: [Every AI agent and every run, in one console](https://secondstack.ai/platform/controltower/) --- ## Budgets and spend Source: https://docs.secondstack.ai/controltower/budgets-and-spend/ Checked against: v3.7.2 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. Budgets and spend in ControlTower set what the organization, each team, each person, each key and each named agent may spend on AI per period, so cost management happens before a request runs rather than on an invoice. SecondGate enforces every level at request time, alerts fire at a threshold, and a supervisor can grant a one-time top-up. Video: [How to Adjust Budget & Spend in SecondStack](https://docs.secondstack.ai/videos/budget-and-spend/) (4:37) The mockup below shows a person's **Budget and Spend** page at v3.7.2, with one key's amount being typed in. ## How the budget levels fit together A request is charged to a key, and the key sits under a person, a team and the organization, each with a cap of its own. The table lists the levels from the top, with the default site's values. | Level | What it caps | Default site | |---|---|---| | Organization | Everything the platform spends | 10,000 per 30 days | | **Total Team Budget** | Everything a team spends | Set per team, per month | | **User Spend Limit** | One person across all their teams | 400 per calendar month for a new user | | **Team Member Budget** | One person's share of one team | The team's **Default Team Member Budget** | | Chat App key, shown as **Regular models in AI Chat** | Chats and agent turns in the Chat App | 200 | | Agent Claude key, shown as **Agent Claude using API Billing** | Agent Claude when no subscription serves it | 100 | | **API Keys** | Each key a person creates | 50 suggested for a new key | | **Apps & Agents** keys | Organization-level keys for apps and agents, with an optional **Spend cap** | None | A named agent on its own budget has an allocation of its own, per month or per day, on the budget of whoever funds it; an agent that charges whoever uses it runs on the caller's Chat App key. The [Agents overview](/agents/) explains that choice. Three rules hold the tree together. A missing amount means no cap and a zero means a cap that is already spent. A member's share cannot exceed their User Spend Limit or the team's total, though the members' shares together may exceed the team. Lowering a member's share rebalances their keys in proportion. The organization and team caps run per month; budgets set on screen run per calendar month, and a site's defaults or an import can set a daily, weekly or 30-day period instead. ## How SecondGate enforces a budget SecondGate admits a request only while the key and every level above it have room, and it checks before a byte leaves for the provider. A request that would pass any level is refused with HTTP 402 and the reason `budget_exceeded`, and the Chat App tells the person and links them to their budget. Subscription calls are metered as a value for analytics and debit no budget. The budgets reach SecondGate through Sync Job 3, **ControlTower → SecondGate**, every 2 minutes, and a spend window resets on the period's boundary; **Next Reset** on the budget page shows the date. ## How people allocate their own budget A person splits their **Team Member Budget** across their keys on their own **Budget and Spend** page, without an administrator. The page shows **Total User Spend in All Teams**, then one block per team with **Total spend in** that team: 1. Drag a card's slider, or double-click the amount to type one; the hint reads **Double-click to type an amount**. Typed amounts shipped in v3.6.0. 2. Keep the sum within the budget. **Available for allocation** shows what is left, and an allocation over the budget is refused with the amount to reduce. 3. Choose **Save**, or **Reset** to drop the changes. The bar says "Budget allocation changed. Click Save to confirm." until you do. The Chat App card is shared by regular chat, agent reasoning and the model calls agents make; **Usage Analytics & Logs** separates those workloads. A team supervisor edits a member's share under **Team Supervision**, and an administrator sets the User Spend Limit under **Users**. ## How alerts work Each budget scope has one alert threshold, 70% of the budget in the default site, and a team can override its own. Alerts exist for keys, users, team members, teams and Apps & Agents keys; the organization budget has none. - A key, user or team-member alert reaches the person as a Chat App banner, a browser notification and an email. A team or Apps & Agents key alert reaches the supervisors or the administrators as a banner and an email. - The alert worker runs every 15 minutes. An alert fires once per period, again when a new period starts or when the cap rises and spend grows, and a user-level alert silences that user's key alerts. A team alert repeats daily while the team stays over the threshold. - A supervisor sets the team's **Alert threshold (% of Total Team Budget)** under **Team Supervision → Settings**, and the alert texts live under **Localized Content → Budget alerts**. ## How a temporary grant works **Grant temporary spend** adds room to one budget until the current period resets, without changing the configured amount. A team supervisor or an administrator grants it to a team member from the **Members** tab of Team Supervision, and only an administrator grants it to an Apps & Agents key. The grant is refused when the levels above lack the room, and a member's grant lifts the person's own window by the same amount. The budget page then reads "Includes a one-time grant of … on top of your … budget", the person spreads the extra across their keys with the sliders, and saving a changed budget clears the grant. Users, a person's keys, teams and the organization take no grant. ## What usage analytics shows **Analytics & Logs** shows what the platform spent, by whom and on what, and every role sees its own slice. Administrators see the whole deployment, supervisors their teams under **Team Supervision → Usage**, and each person their own under **Usage Analytics & Logs**. - Two reports: **Gateway LLM Traffic**, every request metered at the gateway, and the Chat App's usage. - Four figures: **Total Requests**, **API-billed Cost**, **Subscription-backed Usage Value** and **Total Tokens**, with a toggle between **API-billed**, **Subscription-backed** and **Both**. - **Gateway usage breakdown** stacks the spend by **Users**, **Models**, **Keys**, **Teams** or **Subscriptions**, and **Tokens by type** splits the tokens. - **Request Logs** lists each call with its model, user, tokens, duration and status. Subscription usage shows with a `¤` sign: it is a value, never a charge. The currency sign on every page is a deployment setting the operator makes. ## What budgets do not do - A budget does not convert currencies. The sign is set once for the deployment, and amounts are plain numbers. - A budget does not count subscription calls. They debit nothing and show as a value in analytics. - The organization budget raises no alert, and the screen offers no weekly period: weekly and daily periods come from site defaults or an import. - A temporary grant does not go to a user, a key, a team or the organization, and it never outlives the period. - A person cannot raise their own User Spend Limit or their team's total. Those are the administrator's and the supervisor's. - A refused request is not queued. SecondGate answers at once, and the person asks for a grant or waits for the reset. ## Related - [Your dashboard](/controltower/user-dashboard/) - [People and teams](/controltower/people-and-teams/) - [Agent fleet](/controltower/agent-fleet/) - [Gateway](/gateway/) - [Owners and budgets](/agents/owners-and-budgets/) - [ControlTower](/controltower/) On secondstack.ai: [Every AI agent and every run, in one console](https://secondstack.ai/platform/controltower/) --- ## Your dashboard: keys and budget Source: https://docs.secondstack.ai/controltower/user-dashboard/ Checked against: v3.7.2 Your dashboard is the self-service side of ControlTower: your budget and spend, usage logs, storage, notifications, API keys, devices and subscriptions. Your dashboard is the User Dashboard, the self-service side of ControlTower: your budget and spend, your usage logs, your storage, your notifications, your API keys, your devices and your subscriptions. Every person has one, under their own sign-in, and a team supervisor finds **Team Supervision** in it too. The mockup below shows the API Keys section at v3.7.2. ## How you open it Your dashboard opens from the Chat App's account menu, or directly at `controltower.` followed by your platform's host. The address ends in `/dashboard/user`, and administrators who land on the admin dashboard switch to their own from the header. On a base install the page calls itself **Console**, and your site can give it another name. ## What each section holds The sidebar lists nine sections for everyone, plus two that depend on who you are. Each one answers one question about your own use of the platform: - **Overview** shows tiles for the Chat App, **Budget and Spend**, **Usage Analytics & Logs** and **API Key Management**, and **Team Supervision** for supervisors. - **Budget and Spend** shows your spend in every team and lets you split each team's share across your keys. [Budgets and spend](/controltower/budgets-and-spend/) explains the levels. - **Usage Analytics & Logs** shows your own requests, tokens and cost, opening on the gateway report, with your request logs. - **Storage** shows the space you use in the Chat App, in three groups: **Files**, the Agent Claude sandboxes and the **Assistant workspaces**, with the largest items and a link such as **Show in Library** or **Open chat** for each. - **Notifications** is your **Notification History**: each notice with its channel, a portal banner, a Chat App banner or **Email**, and its state, such as **Dismissed**, **Email sent** or **Email failed**. - **API Keys** creates and lists your keys, as the next section describes. - **Devices** lists the computers you connected through the command-line tool or the desktop app. - **Subscriptions** appears when your site offers personal ChatGPT or Claude subscriptions: ChatGPT Plus, Pro or Business, and Claude Pro or Max, each serving only your requests, with **Connect**, **Retry now** and **Disconnect**. Until you connect one, your requests use the organization's access. - **API Playground** sends a live request through the gateway with one of your keys, chosen under **Select Endpoint**, and shows the raw response, the headers, the token usage and a cURL preview. - **Team Supervision** appears for supervisors only, and **About Platform** shows the platform's architecture. ## How you create an API key An API key is a virtual `sg_` key SecondGate issues to you, with its own budget inside your team share, and it works with any OpenAI-compatible SDK or coding tool. You create one in four steps: 1. Choose **API Keys**, then **Create New API Key**. 2. Enter a **Key Name**, pick the team under **Charge to Team**, and set the **Key Budget**. The form suggests 50 or half of what your team share has left, whichever is lower, and shows how much is available next to your other keys. 3. Choose **Create Key**. The dialog **API Key Created Successfully** shows the key with **Copy to Clipboard** and the API endpoints, including the OpenAI-compatible base URL. 4. Later, open the row's menu for **View API Key**, which shows the full key again, or **Delete**, which disables the key at once. The list shows each key's **Team**, **Budget** and **Spend (current period)**. A team can keep **Members may create API keys** off, in which case the button is gone. ## How you connect a computer **Devices** pairs your computer so the command-line tool and the desktop app can use your access. The **Connect a computer** card points you to the download, and each paired computer then appears as a row with **Rename** and **Revoke**. Revoking signs the computer out and deletes its key, which also stops its local tools and any Agent Claude runtime on it. A new device key starts at zero budget, and **Manage budget and spend** takes you to the page where you raise it. ## What team supervisors see **Team Supervision** is where a supervisor runs their team, in four tabs: **Members**, **Apps & Agents**, **Usage** and **Settings**. - **Members** lists the team with **Add Member**, **Edit Team Member Budget**, **Grant temporary spend**, **Edit API key permission** and **Remove Member**. - **Apps & Agents** holds the team's keys for apps and agents, when the administrator allows supervisors to issue them. - **Usage** shows the team's spend in the same shape as your own analytics. - **Settings** sets the **Alert threshold (% of Total Team Budget)** and the **Default model** that new chats of the team start with; a member's own default still wins. A supervisor can also open a member's dashboard in team context, which shows the member's budget, keys, analytics and notifications, with the keys read-only. ## What your dashboard does not do - Your dashboard does not raise your **User Spend Limit** or your team's total. An administrator sets the first and the team's total is the administrator's too. - Your dashboard does not show other people's usage. Supervisors see their teams, and administrators see everything under [ControlTower](/controltower/). - A key is not shown once only. **View API Key** shows it again, so a lost key is retrieved rather than recreated. - **Notifications** lists no browser notifications. It records banners and emails. - **Subscriptions** is absent on a site that offers no personal subscription pool. - **API Playground** sends real requests that count against the key you pick. ## Related - [Budgets and spend](/controltower/budgets-and-spend/) - [Your first day](/getting-started/first-steps/) - [The desktop app](/chat-app/desktop-app/) - [Gateway](/gateway/) - [ControlTower](/controltower/) On secondstack.ai: [Every AI agent and every run, in one console](https://secondstack.ai/platform/controltower/) --- ## White-label names and theme Source: https://docs.secondstack.ai/controltower/branding/ Checked against: v3.7.2 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. White-label names and theme let a SecondStack site rename the platform, the chat app, the portal and the assistant in `brand.yaml`, and set one colour theme for both apps on the **Site theme** screen. A base install ships neutral names, so the screen your colleagues see can say AI Chat and Console where these docs say Chat App and ControlTower. ## Which names a site can change Seven rows in `brand.yaml` name the platform, the chat app, the portal, the assistant, Agent Claude, the company and its description. The table lists each row with the name a base install shows and where that name appears. | Row | Base install | Where it shows | |---|---|---| | `brand.platform_name` | **AI Platform** | Page titles, emails, the authenticator label, What's New | | `brand.chat_app_name` | **AI Chat** | The Chat App and its web app manifest | | `brand.portal_name` | **Console** | ControlTower's user dashboard, its page title and manifest | | `brand.assistant_name` | **Personal Assistant** | Aster, the personal agent, wherever the app names it | | `brand.agent_claude_name` | **Agent Claude** | The Agent Claude entries in the model picker | | `brand.company_name` | **Your Company** | System prompts | | `brand.company_description` | A placeholder sentence | System prompts, as context about your organization | The first four names take one row per language: a `ru`, `pl`, `de-DE`, `es` or `fr-FR` row overrides the `default` row for that language. Agent Claude and the company rows are English only. Prompts refer to the names through placeholders such as `{{ PLATFORM_NAME }}`, `{{ CHAT_APP_NAME }}` and `{{ COMPANY_NAME }}`, so a renamed site needs no prompt edits. ## How a site applies its names and logos The site repository is the source of the names and logos: `brand.yaml` at its root and the images under `assets/branding/`, imported with `just init-config`. An operator works in that repository, and the import carries the result to both apps: 1. Fill in all seven rows of `brand.yaml`. The upgrade stops while one of them is missing, and it also stops while a `brand.*` row still sits in `localized-content.yaml`. 2. Put the monochrome mark, the app icon and the light and dark logos under `assets/branding/`. 3. Run `check-site-brand` for a dry run, then `just init-config`. The import reads `brand.yaml` and `localized-content.yaml` as one set, in one mode, and refuses a site that carries only one of the two. The default import mode is `replace`, so the repository wins over anything changed on screen. The **Configs Deployment** page plays no part in branding: it deploys the gateway, chat and guardrail configs, and names travel through the site import. ## How the Site theme screen works **Site theme**, under Platform Configuration, takes the CSS of a shadcn theme builder and applies it to the Chat App and ControlTower at once. An administrator pastes the theme, checks it in a preview and publishes it: 1. Open ControlTower and choose **Site theme** in the sidebar. 2. Choose **Edit theme**, paste the CSS with its `:root` and `.dark` blocks and choose **Apply**. The screen reads the 32 standard colour keys; it skips fonts, shadows and other blocks, refuses an unknown key with its line number and only warns about low contrast. 3. Check the result under **Components preview** or **Live preview**, in light and in dark. The draft shows as **Draft, not published**, and **Discard** drops it. 4. Choose **Publish**. The screen keeps no history, so it first offers to download the theme you are replacing. **Download full theme** saves the current one at any time, and **Reset to platform default** restores the colours without touching names or images. The **Names and logos** block on the same screen edits the platform, chat app and portal names per language and takes the four images: **Monochrome mark**, **App icon**, **Logo, light theme** and **Logo, dark theme**, each a PNG or SVG up to 512 KB, with a square PNG app icon of at least 512 px. **Download for the site repository** packs the names and images as a `brand.yaml` plus `assets/branding/` zip, which is how a change made on screen gets back into the repository. **Platform accents** sets the **Highlight**, **Unread mark** and **Mention mark** colours, each on **Auto** or **Custom**. The repository stays the authority. The next site import replaces a name changed on screen and the uploaded images, in every import mode, and the screen says so in a banner. ## Where the other texts live The assistant name, the Agent Claude name, the company name and its description are edited under **Localized Content**, in the LLM Configuration group, together with the other site texts. The page groups them by family: **Guardrail notices**, **Job ideas**, **Budget increase note**, **Budget alerts**, **Help**, **System prompts**, **Personality prompts**, **What's new** and **Brand**. An edit saves at once, and a notice on the page says what the next site import does to it in the site's import mode. ## What changed in v3.7.2 The v3.7.2 release moved the names out of environment variables and into `brand.yaml`. `PLATFORM_NAME`, `PLATFORM_ENV_NAME`, `COMPANY_NAME` and `COMPANY_DESCRIPTION` are retired, and an upgrade removes them from the environment file, so an operator copies their values into `brand.yaml` first. `PLATFORM_ENV_NAME` has no row of its own: a label people must see, such as a staging mark, goes into the platform name. A site that sends email also sets `CONTROLTOWER_SMTP_FROM`, because ControlTower refuses to start with email on and no sender address. ## What white-labelling does not do - It does not rename ControlTower's admin screens. The sidebar, the section titles and the admin texts stay as they ship. - It does not rename the desktop app's installed name, the command-line tool, the SDK packages or the public API, which keep their own names. - It does not recolour emails. Emails carry the site's names and keep a fixed neutral palette. - It does not change the status colours for success, warning and information, the storage colours or the twelve category colours. - It does not stop an agent from saying SecondStack. The agent platform keeps its internal tags, so an agent can still name the product. - It does not keep theme history. Publishing replaces the live theme, and the download before publishing is the only copy of the old one. - It does not change these docs, which keep the product names. [Concepts and names](/getting-started/concepts/) explains how to read them on a renamed site. ## Related - [ControlTower](/controltower/) - [Concepts and names](/getting-started/concepts/) - [Models and access](/controltower/models-and-access/) - [Self-hosting](/self-hosting/) - [Chat App](/chat-app/) On secondstack.ai: [Every AI agent and every run, in one console](https://secondstack.ai/platform/controltower/) # Gateway --- ## SecondGate, the AI gateway Source: https://docs.secondstack.ai/gateway/ Checked against: v3.7.2 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. SecondGate is the AI gateway of SecondStack, the LLM gateway every request from people, agents and apps passes through, with model access denied by default, budgets and a record. The Chat App, every agent, Agent Claude and your own code call the same gateway with a virtual key. Administrators set access and budgets once, for all of them. The diagram below shows the request path at v3.7.2. People, agents and apps send a request. SecondGuard masks personal data and secrets. SecondGate applies model access and the budget, writes the record and sends the request to a provider on your account or to a model on your own GPU. ## What SecondGate does with a request SecondGate checks the key, applies model access and the budget, routes the request to a provider on your account and writes one record. 1. The request arrives at `/gateway/api` with a virtual key, an `sg_` bearer credential that SecondGate stores only as a hash. [SecondGuard](/gateway/secondguard/) has already masked what your rules say. 2. SecondGate looks up what the key may use. Access is denied until an administrator grants a model, so a key with no grant gets an error rather than a default model. 3. SecondGate checks the budgets of the key, the person, the team and the organization. It refuses the request when one of those limits is spent. 4. SecondGate sends the request to the provider that serves the model, with your provider's own credential. On the API route it fails over across a model's provider bindings by priority, up to the attempts your site allows. On the subscription route it spreads requests across a pool in round robin. 5. SecondGate returns the answer and writes one row for every provider attempt to the ledger that ControlTower shows. ControlTower sits beside the gateway, off the request path. A request never waits for the admin console. ## How virtual keys work A virtual key is an `sg_` key SecondGate issues to a person, team, application or agent, shown once, with its own budget and its own model access. - A virtual key replaces the provider key in every client. - People create their own keys in ControlTower under **API Keys** for their scripts, coding tools and apps. [Your dashboard](/controltower/user-dashboard/) covers that page. - Teams and administrators create **Apps & Agents Keys** for applications and background work, each with its own budget and access. - Every connected computer gets a key of its own, so its spend and its record stay separate. - A virtual key never reveals a provider credential. SecondGate keeps provider keys encrypted and sends them only to the provider. ## How model access and budgets apply An administrator grants each model to everyone, to teams, to people or to keys, and SecondGate refuses any request outside those grants or beyond the budget that covers it. - Grants have two channels, **Access from Chat App** and **Access via direct API**, so a model can be open in chat and closed to code, or the reverse. [ControlTower](/controltower/) holds the editor. - Budgets run per day, week or month, or without a period, and apply to the organization, the team, the person, the key and the agent. ControlTower's organization and team caps are monthly. - A request that would pass its limit stops before SecondGate calls the provider. The operator sets a small exposure limit that bounds the overshoot parallel requests can cause. - Subscription use through a ChatGPT or Claude pool debits no budget. SecondGate records it, and the Chat App marks it with a smiley badge. [Model providers](/gateway/providers/) explains the pools. - A key or a model can run in virtual billing: SecondGate records the full usage and its priced value and debits nothing. ## What the record keeps Every provider attempt writes one row with the key, the billing scope, the model, the provider model, the tokens by class, the priced value, the budget debit and any request tags. Failed attempts stay visible beside the ones that succeeded. SecondGate counts tokens as new input, cache reads, cache writes and output, so a cached conversation shows where its cost went. ControlTower shows the rows under **Usage Analytics & Logs** and shows each agent run under **Agent Activity** with its model calls. SecondGate keeps no prompts, response bodies, media or plaintext keys, so the record holds metadata only. [Call SecondGate from your code](/developers/gateway-api/) draws one record as a receipt. ## Questions ### Does SecondStack host or resell AI models? No. SecondStack hosts no models and resells none. Your administrator connects the provider accounts your company already has, such as Anthropic, OpenAI, Google and OpenRouter. Your administrator can also add ChatGPT or Claude subscriptions as pools, or serve open-weight models from your own GPUs through vLLM. [Model providers](/gateway/providers/) lists what connects. ### Does SecondGuard scan model answers? No. SecondGuard runs in front of SecondGate on the request path and blocks, masks or logs secrets and personal data in each request and in attachments. On the way back it only restores the values it masked, streaming included. [SecondGuard guardrails](/gateway/secondguard/) states the limits. ### Where do our chats and files live? In your own stores. Chats and application data stay in your PostgreSQL, attachment bytes in your object storage or a local volume, and embeddings in your Qdrant. Model input still leaves for the providers your site connects. SecondGate persists no prompts or responses. [Self-hosting](/self-hosting/) describes the stack. ## What SecondGate does not do - SecondGate does not inspect or mask content. SecondGuard does that in front of it. A site that turns SecondGuard off sends requests through unchanged. - SecondGate stores no prompts, response bodies, media or plaintext keys. The record holds metadata and counts. - A request on the API route never falls back to a subscription pool. A request on the subscription route never falls back to an API key. - SecondGate does not retry a refused request on another model. A key without a grant or without budget gets an error. - Request tags attribute traffic in the record and grant nothing. Access comes only from grants. - Only the inference endpoints are reachable from outside. The gateway's control, metrics and broker routes stay inside the deployment. ## Related - [SecondGuard guardrails](/gateway/secondguard/) - [Model providers](/gateway/providers/) - [Call SecondGate from your code](/developers/gateway-api/) - [Models and access](/controltower/models-and-access/) - [Budgets and spend](/controltower/budgets-and-spend/) - [What is SecondStack](/getting-started/what-is-secondstack/) On secondstack.ai: [How SecondGate checks every AI call](https://secondstack.ai/platform/gateway/) ## In this section - [SecondGuard guardrails](/gateway/secondguard/): 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](/gateway/providers/): 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. See also: [Developers](/developers/), [ControlTower](/controltower/) On secondstack.ai: [How SecondGate checks every AI call](https://secondstack.ai/platform/gateway/) --- ## SecondGuard guardrails Source: https://docs.secondstack.ai/gateway/secondguard/ Checked against: v3.7.2 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. SecondGuard is the guardrail service in front of SecondGate that blocks, masks or logs secrets and personal data on the request path and restores masked values in the answer. It runs on your own hosts and guards the Chat App, every agent, Agent Claude and your own code. Administrators choose what each guard does. The screen below shows one turn in the Chat App with two values masked. The sent message keeps its marks. The **Detected and masked** popover lists the checks that ran and the placeholder types. The answer shows the address restored. ## Where SecondGuard sits SecondGuard is its own proxy between the web front door and SecondGate: a request goes from the client to OpenResty, to the SecondGuard proxy, to [SecondGate](/gateway/) and on to the provider. SecondStack deploys the proxy by default, with `SECONDGUARD_DEPLOY=true`. The proxy fails closed, so no request reaches a model while it is deployed and down. A site that sets `SECONDGUARD_DEPLOY=false` inspects nothing, and every request passes through unchanged. Detection runs in a worker fleet beside the proxy, so a site can add workers when it needs more capacity. ## What a guard can do Each guard binds to models, or to model tags, with one of three dispositions, and the strictest wins when several match: `block` over `mask` over `log`. - **block** rejects the request with a structured error. The Chat App shows **Blocked by a guardrail** and names the check, and an agent turn reports "Request blocked by guardrails" with the guards that matched. - **mask** replaces each matched span with a placeholder, forwards the request, and restores the original in the answer. - **log** detects and audits only, and forwards the request untouched. The guard types at v3.7.2 are regex rules, word lists, an LLM check on a message, an LLM check on an image or file part, a system prompt instruction that tells the model how to treat placeholders, high-entropy secret detection, Presidio for named entities, and site modules a site writes itself. A `mask` binding on a structural field, such as a tool name, is applied as `log`, because the model needs that field intact. ## How masking and restoring work SecondGuard replaces a detected value with a placeholder such as `[@##@:EMAIL_1]`, sends the placeholder to the model, and puts the original back wherever the placeholder appears in the answer. - The same original gets the same placeholder every time, across requests, sessions and users, so a model can reason about "EMAIL_1" through a whole conversation. - Originals are stored encrypted, and a request can restore only the placeholders it was shown. - Streaming answers are restored on the way through. The proxy keeps a short tail per field, so a placeholder split across two chunks still reassembles. - Tool-call arguments are restored too, before the Chat App stores a message or an agent runs a tool. An agent that echoes a masked credential into a tool call therefore gets the real value, and the model never did. - In the Chat App, a masked span in your sent message carries a tooltip (**Masked as**) with its placeholder, and a restored span in the answer carries **Unmasked from**. ## How attachments are scanned The Chat App submits every upload for scanning before the file becomes usable, images as bytes and everything else as the text extracted from them. A blocked file loses its bytes, a masked file gets a preview, and the real masking happens inline when the file's text enters a request. An attachment shows **Security scanned**, **Sensitive content masked**, **Blocked**, **Scan unavailable** or **Security scan incomplete** in the thread. Collections are scanned when their text is retrieved into a prompt, not when a file is added. ## What the default site does The default site masks credentials and API keys for every model, masks email addresses and payment data toward provider-hosted models, logs high-entropy strings, and ships Presidio configured but off. SecondStack's own test suite runs behind this light posture, and it detects almost no personal data, so a production site needs its own policy. A second site configuration, `default-guardrails`, turns on every guard type. Your administrator sets the policy on the **Guardrails** page in ControlTower, with the tabs **Guards**, **Stats**, **Audit log**, **Validation** and **Cache**. **Deploy Guardrails Configuration** applies it. The **Stats** tab counts outcomes as **Allowed (as-is)**, **Allowed (logged)**, **Allowed (with masking)**, **Blocked** and **Refused (unavailable)**. ## For administrators An administrator sets the guards, binds them to models or tags, chooses what a failed check does and adds exemptions. - Each model carries **Guardrail Tags (SecondGuard)** in its editor, and a guard binds to every model, to one model or to a tag such as `external`, so one rule can cover all provider-hosted models and skip the ones on your own GPU. - A guard's fail mode decides whether a check that times out or errors stops the request or lets it through. - Exemptions come from an allow list, an email domain allow list and, per request, a header that names literals to leave alone. - A site that ran without guardrails adds the worker fleet file, `guardrails.yaml` and the `guardrails_*` settings, sets `SECONDGUARD_DEPLOY=true` and runs `just init`. - A site can journal requests and attachments for security review under its retention policy, and the popover tells people so. [Self-hosting](/self-hosting/) covers the deployment, and [What is SecondStack](/getting-started/what-is-secondstack/) shows where SecondGuard sits on the map. ## What SecondGuard does not do - SecondGuard does not scan answers. It only restores masked values on the way back, so it never looks for prompt injection, dangerous tool calls or wrong facts in a response. - SecondGuard catches accidental disclosure. A value split across messages, encoded or spelled in a variant is a different string to it and gets its own placeholder, or none. - SecondGuard does not run OCR, transcription or PDF parsing itself. It cannot mask anything inside a binary attachment, and audio sent for transcription passes verbatim. - SecondGuard never fetches a URL that a message mentions. - SecondGuard does not mask dates or birthdays. It also judges a value without context, so a number that looks like a card number counts as one. - Guards bind only to models and tags. An administrator cannot set a rule per team, group or person. - The LLM check guards see the unmasked content, because they are the ones deciding what to mask. - SecondGuard does not encrypt your database. It protects what leaves for a provider, and application stores keep plaintext. ## Related - [Gateway](/gateway/) - [Model providers](/gateway/providers/) - [Call SecondGate from your code](/developers/gateway-api/) - [Concepts and names](/getting-started/concepts/) On secondstack.ai: [How SecondGate checks every AI call](https://secondstack.ai/platform/gateway/) --- ## Model providers and self-hosted LLMs Source: https://docs.secondstack.ai/gateway/providers/ Checked against: v3.7.2 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. 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. SecondStack hosts no models and resells none. Your administrator connects the accounts your company already has, and [SecondGate](/gateway/) carries every request to them under your model access and your budget. ## Which providers SecondGate connects At v3.7.2 a site connects Anthropic, OpenAI, Google and OpenRouter with API keys, adds ChatGPT and Claude subscriptions as pools, and serves open-weight models from its own GPU through vLLM. The provider form in ControlTower asks for a **Backend Service** (SecondGate, vLLM or custom) and a **Provider Backend Type**. The types at v3.7.2 are OpenAI, Anthropic, Gemini, Vertex AI, Azure AI, Azure, Bedrock, Databricks, xAI, OpenRouter, TypeSafe, Exa, Brave Search, SecondStack search and hosted vLLM. Exa, Brave Search and SecondStack search serve the gateway's search model, which agents on Anthropic models use for web search. ## How an administrator connects a provider An administrator gives SecondStack at least one provider key at install, and adds or changes providers later in ControlTower. 1. Before the first start, set one or more of `INITIAL_ANTHROPIC_API_KEY`, `INITIAL_OPENAI_API_KEY`, `INITIAL_GEMINI_API_KEY` and `INITIAL_OPENROUTER_API_KEY` in the site's environment. The install needs at least one, and the OpenAI key is the recommended one because some services depend on it. `INITIAL_EXA_API_KEY`, `INITIAL_BRAVE_SEARCH_API_KEY`, `INITIAL_TYPESAFE_AI_API_KEY`, `INITIAL_CEREBRAS_API_KEY`, `INITIAL_AZURE_DATABRICKS_API_KEY` and `INITIAL_AZURE_DATABRICKS_BASE_URL` are optional. 2. After the first start, open ControlTower and the providers page. Each provider has a **Backend Service**, a **Provider Backend Type** and its credential. SecondGate encrypts provider keys at rest, and the key never reaches a person or an app that calls the gateway. 3. Grant models to people, teams and keys. Access is denied until someone grants it. [Models and access](/controltower/models-and-access/) describes the two channels, Chat App and direct API. A provider is one account. A model that two providers serve has one binding per provider, and SecondGate fails over across them by priority. The default site allows 2 attempts for a model with several bindings. An administrator can set 1 to 3 with `secondgate_default_max_attempts`. A model with one binding fails on the first error. ## How subscription pools work A subscription pool lets a site share ChatGPT or Claude subscriptions it already pays for, and requests on a pool debit no platform budget. - The operator turns a pool on with `CHATGPT_SUBSCRIPTION_DEPLOY=true` or `CLAUDE_SUBSCRIPTION_DEPLOY=true`, restarts the credential broker with `./force_restart.sh credential-broker`, runs `just init-config` and supplies `INITIAL_CHATGPT_REFRESH_TOKEN` or `INITIAL_CLAUDE_SETUP_TOKEN`. - In ControlTower the pool appears as a **ChatGPT subscription pool** or a **Claude subscription pool**, with the subscriptions it holds. - In the Chat App a subscription entry shows a smiley badge beside the model's name, and the setting **Auto: subscription models only** keeps the automatic choice on those entries. - From code, a subscription model answers under `/gateway/api/subscription/v1/` and not under `/gateway/api/v1/`. SecondGate spreads requests across the pool in round robin. A request on one route never falls back to the other. [Call SecondGate from your code](/developers/gateway-api/) shows both routes. ## How one SecondStack borrows another's providers A relay pool lets one SecondStack deployment use the subscriptions of another through one parent key, and chained bindings do the same for API providers. - A **ChatGPT relay pool** or a **Claude relay pool** points at the parent's `/gateway/api/subscription/v1` with an `sg_` key the parent issued. The link must use HTTPS. SecondGate refuses a fifth hop in a chain. - For API providers, `INITIAL_OPENAI_API_BASE_URL`, `INITIAL_ANTHROPIC_API_BASE_URL` and `INITIAL_GEMINI_API_BASE_URL` take the parent's `/gateway/api` root, with the parent's `sg_` key as the credential. Subscription pools, vLLM and the speech model do not chain. - A **SecondStack search** provider lets the child site search through the parent's search model with a parent key. - An administrator can reserve a pool for one Apps & Agents key, so one application owns that capacity. The parent sees each borrowed request in its own record and charges it to the key it issued. ## How self-hosted models run on vLLM Self-hosted models run in vLLM on the site's own NVIDIA GPUs, one vLLM service per model, and SecondGate serves them like any other provider. - The operator sets `VLLM_DEPLOY=true` and `VLLM_GPU_ENABLED=true`. The second setting attaches every NVIDIA GPU on the host and needs the NVIDIA container runtime. Both are off by default. - Each model gets a provider with the backend type **hosted vLLM**, an `apiBaseUrl` of the form `http://vllm-:8000/v1` and the site's `VLLM_API_KEY`. The hosted vLLM type is for chat models only. - A vLLM model can serve the Chat App, agents, Agent Claude and the Anthropic Messages surface that Claude Code uses, and a reasoning switch exists for vLLM and llama.cpp models since v3.6.0. The `default-local-gpu` site configuration shows the whole stack on local models: Qwen3.6-35B-A3B and Qwen3-4B-Instruct for chat and agents, Qwen3-Embedding-0.6B for Collections, Qwen-Image-2.1 for images and Parakeet for speech. The configuration is a development setup, verified on one arm64 NVIDIA GB10 host with 128 GB of unified memory. Its sample environment turns SecondGuard off. The Qwen-Image-2.1 license allows non-commercial research and evaluation only, so a production site replaces that model. ## What model providers do not do - SecondStack does not host or resell models. Every request runs on an account you own or a GPU you run. - A provider key never leaves SecondGate. People and apps hold `sg_` keys, and only SecondGate talks to the provider. - Subscription pools and API keys stay on separate routes. A request on `/subscription/v1/` never falls back to an API key, and a request on `/v1/` never falls back to a pool. - The `default-local-gpu` configuration is a development setup verified on one host. The product does not size it for a team. - A relay chain stops at four hops and runs only over HTTPS. - Models and picker groups come from each site's configuration. This page promises no model on every site. ## Related - [Gateway](/gateway/) - [SecondGuard guardrails](/gateway/secondguard/) - [Call SecondGate from your code](/developers/gateway-api/) - [Models and access](/controltower/models-and-access/) - [What is SecondStack](/getting-started/what-is-secondstack/) On secondstack.ai: [How SecondGate checks every AI call](https://secondstack.ai/platform/gateway/) # Developers --- ## SecondStack for developers Source: https://docs.secondstack.ai/developers/ Checked against: v3.7.2 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. 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. Whichever door you take, the same virtual key carries your model access and your budget, every request passes SecondGuard, and every call leaves one record in ControlTower. ## The four doors - **Call SecondGate from your code.** Your app or script sends OpenAI-compatible or Anthropic requests to `/gateway/api` with an `sg_` key. [Call SecondGate from your code](/developers/gateway-api/) has the endpoints, the subscription route and the record. - **Point your coding tools at it.** The SecondStack CLI signs your computer in once, then `secondstack claude` and `secondstack codex` run the tools you already have through the gateway, on subscription seats or on a key. [Run Claude Code through SecondGate](/developers/coding-tools/) covers the CLI, the desktop app's setup card and Devices. - **Run Agent Claude in a sandbox.** Agent Claude runs Claude Code in a container per thread, on the platform host or on your computer, with SSH, VS Code and Skills. [Agent Claude](/developers/agent-claude/) explains how a thread runs and when a named agent is the better choice. - **Embed agents.** The Agents API lets an application your administrator registers in ControlTower call SecondStack agents and place a chat widget on your own site. It is off until an administrator enables it, and this section has no page for it yet. The [web widget video](/videos/web-widget/) shows the widget, and an administrator registers Applications in [ControlTower](/controltower/). Every door ends in the same place. [SecondGuard](/gateway/secondguard/) masks what your rules say, [SecondGate](/gateway/) carries the request, and [your dashboard](/controltower/user-dashboard/) shows the record and the budget. ## In this section - [Call SecondGate from your code](/developers/gateway-api/): Call SecondGate from your code with a virtual key: the OpenAI-compatible and Anthropic endpoints under /gateway/api, the subscription route and refusals. - [Coding tools](/developers/coding-tools/): 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](/developers/agent-claude/): 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. See also: [Gateway](/gateway/), [Self-hosting](/self-hosting/), [What is SecondStack](/getting-started/what-is-secondstack/) --- ## Call SecondGate from your code Source: https://docs.secondstack.ai/developers/gateway-api/ Checked against: v3.7.2 Call SecondGate from your code with a virtual key: the OpenAI-compatible and Anthropic endpoints under /gateway/api, the subscription route and refusals. Call SecondGate from your code with a virtual key: the OpenAI-compatible and Anthropic endpoints under `/gateway/api`, the subscription route and refusals. Your code calls [SecondGate](/gateway/) the way it would call a provider. SecondGuard and SecondGate apply your rules, model access and budget before the request leaves. ## Where the gateway is The gateway answers at `/gateway/api` on your platform's host, over HTTPS, and the examples below use `https://ai.example.com` in its place. Two families of endpoint sit under it at v3.7.2: - OpenAI-compatible, under `/gateway/api/v1/`: `chat/completions`, `responses`, `responses/compact`, `embeddings`, `audio/transcriptions`, `images/generations`, `images/edits`, `models` and `model/info`. - Anthropic Messages, under the same prefix: `messages` and `messages/count_tokens`. The API Keys page shows `https://ai.example.com/gateway/api` as the **Anthropic base URL (Claude Code)** and `https://ai.example.com/gateway/api/v1` as the **OpenAI-compatible base URL (SDKs and CLIs)**. Gemini's own `generateContent`, `streamGenerateContent`, `countTokens` and `embedContent` answer under `/gateway/api/v1beta/models/:`. A `search` endpoint serves the gateway's search model. Only these inference endpoints are reachable from outside. The control and metrics routes stay inside the deployment. ## Get a virtual key A virtual key starts with `sg_`, belongs to a person, a team, an application or an agent, and carries its own budget and its own model access. 1. Open ControlTower. From the Chat App, **Settings → Usage and API Access** takes you there. 2. Choose **API Keys**, then **Create New API Key** and **Create Key**. The page says **API Key Created Successfully** and asks you to copy the key now. 3. Put the key in your environment. `GET /gateway/api/v1/models` with the key lists the models it may use. If the list is empty, ask your administrator for a grant under **Access via direct API**. A team lead creates keys for applications and background jobs under **Apps & Agents Keys**, each with its own budget. A key stops working when you delete it, and **Delete API key?** asks first. ## Send a request Send the request as you would to the provider, with the virtual key as the bearer token and the gateway as the base URL. ```bash curl https://ai.example.com/gateway/api/v1/chat/completions \ -H "Authorization: Bearer $SECONDGATE_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "gpt-6.1-terra", "messages": [ { "role": "user", "content": "Summarize this vendor review in five lines." } ] }' ``` Any OpenAI SDK works the same way: set the base URL to `https://ai.example.com/gateway/api/v1` and the API key to the virtual key. ```python import os from openai import OpenAI client = OpenAI( base_url="https://ai.example.com/gateway/api/v1", api_key=os.environ["SECONDGATE_KEY"], ) reply = client.chat.completions.create( model="gpt-6.1-terra", messages=[{"role": "user", "content": "Summarize this vendor review in five lines."}], ) ``` The model name is the id your site defines, as the `models` endpoint lists it. The default site ships `gpt-6.1-terra`. SecondGate fails over across a model's provider bindings by priority, up to the attempts your site allows. ## The subscription route Models your organization reaches through a ChatGPT or Claude subscription pool answer under `/gateway/api/subscription/v1/`, with the same request shape. A request on the subscription route debits no budget, and the record still shows the usage. SecondGate spreads the pool's requests in round robin. The two routes never fall back to each other, so a subscription model asked for on `/v1/` returns an error. The Gemini endpoints have no subscription route. [Model providers](/gateway/providers/) explains how an administrator sets up a pool. ## What the record keeps Every provider attempt writes one row to the ledger, and ControlTower shows yours under **Usage Analytics & Logs** and an agent's under **Agent Activity**. A row holds the key and its billing scope, the model and the provider model, the tokens, the priced value, the budget debit and the request tags your client sent. A failed attempt stays visible beside the one that succeeded. SecondGate keeps neither the prompt nor the response body. ## When a request is refused SecondGate fails closed and returns an error when a key has no grant on the model, when a budget is spent or when the model does not answer on the route you called. SecondGate passes provider errors back unchanged. The platform rewords only errors about your organization's provider account, such as a reached spend cap, and keeps the provider's message after its own text. SecondGate does not retry a refused request on another model. ## What the gateway API does not do - The gateway does not fall back between `/v1/` and `/subscription/v1/`. Your code picks the route the model lives on. - The gateway does not pick a default model for you. A request never reaches a model the key has no grant for. - SecondGate stores no prompts, responses or media. A client that needs its history keeps it itself. - Request tags attribute traffic in the record and grant nothing. - This page does not cover the Agents API. That is a separate surface under `/agents/api/v1`, and it is off by default. ## Related - [Gateway](/gateway/) - [Coding tools](/developers/coding-tools/) - [Model providers](/gateway/providers/) - [SecondGuard guardrails](/gateway/secondguard/) - [Your dashboard](/controltower/user-dashboard/) - [Models and access](/controltower/models-and-access/) --- ## Run Claude Code through SecondGate Source: https://docs.secondstack.ai/developers/coding-tools/ Checked against: v3.7.2 Run Claude Code through SecondGate with the SecondStack CLI: secondstack login, claude and codex, the install commands, Devices, plus Cursor and similar tools. Run Claude Code through SecondGate with the SecondStack CLI: `secondstack login`, `claude` and `codex`, the install commands, Devices, plus Cursor and similar tools. The CLI signs your computer in once. From then on Claude Code and Codex send every request through [SecondGate](/gateway/), on your company's subscription seats or on a virtual key. ## Install the SecondStack CLI You install the CLI from your own platform's address with one command, and it signs you in as it finishes. 1. Ask your administrator whether the CLI is turned on. It stays off until the operator sets `SECONDSTACK_CLI_DEPLOY=true`. The default site offers Codex and Claude Code, and a site without the `secondstack_cli_coding_tools` setting offers Codex only. 2. On macOS or Linux, run `curl -fsSL https://ai.example.com/install.sh | sh`, with your platform's address in place of `ai.example.com`. On Windows, run `irm https://ai.example.com/install.ps1 | iex` in PowerShell. Add `-s -- --no-login` or `-NoLogin` to install without signing in. 3. The installer places `secondstack` under `~/.secondstack/bin/`, verifies the download's digest and opens your browser for sign-in. `secondstack login` repeats the sign-in, with `--portal URL`, `--no-browser` and `--team ` as options, and `secondstack status` shows where you are signed in. The CLI installs neither Claude Code nor Codex. When a tool is missing or too old it says so and names the minimum: Codex 0.134.0 and Claude Code 2.1.303 at v3.7.2. ## Use SecondGate as a Claude Code proxy `secondstack claude` starts the Claude Code you already have with SecondGate as its Anthropic endpoint, for this one launch, and your own Claude Code setup does not change. - `secondstack claude` passes `ANTHROPIC_BASE_URL` and a session credential to Claude Code and keeps the key out of the command line. Any arguments after the command go to Claude Code. - `secondstack claude --billing api` bills the API through a virtual key instead of a subscription seat. Codex and Claude Code use subscription seats by default. - `secondstack install-claude` writes the same settings into Claude Code's `settings.json`, so plain `claude` goes through SecondGate from then on. `secondstack uninstall-claude` takes them out. - `install-claude` refuses to overwrite a Claude Code that already holds its own API key or token. It also turns off the login prompt of the Claude Code extension in VS Code, VS Code Insiders, Cursor, Windsurf and VSCodium. - `secondstack install-claude-desktop` and `secondstack uninstall-claude-desktop` do the same for the Claude desktop app. Claude Code gets `https://ai.example.com/gateway/api` as its base URL, which the API Keys page shows as **Anthropic base URL (Claude Code)**. Claude Code adds `/v1/messages` itself. Every request shows in your record, and SecondGuard masks what your rules say before it leaves. ## Run Codex through SecondGate `secondstack codex` starts Codex under a SecondStack profile, and `secondstack install-codex` makes that profile the default. - `secondstack codex` launches Codex with a profile of its own and passes the key in `SECONDSTACK_API_KEY`. `--billing api` works here too. - `secondstack install-codex` writes a `secondstack` provider into Codex's `config.toml`. The Codex app shares that file, so reopen the app and start a new thread after the change. `secondstack uninstall-codex` reverts it. ## Set up a tool by hand `secondstack manual-setup` prints the settings the install commands would write, for a tool the CLI does not configure or for another computer. 1. Run `secondstack manual-setup claude` or `secondstack manual-setup codex`, with `--billing subscription` or `--billing api` to choose the route. The key is masked unless you add `--show-key`. 2. Add `--another-computer` for a copy with portable paths and the command that issues a key on that computer. 3. For Cursor and any other tool that takes an OpenAI-compatible base URL and an API key, use `https://ai.example.com/gateway/api/v1` as the base URL and a virtual key from **API Keys** in ControlTower. [Call SecondGate from your code](/developers/gateway-api/) shows the endpoints and the request shape. The CLI configures only the Claude Code extension inside those editors. ## Set up from the desktop app The desktop app sets up Codex, Claude Code, the Codex app and the Claude desktop app from one card, sharing the CLI's setup core. Open the **Coding agents** card in the desktop app. Each tool has **Reconfigure**, **Revert** and **Manual setup**. **Reconfigure** also takes over a setup the CLI made. The Claude desktop app row chooses between subscription and API billing. A Linux server without a display does the same through `desktop-runtime coding-agents status` and `desktop-runtime coding-agents connect-key`. [The desktop app](/chat-app/desktop-app/) covers installation and pairing. ## Devices Every computer you sign in from appears under **Devices** in ControlTower, with its own key, and you can rename or revoke it there. The page marks each device as **CLI** or **Desktop app** and offers **Rename** and **Revoke**. **Connect a computer** shows the install commands. A new device key starts with a budget of 0. That budget blocks API billing until an administrator raises it, and it does not block subscription use. Revoking a device signs the computer out, deletes its key and cuts off the coding agents running on it. To use the computer again, connect it again. `secondstack logout` signs out from the computer's side. `secondstack update` fetches the CLI version your platform publishes. ## What the CLI does not do - The CLI does not install or update Claude Code or Codex. It starts the ones you have and names the minimum version when one is too old. - A site without the `secondstack_cli_coding_tools` setting offers Codex only, so `secondstack claude` is not on offer there. - The CLI does not configure an editor's own models. In Cursor, Windsurf and the VS Code family it touches only the Claude Code extension, and you set the editor's built-in models by hand. - `install-claude` refuses to overwrite a Claude Code that already carries an API key or an OAuth token of its own. Remove that setting first. - A device key with a budget of 0 cannot bill the API. Subscription seats still work. ## Related - [Call SecondGate from your code](/developers/gateway-api/) - [Agent Claude](/developers/agent-claude/) - [Gateway](/gateway/) - [Your dashboard](/controltower/user-dashboard/) - [The desktop app](/chat-app/desktop-app/) - [Model providers](/gateway/providers/) --- ## Agent Claude: Claude Code in a sandbox Source: https://docs.secondstack.ai/developers/agent-claude/ Checked against: v3.7.2 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. Agent Claude is SecondStack's way to run Claude Code in a long-lived sandbox per thread, on the platform host or on your own computer. It is a Chat App mode for developers, separate from the three kinds of agent. Every request it makes still passes [SecondGate](/gateway/) and SecondGuard. The screen below shows Agent Claude in its thread at v3.7.2. The **Agentic Sandbox** dialog is open with the runtime, the SSH command, **Open in VS Code** and the workspace files. ## How a thread runs Each Agent Claude thread gets one Docker container that runs Claude Code, and the container stays up while the thread needs it. 1. In the Chat App, open the model picker and choose **Agent Claude** in the **AGENT CLAUDE** group. The entry with a smiley badge runs on your company's Claude subscription. The entry with a `$$$` badge bills the API and charges your budget. Your site shows one or both. 2. Pick the runtime before the first message: **Cloud runtime** on the platform host, or your own computer through the desktop app. The choice is pinned for the thread. 3. Write the task. Claude Code works inside the container with a terminal, the files you attach and the Skills your site provides. The answer returns to the thread with the files Claude Code made. The container runs as a non-root user with sudo inside it, so Claude Code can install what a task needs. The default configuration allows up to 100 MiB per file transfer. ## Where the sandbox runs A sandbox runs on the platform host by default, and on your own computer when your administrator allows desktop runtimes and you turn Agent Claude on in the desktop app. - **Cloud runtime** uses a thread workspace on the platform host. An administrator turns it on with `SERVER_RUNTIMES_ENABLED`. - The desktop runtime uses a thread workspace or a folder you register, so Claude Code works on your own files. An administrator turns it on with `DESKTOP_RUNTIMES_ENABLED`, and [the desktop app](/chat-app/desktop-app/) asks you once after sign-in, with **Use Agent Claude on this computer?**, **Turn on** and **Not now**. It needs Docker on your computer. Chats and local connectors work without Docker. - In the default configuration a sandbox stops after 1 hour without workspace or SSH activity and after 48 hours in any case. An open connection alone does not count as activity. **Add time** in the **Agentic Sandbox** dialog extends the sandbox by 1 hour. - The default limits are 2 CPUs, 3 GB of memory and 20 GiB of disk, with a warning at 10 GiB. ## SSH and VS Code You can open the sandbox in your terminal over SSH, and in VS Code through its Remote - SSH extension, as long as your administrator has turned SSH access on. 1. Add your public key under **Settings** in the Chat App. The **Agentic Sandbox** dialog then shows your SSH command, in the form `ssh @ -p `, with **Copy SSH command** beside it. 2. Run the command in a terminal. The user name is derived from the thread, and only the person who started the thread can connect. 3. Choose **Open in VS Code** to open `/workspace` in VS Code over Remote - SSH, which the extension must provide. On the platform host the operator deploys the SSH gateway with `SSH_PIPER_DEPLOY=true` on port 2222 and lists the groups that may use it in `SSH_RUNTIME_ALLOWED_GROUPS`. The Kubernetes install uses port 32222. A sandbox fixes its SSH settings when it starts, so a change takes effect on the next sandbox. On your computer the desktop runtime keeps SSH off by default. When you turn it on, it listens on the loopback address only. ## Skills in the sandbox The sandbox ships 15 built-in Skills at v3.7.2, and you add your own under **User skills**. The built-in set covers draw.io diagrams, a browser you can watch, retrieval over your Collections, managing your own Skills, and Anthropic's Skills for Word, Excel, PowerPoint and PDF files, web artifacts, front-end and canvas design, themes, the Claude API and MCP server building, and co-authoring documents. Your administrator can add Skills for the whole organization. A Skill you add appears under **User skills** in the file dialog. Agent Claude does not offer the `/schedule` command, because [Jobs](/agents/jobs/) belong to the three kinds of agent. ## When a named agent is the better choice Pick Agent Claude for software work, and a named agent when other people need the result or a role should outlive one conversation. Agent Claude works under your own identity. A [named agent](/agents/named-agents/) has its own name, an owner, a budget, a record under its own name and a place in Projects and channels. The [project agent](/agents/project-agent/) answers for a whole Project. [Which agent do I use?](/getting-started/which-agent/) sets the four side by side. ## What Agent Claude does not do - Agent Claude is a Chat App mode, separate from the three kinds of agent. It joins no Project, holds no Jobs and has no channel. - A sandbox on the platform host works on a thread workspace only. Your own folders need the desktop runtime. - The subscription entry and the API-billed entry never fall back to each other. A subscription out of capacity returns an error rather than billing the API. - The guardrails indicator of a turn does not show in an Agent Claude thread, although every request still passes SecondGuard. - Only the person who started a thread can connect to its sandbox over SSH. - Agent Claude does not run Git, `gh` and HTTP commands with your connected accounts in its own sandbox. At v3.7.2 those commands run in disposable agent workspaces. ## Related - [Coding tools](/developers/coding-tools/) - [Call SecondGate from your code](/developers/gateway-api/) - [Which agent do I use?](/getting-started/which-agent/) - [The desktop app](/chat-app/desktop-app/) - [Workspaces](/agents/workspaces/) - [Skills](/agents/skills/) # Self-hosting --- ## Self-hosted AI platform: overview Source: https://docs.secondstack.ai/self-hosting/ 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. Self-hosting SecondStack means running the platform on **your own infrastructure**. It is self-hosted today: you deploy it on a virtual machine you control, connect your own LLM providers, and keep all data in your environment. Managed SaaS and AWS Marketplace are coming. ## Deployment model The platform ships as a set of containerized services orchestrated with **Docker Compose**, using pre-built images. The simplest deployment is a single Linux VM: unpack the release, set a few environment variables, and run the initialization script. For production, you expose the VM over HTTPS, point a DNS domain at it, and connect enterprise single sign-on. If you would rather not operate it yourself, managed SaaS is coming soon. If this is your case and you need it, [contact us](https://secondstack.ai/#demo) and tell us about your deployment. ## Three steps to production 1. **Deploy.** Provision a Linux VM and run the platform setup. Docker Compose brings up every service — PostgreSQL, OpenResty, the LLM gateway, ControlTower, content extraction, search, and the dashboards — pre-configured. 2. **Connect providers.** Add your LLM provider API keys in [ControlTower](/controltower/). Supported providers include Anthropic, OpenAI, Google AI Studio, and OpenRouter, plus self-hosted or other OpenAI-compatible endpoints, such as Azure Databricks. Group models by capability and set access and pricing. 3. **Manage users and teams.** Create teams, assign [budgets](/controltower/budgets-and-spend/), and synchronize with your identity provider groups. Control spend and model access at the team level. ## Minimum requirements | Requirement | Detail | |---|---| | Compute | A Linux VM with **4 vCPU, 16 GB RAM, and ~200 GB SSD** (container images alone need ~50 GB). | | Networking | A **DNS name** with subdomains for the chat, admin, and gateway services, pointing at the VM. | | Inbound ports | **443** (HTTPS) and **22** (SSH); port **80** only for certificate challenges. | | Identity | ControlTower's built-in sign-in works alone. For single sign-on, an **OAuth client** in your identity provider: Entra ID (Azure AD), Keycloak or another OpenID Connect provider. | | Object storage | A **bundled S3-compatible store** (RustFS), deployed by default, for agent sandboxes and file transfer. To bring your own instead — e.g. AWS S3, Cloudflare R2, MinIO, or Tigris — set `RUSTFS_DEPLOY=false`. | | LLM access | At least one **upstream LLM provider** API key or endpoint. | :::note SecondStack ships its own S3-compatible object store, RustFS, and deploys it by default; it carries transient file transfers between the Chat App and agent sandboxes. To use your own S3-compatible store instead, set `RUSTFS_DEPLOY=false` and point the platform at it. ::: ## Authentication SecondStack authenticates users 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 IdP drives team assignment and model access. ## Operations - **Backups** — a daily PostgreSQL dump job, which you install with a script from the release, keeps 7 daily and 3 weekly copies. - **Monitoring** — disk and container health checks help you keep the deployment stable. - **Configuration** — provider, model, prompt, guardrail, and team configuration is managed in ControlTower and applied to the running services. ## Supported components and support model The platform packages a number of open-source components — including **PostgreSQL, Meilisearch, Qdrant, Kreuzberg, and OpenResty** — alongside SecondStack's own services, such as ControlTower. As the platform vendor, SecondStack supports the whole stack end to end, so you have a single point of contact rather than separate vendor relationships for each component. ## Next steps - See how traffic flows through the gateway in [SecondGate](/gateway/). - Configure models, providers, and policy in [ControlTower](/controltower/). - Review common deployment questions in the [FAQ](/resources/faq/). # Videos --- ## SecondStack video guides Source: https://docs.secondstack.ai/videos/ 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. 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. Each card opens a watch page with the player, its chapters and the full transcript, and a link to the guide the video belongs to. - [Projects](/videos/projects/) (7:23) - [Collections](/videos/knowledge-collections/) (3:01) - [Custom Prompts](/videos/custom-prompts/) (3:43) - [Image generation](/videos/image-generation/) (4:40) - [Budget & Spend](/videos/budget-and-spend/) (4:37) - [Temporary chat](/videos/temporary-chat/) (0:47) - [Platform overview](/videos/platform-overview/) (0:51) - [Web widget](/videos/web-widget/) (0:35) --- ## How to use Projects in SecondStack AI Source: https://docs.secondstack.ai/videos/projects/ 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. Video: https://www.youtube.com/watch?v=Yu6FJt2bzBA (7:23, published 2026-08-12) ## Chapters - 0:00 Projects overview - 0:18 Creating a project - 1:00 Exploring the Project Hub - 1:43 Knowledge and Project Settings - 3:00 Working across project chats - 4:50 Project Memories - 5:45 Gallery - 6:30 Access and collaboration ## Transcript **Projects overview (00:00).** Projects bring almost everything you can do in SecondStack into one place: chats, knowledge, memories, project files, and team access. I'm Andrew from SecondStack, and today I'll show you how the Projects feature works and why it's useful. **Creating a project (00:18).** First off, I want to show you how to create a new project. I just click this button, and first we have to give the project a name. Next, we can add project instructions and a description. This is very important and useful, because these instructions will be added to every chat in this project. Then we can manage access — we can manage who can read this project or contribute, like particular people, teams, or groups. I've already prepared a project for this demo — Analytics Dashboard — and I added some chats, documents, decisions, and images in advance. **Exploring the Project Hub (01:00).** Now let's take a look at the project page. To do that, we click this button here. This is the main page of the project. Here we can start a new project chat, look at the threads, and manage knowledge collections, project memories, the gallery, or project settings. **Knowledge and Project Settings (01:43).** Let's look at the Knowledge page. You can see that I added some product files, and the main thing we should know is that these files are available across all projects. It means we don't need to reattach these files in every new thread — we can start a new thread with these files already there. We can also link a knowledge collection and use external knowledge collections from the Knowledge Collections page. Now let's take a look at the Project Settings page. On this page, we can configure the project: change the name and the project instructions, and customize the project appearance with different icons and colors. We can also change the model for new threads, manage MCP connectors and agentic sandboxes, and manage notifications and project access. **Working across project chats (03:00).** Now let's look at the project's Threads page. Here we can find particular threads, and we can start a new thread. Now I want to show you the key benefit of using the Projects feature. I prepared a prompt where I ask the model to prepare an update using information from different threads and knowledge collections. Let's run it. And we get the answer — the answer is here. As I said earlier, the model can search across different threads and different files in a particular project. Let's review how the model interacted with these files. We can see that the model searched the files in the knowledge collections, and it also used project thread search to find the information we asked for. We can expand this block and see the query it used to find this information. As I said, this is the main value of the Projects feature: a project chat just doesn't have to start from scratch — it already has all the context you need in a new chat. **Project Memories (04:50).** Now I want to show you how project memory works. To do that, I'll copy this text and ask the model to store it as a record in project memory. So let's do that. I can see that the model stored the memory successfully — we can confirm it here. Let's move to the project page and open the Project Memories page. Here we can see that the model stored our memory records, and we can manage them here — delete something or change some memories. **Gallery (05:45).** Now I'd like to say a couple of words about the image gallery page. On this page we can find all images uploaded to threads or generated inside threads in the project. This is very useful when we want to find a particular image. This page works exactly the same as the general Image Gallery page, but it's always scoped to the project. **Access and collaboration (06:30).** Last but not least: access. Here we can manage who can read, contribute to, or manage this particular project. It means we can grant access to individual users, teams, or groups. We can also let them change the knowledge, memories, or project settings. This is very useful, because you and your teammates can work in the project with the same context. All right, that's basically it — this was a quick look at Projects and how different parts of SecondStack can work together inside one project. Feel free to ask questions and leave comments. Thank you for watching, and see you in the next tutorial. Bye. Guide: https://docs.secondstack.ai/chat-app/projects/ --- ## AI knowledge base from your own files, reused in any chat Source: https://docs.secondstack.ai/videos/knowledge-collections/ 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. Video: https://www.youtube.com/watch?v=tDlC8nrPOzo (3:01, published 2026-07-24) ## Chapters - 0:00 Knowledge Collections overview - 0:45 Creating a collection - 0:53 Adding knowledge sources - 1:10 Knowledge Collections page overview - 1:45 Using a collection in a chat - 2:40 Summary ## Transcript **Knowledge Collections overview (00:00).** Hi everyone. Today I'd like to tell you about the Knowledge Collections feature in SecondStack. What is it? Knowledge Collections lets you store files and client materials as a collection and reuse them as context in different threads. Usually, if you want the model to use some documents, you have to upload those files again in every new thread. With Knowledge Collections, you upload them once and reuse them later as an attachment. **Creating a collection (00:45).** Let me show you how it works. First, we create a collection. Then I upload my test files, and I can use drag and drop here. Once the files are processed, they become available as reusable context in different threads. **The Knowledge Collections page (01:10).** Before I show you how it works in a chat, a quick look at this page. Here we can manage collections and the files inside each collection. For every file I can change the auto-generated comment, write my own, or regenerate it. These comments are visible to the model and help it understand your files better. **Using a collection in a chat (01:45).** To use a collection, I click the attach button and select my collection. Now I'll ask a question about the files: can you see the docs? We get the answer, and as you can see, the model sees all the files stored in the knowledge collection and attached to the message. It reads the files and answers based on them. If you want to use this collection again, you create a new chat and attach it to a message there. **Summary (02:40).** That's the whole idea: you create a collection once, add all the necessary files, and reuse it in any chat you want. If you have any questions or comments about this video, please leave a comment below. Thank you for watching. Guide: https://docs.secondstack.ai/chat-app/collections/ --- ## Custom Prompts in SecondStack AI Source: https://docs.secondstack.ai/videos/custom-prompts/ Custom Prompts in SecondStack AI, a 3-minute video with transcript: write a slash command once, add {{variables}} and reuse it in any chat. Video: https://www.youtube.com/watch?v=PApclIEhgd8 (3:43, published 2026-08-12) ## Chapters - 0:00 Tutorial overview - 0:18 Why use Custom Prompts? - 1:25 Creating a Custom Prompt - 2:38 Using Slash Commands in a chat - 3:00 Result - 3:30 Summary ## Transcript **Tutorial overview (00:00).** Hi everyone, and welcome to the SecondStack tutorial. In this video I'd like to tell you about custom prompts and commands in SecondStack. I'll explain the problem this feature solves, and then I'll show you how to create your own custom prompt and how you can use it in a chat. **Why use Custom Prompts? (00:18).** First, let's take a look at a slide I prepared, just to understand the problem. The main problem is repetition. Sometimes we have long prompts that we have to type from scratch in every new thread, and we don't want to waste time doing that. The solution is custom prompts: we write a prompt once, store it as a slash command, and then reuse it in the chat. For example, I have a prompt I repeat in chats — translate something into some language. Notice that it uses variables, which is very useful, because we often need the same slash command in different scenarios. **Creating a Custom Prompt (01:25).** There are two ways to create a slash command. The first way: type a slash in the message composer, select the create option, and you'll see the modal for creating a custom prompt. The second way is the settings page, under Custom Prompts — press the button there and you get the same creation modal. Let's create our first custom prompt; I'll use the prompt from the slide, and you can see it already uses variables. Once the slash command is saved, it appears in a table where we can manage it: change its visibility or delete it. **Using Slash Commands in a chat (02:38).** Back in the chat, let's use it. I type a slash and select translate. Now I type the text and the language I want to translate into. **Result (03:00).** You can see that all the variables we filled in have been substituted into the text. We press enter and get our translation. The test is done, which means we could start a new thread and use the slash command there too. **Summary (03:30).** That's how the Custom Prompts feature works in SecondStack. That's all I wanted to show you. Thank you for watching, and see you in the next video. Guide: https://docs.secondstack.ai/chat-app/custom-prompts/ --- ## Image Generation in SecondStack AI Source: https://docs.secondstack.ai/videos/image-generation/ 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. Video: https://www.youtube.com/watch?v=oQaZ3HK40Pw (4:40, published 2026-08-12) ## Chapters - 0:00 Tutorial overview - 0:27 Image generation settings - 0:58 Generating your first image - 1:22 Editing images with the Message Composer - 1:52 Quick Edit and Annotate - 2:45 Using image annotations - 3:22 Image Gallery overview - 4:25 Summary ## Transcript **Tutorial overview (00:00).** Hi everyone, and welcome to another SecondStack tutorial. In this video I want to show you how image generation works in SecondStack, and I'll focus on three main areas: first, the image generation settings; second, the different ways you can edit generated images; and finally, the Image Gallery page. **Image generation settings (00:27).** Let's start by generating our first image, and let's explore the settings we have here. First we need to make sure we've selected the right model. Now let's look at the settings: we can change the aspect ratio, quality, background, and batch count. Batch count means we can get more images from just one prompt. Let's set the count to two and the quality to medium, and generate our first image. **Generating your first image (00:58).** Now we can see that two images are generating — that's because we selected a batch count of two. And here we get our first generated images. **Editing images with the Message Composer (01:22).** Now let's take a look at the different ways of editing an image in SecondStack. The first option is very simple: we can just drag the image and drop it into the message composer, and describe our changes there. **Quick Edit and Annotate (01:52).** The second way: hover over the image and click the Edit image button, and we see some options. The first option is Quick edit — we describe our edits in the input box right on the image. The next option is Edit in composer, which is similar to drag and drop. And the last option is image annotation — a more advanced option. Let's click it. **Using image annotations (02:45).** When I click it, the modal with the image opens, and here we can describe our changes in a more advanced way. For example, we can use shapes to mark an object, or use numbered marks to describe our edits and pin them to specific areas. Let's edit this image: I'll mark the area here — I want to add a phone. We can also change some preferences here, and then generate a new image. Great — now we have an edited version of our image with the changes we described earlier, and we could continue editing if we need to make more changes. **Image Gallery overview (03:22).** Now I'd like to show you how the Image Gallery page works. To do that, I'll generate more images in another thread — again with a batch — and let's generate something like an alpaca. We get our images here. Before we go on, a quick look at the thread view: it's the general view of any chat, and we can switch between the tabs to get more space to explore the generated images. Now let's go to the Image Gallery page. Here we see some filters, which give us a more convenient way to find generated images or user-uploaded images on the platform. **Summary (04:15).** And that's basically all I wanted to tell you about image generation in SecondStack. If you have any questions or comments, please comment on this video. Thank you for watching, and see you in the next tutorial. Guide: https://docs.secondstack.ai/chat-app/image-generation/ --- ## How to Adjust Budget & Spend in SecondStack Source: https://docs.secondstack.ai/videos/budget-and-spend/ 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. Video: https://www.youtube.com/watch?v=KEke_z7l_A4 (4:37, published 2026-09-09) ## Chapters - 0:00 Introduction - 0:13 What Is Control Tower? - 0:51 Reaching the Budget Limit - 1:25 Checking Your Current Allocation - 2:36 Redistributing Credits - 3:20 Confirming the Chat App Works - 3:49 When Your Total Budget Is Used ## Transcript **Introduction (00:00).** Hello and welcome to the SecondStack tutorial. In this video I want to show you how to manage your budget using the Budget and Spend page in Control Tower. **What is Control Tower? (00:13).** Control Tower is the application where you can manage your SecondStack account. You can manage some services, API keys, notifications, and so on. And you can manage your budget and spend as well. **Reaching the budget limit (00:51).** Let's start with a simple example. Sometimes, if you're using the Chat App a lot, or you're using API keys or Agent Claude or any SecondStack service where you can spend some tokens, you might run out of your allocated budget. So when it happens, you will probably see a notification like this one. So we get an error message, and it says: you have exceeded your currently configured Chat App usage budget, and please go to the Control Tower Budget and Spend to review and adjust allocation of available budget. So let's do that. Click on the button. **Checking your current allocation (01:25).** Now we are in the Control Tower application, on the Budget and Spend page. On this page you can see your total available budget and how it is distributed between different SecondStack services. Let's look at this block first. This is your shared pool of credits. You can decide how much of it should be available for Chat App usage, or Agent Claude in my case, or any API keys if you have some. In my case, I have already used all the budget allocated to the Chat App here, and that's why I just can't continue using the Chat App. But as you can see, I still have available credits here. I spent only about half of my budget, and it means that now I can reconfigure my budget to continue using the Chat App. **Redistributing credits (02:36).** Because now we can see that I didn't use almost half of the budget for Agent Claude. It means that I can reduce the amount allocated for Agent Claude. And let's do this. We can decrease the budget here, for example, like this. And I also want to leave some space for using Agent Claude. And let's increase the budget for regular models in the Chat App like this. And let's save it. **Confirming the Chat App works (03:20).** Once I apply the changes, the new allocation becomes available, and I can go back to the Chat App application and try to continue using it. Let's try to send a message. And we get the answer. As you can see, the model answered successfully. I think that we can continue using the Chat App now, and everything works well. **When your total budget is used (03:49).** And that's basically all you should know about getting this kind of error message. So again, if you get a notification like this, the first thing you should check is the Budget and Spend page. And if you used all credits from your budget, you still have an option. You can also request a budget increase by contacting a team supervisor or an LLMOps platform support administrator. Or just contact someone who can increase your budget and can solve this problem for you. Okay, and that's it for this video. Now you know how to check your budget using the Budget and Spend page in Control Tower. I'm Andrew from SecondStack. Thank you for watching, and see you in the next tutorial. Bye. Guide: https://docs.secondstack.ai/controltower/budgets-and-spend/ --- ## When to Use a Temporary AI Chat | SecondStack Source: https://docs.secondstack.ai/videos/temporary-chat/ 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. Video: https://www.youtube.com/watch?v=m-bFZnZHuB8 (0:47, published 2026-09-02) ## Transcript If you regularly chat with AI models, your history is probably full of one-off conversations you will never open again. That's exactly what temporary chats are for. They let you ask a quick question without adding another unnecessary conversation to your history. So, now let me show you how it works in SecondStack. First, we need to open a new chat and click the ghost icon in the right upper corner. That's it. You are now in a temporary chat. You can send messages, upload files, and generate images as usual. When you leave the chat or reload the page, the conversation disappears. So, there is nothing to collect later. I'm Andrew, and you can discover more SecondStack features on our YouTube channel. Bye. Guide: https://docs.secondstack.ai/chat-app/#temporary-chat --- ## SecondStack in 50 seconds: an AI agent platform overview Source: https://docs.secondstack.ai/videos/platform-overview/ SecondStack in 50 seconds is the AI agent platform overview video: personal, project and named agents, ControlTower, SecondGate and SecondGuard in a minute. Video: https://www.youtube.com/watch?v=R_fSjRPVksk (0:51, published 2026-11-03) ## Chapters - 0:00 Why AI needs its own stack - 0:14 Three kinds of agents - 0:28 Knowledge, MCP and self-hosting ## On-screen text Your company runs on a stack. Now AI gets one too. SecondStack One AI workspace for every model, agent and team. Bring any model. Switch models mid-conversation. No lock-in. One platform. Three kinds of agents. Personal Assistant Remembers your context and does the work in its own sandbox, in the cloud or on your laptop. Project Agent Works inside a project with the whole team: shared files, history and memory. Named Agents Build an agent once and share it. Versioned, budgeted and governed. Knowledge, built in. Grounded answers, with sources. Plug in your systems with MCP. Turn answers into sites. Self-hosted. Any model. Fully governed. SecondStack Own your AI infrastructure. secondstack.ai Guide: https://docs.secondstack.ai/getting-started/what-is-secondstack/ --- ## AI chatbot for your website: answers visitors, hands leads to sales Source: https://docs.secondstack.ai/videos/web-widget/ 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. Video: https://www.youtube.com/watch?v=ZLO9ciCfWKM (0:35, published 2026-11-03) ## Chapters - 0:00 An AI agent on your website - 0:12 Answers from your product information - 0:22 The lead goes to your sales team ## Transcript **An AI agent on your website (00:00).** Here is your website. The SecondStack agent in the corner. It opens in your brand colours. The visitor asks which system fits. **Answers from your product information (00:12).** The agent answers from your product information and offers a quote. The visitor leaves an email, **The lead goes to your sales team (00:22).** and the agent passes the lead to your sales team. SecondStack. Internal and customer-facing agents on one platform. Guide: https://secondstack.ai/platform/agents/ # Resources --- ## Resources: FAQ, videos and agent files Source: https://docs.secondstack.ai/resources/ 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. 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. The FAQ answers the questions people ask before a deployment, and the agent files give an AI assistant the same text these pages show you. ## In this section - [FAQ](/resources/faq/): FAQ about SecondStack, the AI agent platform: self-hosting, deployment, security, supported models, budgets, sign-in and Agent Claude, for teams evaluating it. See also: [Videos](/videos/), [What is SecondStack](/getting-started/what-is-secondstack/), [Getting started](/getting-started/) ## Files for agents - [llms.txt](/llms.txt): structured index of every documentation page. - [llms-full.txt](/llms-full.txt): full text of all pages, concatenated for large-context retrieval. - [Agent index](/mcp): static Markdown index of the machine-readable resources on this site. ## Platform pages on secondstack.ai - [Agents](https://secondstack.ai/platform/agents/) - [ControlTower](https://secondstack.ai/platform/controltower/) - [SecondGate](https://secondstack.ai/platform/gateway/) --- ## Frequently Asked Questions Source: https://docs.secondstack.ai/resources/faq/ FAQ about SecondStack, the AI agent platform: self-hosting, deployment, security, supported models, budgets, sign-in and Agent Claude, for teams evaluating it. 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](/getting-started/what-is-secondstack/) and [Self-Hosting](/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](/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](https://secondstack.ai/#demo) 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](/developers/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](/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.