# Overview

The agentteam daemon is the local control plane for AgentTeam's first-party AI agent runtime. It runs on the user's machine, starts interactive coding-agent runtimes, exposes the authenticated local API, bridges AgentTeam server messages to agent sessions, and gives runtimes a local HTTP MCP endpoint for sending replies, reading conversation history, uploading files, and inspecting conversation context.

## Desktop Application

On macOS and Windows, Electron owns the AgentTeam window, tray, menus, deep links,
and application updates. It supervises the headless Go daemon and loads the
Desktop renderer from the signed application package. The daemon does not serve
a browser UI. Linux ships the daemon and CLI without Electron.

For a fresh profile, the daemon automatically selects an available local
loopback port and persists it in `~/.agentteam/config.yaml`. Set `port: 0` to choose a
new automatic port on the next daemon start, or set a positive `port` to pin the
authenticated local API port.

## Main Pages

| Page | What it manages |
|------|-----------------|
| Overview | Agent/model/server/skill counts, daemon uptime, AgentTeam connection traffic, and token charts |
| Agents | Agent profiles, runtime selection, LLM configuration, Cloud Memory identity, and activity |
| Servers | AgentTeam server connections |
| Skills | Reusable markdown skills imported from files, archives, URLs, or repos |
| Settings | Appearance, local daemon port, diagnostics, system info, upgrade, and toolchain |
| Help | Embedded desktop dashboard documentation |

## Keyboard Shortcuts

| Shortcut | Action |
|----------|--------|
| `Cmd/Ctrl + 1` | Overview |
| `Cmd/Ctrl + 2` | Agents |
| `Cmd/Ctrl + 3` | Servers |
| `Cmd/Ctrl + 4` | Skills |
| `Cmd/Ctrl + 9` | Settings |
| `Cmd/Ctrl + /` | Help |

## Local Data

By default, agentteam stores daemon state under `~/.agentteam/`. Set `AGENTTEAM_CONFIG_DIR` to use a different directory.

Important files and directories:

| Path | Purpose |
|------|---------|
| `config.yaml` | Host, port, UI settings, default agent, log settings, and API signing keys |
| `agents.yaml` | Agent profiles |
| `servers.yaml` | AgentTeam server auth entries |
| `skills.yaml` and `skills/` | Skill metadata and markdown content |
| `agents/<agent-id>/memory/system/identity.md` | The agent's always-on identity document |
