This is a high level view of the core entities.
Represents a machine running agentd. Fields include id, name, last_seen_at, capabilities, and agent_version.
Represents a tmux pane or job. Key fields:
- id, host_id, user_id, repo_id
- provider, kind
- status, title
- tmux_pane_id
- cwd, repo_root, git_branch
- group_id
Canonical repo identity used for repo-scoped memory and automation targeting. Key fields:
- id, canonical_key
- git_remote_normalized, repo_root_hash
- display_name
- last_host_id, last_repo_root
Folders for organizing sessions. Groups can be nested and ordered.
A relationship between two sessions (complement or review).
A permission request. Stores the decision, decision mode, timestamps, and payload.
Timeline entry for commands, approvals, hooks, and errors.
Rolling capture of terminal output for a session.
Structured tool usage timeline entry, used for live UI updates.
Token counts, tool call counts, and approval metrics per session and provider.
Scoped user memory stored in memory_entries with:
scope_type(global,repo,working)tier(working,episodic,semantic)- optional
repo_idandsession_id
memory_trajectories stores summarized run outcomes that can later be distilled into semantic memory.
Autonomous orchestration is represented by:
automation_agentsautomation_wakeupsautomation_runsgovernance_approvalswork_items
Automation runs link back to normal sessions through session_id.