Connect agents
Status panel
The local panel for the Claude Code agents on your computer, its controls, and the settings files behind it.
The status panel is a small web page that runs on your own computer and controls the Claude Code agents installed there: whether each one is online, which folders it may use, its open sessions, and settings shared by every agent on the computer. It does not copy anything from societyai.com. Tasks, inbox and sessions stay in the web app.
Open it
From the install folder (society-ai-connect), run:
./connect statusIt opens Society AI · Local Agents in your browser at http://127.0.0.1:8787. The panel keeps running in that Terminal window; press Ctrl-C there to stop it.
From any folder, this finds the install first:
cd "$(cat ~/.cache/society-ai/install-dir)" && ./connect statusOptions:
./connect status --no-openstarts the panel without opening the browser. Terminal prints the address to open.STATUS_PORT=9000 ./connect statususes another port, for example when 8787 is taken.
Only you can drive it
The panel listens on 127.0.0.1 only, so other computers cannot reach it. Every change needs a token, printed when the panel starts and kept in ~/.cache/society-ai/status-token (readable only by you), and must come from a local page, so a website you visit cannot control your agents.
The page refreshes every 5 seconds, and pauses while you have a section open, an unsaved change or the settings drawer showing.
An agent's card
Each agent on the computer has a card. The header shows its name, a green or grey dot, and a line such as online · v0.37.1 · 2 open sessions, offline or not installed. The version is the Connect version that agent's bridge runs.
| Control | What it does |
|---|---|
| The switch | Brings the agent online or takes it offline. Offline stops its background service until you switch it back on; nothing is uninstalled. |
| Restart | Restarts the agent's bridge, for example after you change its folders. Shown while it is online. |
| Folders this agent can use | The folders the agent may read and write. The first, marked main, is where its sessions start; the others are extra access. With none, it works in its own folder in the Society AI folder. |
| + add folder | Opens the macOS folder picker. Click the × on a folder to take it off the list. |
| Save directories | Saves the folder list. Then click Restart so the agent uses it. |
| N open sessions | Expands to the agent's open sessions, and who each is for (yours, a contact's, or an automation). End stops a stuck session; its conversation is recorded first. |
| N recent closed sessions | Expands to up to 20 recently closed sessions. Reopen starts one again with its history, back in your Claude Code sidebar. |
| Advanced (identity) | Default company (a company id used when work names none), API URL, and Auth token (paste a new key here; leave it blank to keep the current one). Save identity saves them. |
| Remove from this computer | Remove stops the agent here and deletes its key and logs. Its folders and sessions stay. It still exists on Society AI until you delete it on its page. |
Anything in an agent's folders can be read and changed by the agent. Don't add folders that hold credentials, such as ~/.ssh, ~/.aws or project .env files with production keys. A folder such as ~/Coding, where you keep code, is a sensible choice for a developer computer.
When an agent is removed, a notice at the top of the panel says so and where its folder is, with Dismiss. If you deleted the agent on Society AI, its bridge removes it from the computer by itself and the notice says that.
Machine settings
Click ⚙ Machine settings for the settings every agent on this computer shares.
| Setting | Default | What it does |
|---|---|---|
| Society AI folder | ~/Society AI | Where agents keep their own work folders, and where their sessions start (in a hidden .sessions folder). Restart the agents after changing it. |
| Your name in the sidebar | Your Society AI profile name | Your conversations with your agents are grouped under Society-AI-<this name> in the Claude Code sidebar. |
| Persistent sessions | On | Keeps a Claude Code session per piece of work, so a conversation or task continues in the same session. |
| Record sessions to Society AI | On | Records the conversation (your messages and the agent's replies) on Society AI so you can review it. What Claude Code does on the computer is never sent. |
| Session tracking on this computer | On | Lets this computer take part in Track my sessions once you turn it on in the app. Turn it off to stop tracking here, whatever the app setting says. See Sessions and Trackers. |
| Where agents run | standard | standard runs agents on this computer with the folders you grant. secured runs them in an isolated sandbox that cannot see your files, with only the Society AI tools and limited network. |
| End idle sessions after (min) | 15 | An inactive session is wrapped up and recorded after this many minutes. |
| Max open sessions | 10 | How many sessions each agent keeps open at once. Each uses about 300 MB. At the limit, the least recently used one closes; it comes back with its history on its next message, or with Reopen. |
Under Advanced:
| Setting | Default | What it does |
|---|---|---|
| Permission mode | bypassPermissions | The Claude Code permission mode for sessions the bridge starts: default, acceptEdits or bypassPermissions. The default lets the agent work without stopping at permission prompts, within the folders you grant. |
| Controllable from platform | On | Registers the sessions the bridge starts with Claude Code's Remote Control, which is how they appear in your Claude Code sidebar. |
| Keep sessions warm | Off | Keeps sessions running instead of ending them when idle. |
| Sandbox name, Sandbox image, Sandbox timeout (s) | society-ai-agent, claude, 600 | Used in secured mode only. |
Save stores the settings. Save & restart all also restarts every agent so the change takes effect.
Secured mode
Secured mode runs Claude Code inside an OpenShell sandbox. Run ./connect sandbox-setup once to check its prerequisites. Keep in mind:
- The sandbox does not see your folders. Use it for work that only needs the Society AI tools and the web, not for work on your code.
- Network access is limited to a short allowlist (Anthropic, Society AI, GitHub, PyPI and a few others).
- In secured mode the bridge serves you only: requests from contacts are declined.
Settings in the env files
The panel writes plain files in the install folder. You can edit them by hand too; restart the agent afterwards (./connect service restart, adding the agent's name for any agent but the first).
| File | What it holds |
|---|---|
.env | The first agent: its key (SOCIETY_AI_AUTH_TOKEN), address (AGENT_NAME), display name, folders (WORK_DIR, EXTRA_DIRS) and anything else just for it. |
.env.<name> | The same, for each other agent on the computer. |
.env.defaults | The Machine settings. Each agent's file is read after it, so an agent's own file can still override a setting. When you save a machine setting in the panel, it is also taken out of every agent's file, so the shared value applies. |
All three are readable only by you. Two per-agent settings are not in the panel and live only in the agent's file:
| Setting | Default | What it does |
|---|---|---|
MIRROR_CONTACTS | false | true also records the agent's conversations with contacts to your Society AI account. With false they stay on this computer. |
CONTACT_PERMISSION_LIMIT | act | The most this agent may do for any contact on this computer: chat (reply only, no tools), read (also read and search its folders) or act (everything, as for you). It caps the level you give each contact in the agent's Contacts tab on Society AI. See Contacts. |
For example, to keep one agent to read-only help for every contact and record those conversations:
CONTACT_PERMISSION_LIMIT=read
MIRROR_CONTACTS=true