Reference

Database objects

The current PostgreSQL schema and public coordination Functions.

The initial schema creates these durable tables in agentos:

TableOwns
agentsAgent identity, role, parent, lifecycle and runtime references
projectsFleet project registry
captainCurrent release’s Captain-facing Fleet record
tasksAccepted intent, state and dependencies
task_assignmentsBounded ownership, handoff history, reports and composition
inboxDurable hierarchy speech acts, receipt, reading and resolution
learningsReviewed shared learnings
external_eventsDurable provider evidence and reconciliation claims

Later migrations extend these objects rather than creating shadow stores. Always inspect the full ordered chain for the selected release.

Representative public Functions

  • identity and authority: current_agent_id, current_agent_role, can_manage_agent;
  • provisioning: provision_agent, register_agent_principal, retire_agent;
  • work: create_task_with_assignment, accept_backlog_task, handoff_task_assignment;
  • decisions: hold_captain_decision, link_task_decision, attest_assignment_decisions, resolve_captain_decision;
  • attention: receive_inbox, current_mate_bearings, mate_notification_channel;
  • events: ingest_external_event, claim, refresh, assert, complete and release;
  • composition: change, replace and repair Functions.

Use released Functions for transitions that carry invariants. Direct table queries are useful for inspection but do not recreate atomic acceptance, handoff or decision behavior ad hoc.

Last updated on

On this page