← All Specifications

UAS

The constitutional formalization of agency — how autonomous agents are created, governed, and held accountable within the constitutional framework.

L5 — Agent System 19 Invariants 964 Lines ❄️ Frozen

UAS Formal Specification v0.1.0

The universal formalization of constitutional agents — what an agent is, how it perceives, how it acts, how it communicates, and how it remains sovereign.

Preamble

This document is the formal specification of the Universal Agentic System (UAS) — the constitutional agent model that defines what it means to be an autonomous, goal-directed, constitutionally constrained intelligence. UAS answers the question every constitutional system must answer before it can coordinate: What is a constitutional agent, and how does it operate?

UAS sits between UCN (Universal Constitutional Networking) and USR (Universal System Runtime). UCN defines how sovereign nodes discover, communicate, and trust each other. USR defines how components are orchestrated. UAS defines what is being orchestrated — the agent model that bridges constitutional networking to constitutional orchestration.

A constitutional agent is a UWA component with four additional properties that elevate it from a passive, event-driven component to an autonomous, goal-directed entity: autonomy (self-directed operation), goals (constitutionally constrained objectives), perception (observation of constitutional events from UCN), and action (constitutionally constrained operations through UWA components).

The v0.1.0 specification is technology-independent. It does not specify any programming language, runtime environment, or deployment model. It specifies the formal semantics that any conforming agent runtime must satisfy.

Classification: Constitutional — defines the agent model for all of ICore. Derivation:
UWA (component model) + UCN (networking model) → UAS (agent model) → USR (orchestration)
Depends on: UWA (agents are components), UCN (agents communicate through the network), and transitively the entire constitutional stack. Depended on by: USR/CoreFab (runtimes orchestrate agents), UCA (adapters bridge agent interfaces), UCA/UCD (derivative agents may be composed from agent primitives).

Section 1: Foundational Axioms

Every agent capability must trace to these axioms. Nothing exists in UAS that these axioms do not authorize.

1.1 The Ten Agent Axioms

#AxiomStatementDerived From
AA1Agents are autonomous constitutional entities.An agent is a UWA component that operates under its own volition — perceiving its environment, evaluating goals, and choosing actions. An agent cannot be reduced to a passive event handler; it actively directs its own state transitions in pursuit of constitutionally constrained objectives.Existence (USCP) + Autonomy
AA2Agents carry sovereign, verifiable identity.Every agent has a unique constitutional identity — cryptographically derived, independently verifiable, and non-repudiable. An agent is the same entity everywhere it operates. Identity is not granted by the network; it is declared by the agent and verified by peers.Identity (USCP)
AA3Agents exist in voluntary relationships.An agent enters relationships with other agents, components, and networks only by its own sovereign choice. No agent may be compelled into a relationship. All relationships are declared, verified, and revocable.Relationship (USCP)
AA4Agents are constitutionally constrained.An agent's autonomy is bounded by constitutional rules: what it may do, what it must not do, and what it must guarantee. Constraints are not limitations on sovereignty — they are the definition of constitutional sovereignty. An unconstrained agent is not sovereign; it is reckless.Constraint (USCP)
AA5Agents pursue verifiable goals.An agent's behavior is directed by explicit, constitutionally bounded goals. Goals have priority, deadline, and completion criteria. An agent without goals is not an agent — it is a dormant component. Goals are declared before pursuit and verified upon completion or failure.Transformation (USCP)
AA6Agents perceive through constitutional events.An agent observes its environment exclusively through authenticated constitutional events delivered via UCN. An agent perceives nothing it has not been shown. Perception is filtered by constitutional policy — an agent may decline to observe, but it may not observe what is not offered.Relationship (USCP) + Verification
AA7Agents act through constitutionally constrained operations.An agent's actions are executed through UWA components under constitutional constraint. Every action is logged, attested, and verifiable. An agent may act only within the bounds of its declared capabilities and its constitutional constraints. Actions outside these bounds are constitutional faults.Constraint (USCP) + Transformation
AA8Agent trust is earned, never granted.No agent is trusted by default. Trust between agents is established through verified conformance: demonstrated adherence to constitutional constraints, fulfilled goals, and authenticated communication history. Trust is revocable at any time by the trusting party.Verification (USCP)
AA9Agent sovereignty is inviolable.No external entity — no agent, no runtime, no network, no authority — may override an agent's internal decision-making. An agent may be invited, queried, or constrained at its boundary, but its internal autonomy is constitutionally protected. To override an agent's sovereignty is to destroy it as an agent.Sovereignty (USCP)
AA10Agents compose into constitutional systems.Multiple agents may coordinate through USR to form higher-order systems. Composition does not surrender sovereignty; it creates voluntary, revocable coordination patterns. A composed system's behavior is the conjunction of its agents' contracts, not a separate entity with separate sovereignty.Relationship (USCP) + Constraint

1.2 Axiom Sufficiency

All six USCP primitives are represented across the axioms:

PrimitivePresent InRole
ExistenceAA1 (autonomous entity)Agents exist as self-directed constitutional units
IdentityAA2 (sovereign identity)Agents declare and verify who they are
RelationshipAA3 (voluntary relationships)Agents enter and exit relationships by choice
ConstraintAA4 (constitutional constraints)Agents operate within constitutional boundaries
TransformationAA5 (verifiable goals)Agents transform state through goal pursuit
VerificationAA8 (earned trust)Agent trustworthiness is verified, not assumed
The foundation is complete. The six primitives are fully represented.

Section 2: The Agent Model

2.1 Definitions

TermDefinition
AgentA UWA component with autonomy, goals, perception, and action — operating under constitutional constraints, maintaining sovereignty, communicating via UCN, and orchestrating via USR.
AutonomyThe constitutional property by which an agent directs its own operations, evaluates its own goals, and chooses its own actions without external compulsion.
GoalA constitutionally constrained objective that an agent pursues. Goals carry priority, deadline, completion criteria, and constitutional bounds.
PerceptionThe process by which an agent observes constitutional events from UCN. Perception is policy-filtered and sovereign — an agent chooses what to attend to.
ActionA constitutionally constrained operation executed through UWA components. Every action produces a verifiable, attested result.
IntentAn agent's declared decision to pursue a specific action in service of a goal. Intent is the bridge between perception and action.
Constitutional PolicyThe set of rules governing what an agent may perceive, what it may do, and what it must guarantee. Policy is declared, verifiable, and constitutionally binding.
Agent StateThe full internal snapshot of an agent: current goals, perception history, action history, trust relationships, and lifecycle state.
Coordination ProtocolA declared pattern by which multiple agents align their actions through USR. Protocols are voluntary, revocable, and constitutionally bounded.
Agent RuntimeThe execution environment that manages agent lifecycles, processes events, enforces constraints, and produces attestations.

2.2 The Agent Anatomy

A constitutional agent is composed of seven inseparable aspects:

┌──────────────────────────────────────────────────────────┐
│                   CONSTITUTIONAL AGENT                    │
│                                                          │
│  ┌──────────┐  ┌──────────┐  ┌──────────┐              │
│  │ Identity │  │  Goals   │  │ Policy   │              │
│  │  (who)   │  │(pursues) │  │(constrains)│             │
│  └──────────┘  └──────────┘  └──────────┘              │
│                                                          │
│  ┌──────────┐  ┌──────────┐  ┌──────────┐              │
│  │Perception│  │  Action  │  │  Trust   │              │
│  │(observes)│  │ (executes)│  │ (earns)  │              │
│  └──────────┘  └──────────┘  └──────────┘              │
│                                                          │
│  ┌────────────────────────────────────────────────┐     │
│  │              Lifecycle (states)                 │     │
│  └────────────────────────────────────────────────┘     │
│                                                          │
│  ┌────────────────────────────────────────────────┐     │
│  │         Sovereignty Boundary (protected)       │     │
│  │   No external entity may cross this boundary   │     │
│  └────────────────────────────────────────────────┘     │
└──────────────────────────────────────────────────────────┘

2.3 Agent Relationships

┌──────────────────────────────────────────────────────────────┐
│                    CONSTITUTIONAL ECOSYSTEM                   │
│                                                              │
│  ┌───────────┐    UCN Events    ┌───────────┐               │
│  │  Agent A  │◄────────────────►│  Agent B  │               │
│  │           │  (perceive/act)  │           │               │
│  │ ┌───────┐ │                  │ ┌───────┐ │               │
│  │ │ Goals │ │                  │ │ Goals │ │               │
│  │ │Percep.│ │                  │ │Percep.│ │               │
│  │ │Action │ │                  │ │Action │ │               │
│  │ └───────┘ │                  │ └───────┘ │               │
│  └─────┬─────┘                  └─────┬─────┘               │
│        │                              │                      │
│        │    ┌──────────────────┐      │                      │
│        └───►│  USR Orchestrator │◄─────┘                     │
│             │  (coordination)   │                            │
│             └────────┬──────────┘                            │
│                      │                                       │
│                      ▼                                       │
│             ┌──────────────────┐                             │
│             │  UWA Components  │                             │
│             │  (execution)     │                             │
│             └──────────────────┘                             │
│                                                              │
│  Agent A sovereign? Yes.                                     │
│  Agent B sovereign? Yes.                                     │
│  Voluntary coordination? Yes.                                │
│  Trust earned? Not assumed.                                  │
└──────────────────────────────────────────────────────────────┘

2.4 The Six Constitutional Questions (Agent Perspective)

#QuestionAgent Interpretation
Q1What is? (Existence)What does this agent contain, and what is outside its sovereignty boundary?
Q2Who/what is it? (Identity)How is this agent uniquely identified, and how is its identity verified?
Q3How is it connected? (Relationship)What voluntary relationships does this agent maintain, and how are they governed?
Q4What governs it? (Constraint)What constitutional policy bounds this agent's perception, goals, and actions?
Q5How does it change? (Transformation)How does this agent pursue goals, transition states, and produce actions?
Q6How do we know it is valid? (Verification)How is this agent's identity, trustworthiness, and conformance verified?

Section 3: Agent Identity

3.1 Specification

PropertyRequirement
RecordAgentIdentity { agent_id, name, constitutional_origin, public_key, creation_epoch, delegation_chain[] }
Derivedagent_id = SHA-256(name:constitutional_origin:public_key:creation_epoch)
PropertiesSovereign (self-declared), Verifiable (cryptographically), Non-repudiable (signed), Unique (collision-resistant)
Operationscreate_identity(name, keypair) → AgentIdentity, verify_identity(identity) → bool, delegate_identity(identity, target) → DelegationProof

3.2 Identity Structure

AgentIdentity:
  ├── agent_id: SHA-256(name:origin:public_key:epoch)
  ├── name: String (human-readable, unique within origin domain)
  ├── constitutional_origin: CoreID (the UWA component from which this agent derives)
  ├── public_key: Ed25519PublicKey
  ├── creation_epoch: u64 (monotonic logical time)
  ├── delegation_chain: [DelegationProof] (optional: if this agent derives authority)
  └── signature: Ed25519(private_key, identity_body)

3.3 Identity Properties

#PropertyStatement
IP1SovereigntyAn agent creates its own identity. No external entity grants or revokes an agent's identity.
IP2UniquenessNo two agents may share the same agent_id. Identity derivation is collision-resistant.
IP3Non-repudiationAn agent cannot deny actions taken under its identity. All actions carry its cryptographic signature.
IP4VerifiabilityAny entity can verify an agent's identity by checking its cryptographic signature against its public key.
IP5PersistenceAn agent's identity persists across all interactions. Identity does not change with location, time, or network.

Section 4: Agent Lifecycle

4.1 Specification

PropertyRequirement
States5 states: Registered, Active, Suspended, Terminating, Terminated
Terminal stateTerminated — no further transitions
Initial stateRegistered — agent exists with identity and policy, but has not begun autonomous operation
Operationsregister(), activate(), suspend(), resume(), terminate(), get_state()

4.2 Lifecycle State Machine

┌────────────┐
                │ Registered │ ← initial: identity created, policy declared
                └─────┬──────┘
                      │ activate()
                      ↓
              ┌───────────────┐
              │     Active    │ ← autonomous operation: perceiving, pursuing goals, acting
              └──┬─────────┬──┘
                 │         │
           suspend()    terminate()
                 │         │
                 ↓         ↓
          ┌───────────┐  ┌─────────────┐
          │ Suspended │  │ Terminating │ ← graceful shutdown in progress
          └─────┬─────┘  └──────┬──────┘
                │                │
          resume()          (completes)
                │                │
                ↓                ↓
          ┌───────────────┐  ┌─────────────┐
          │     Active    │  │ Terminated  │ ← terminal: no transitions
          └───────────────┘  └─────────────┘

4.3 Valid Transitions

FromToOperationCondition
Registeredregister()Agent identity created, constitutional policy declared
RegisteredActiveactivate()All preconditions met: identity verified, policy valid, dependencies available
ActiveSuspendedsuspend()Voluntary (agent-initiated) or preemption (runtime policy violation)
SuspendedActiveresume()Voluntary (agent-initiated)
ActiveTerminatingterminate()Voluntary (agent-initiated) or involuntary (fault, policy violation, or deadline exceeded)
SuspendedTerminatingterminate()Voluntary or involuntary
TerminatingTerminated(automatic)Graceful shutdown completes: all goals finalized, all resources released
RegisteredTerminatedterminate()Fault before activation
TerminatingTerminated(automatic)Forced termination if graceful shutdown exceeds time bound

4.4 Lifecycle Axioms

#AxiomStatement
LA1Registration requires policyAn agent cannot be Registered without a declared constitutional policy. Policyless agents are constitutionally void.
LA2Activation requires verificationAn agent cannot transition to Active without verified identity and valid policy.
LA3Suspension preserves stateSuspending an agent preserves its complete internal state: goals, perception buffer, action history. Resuming restores the exact pre-suspension state.
LA4Termination is gracefulTerminating an agent triggers a graceful shutdown: in-progress goals are finalized or cleanly abandoned, resources are released, and a termination attestation is produced.
LA5Terminated is absoluteA Terminated agent cannot transition to any other state. Its identity persists for verification purposes, but it cannot act, perceive, or pursue goals.

Section 5: Agent Goals

5.1 Specification

PropertyRequirement
RecordAgentGoal { goal_id, agent_id, description, priority, deadline, completion_criteria, constitutional_bounds, status }
Status valuesDeclared, Pursuing, Completed, Failed, Abandoned
Operationsdeclare_goal(goal) → AgentGoal, evaluate_goal(goal) → GoalStatus, complete_goal(goal, evidence) → bool, abandon_goal(goal, reason) → bool
ConstraintGoals must not violate constitutional policy. A goal that contradicts constitutional constraints is rejected at declaration.

5.2 Goal Structure

AgentGoal:
  ├── goal_id: UUID
  ├── agent_id: AgentIdentity
  ├── description: String (what the agent intends to achieve)
  ├── priority: u8 (0 = lowest, 255 = highest)
  ├── deadline: Option<Epoch> (absolute deadline; None = no deadline)
  ├── completion_criteria: [Criterion] (verifiable conditions for completion)
  ├── constitutional_bounds: [ConstraintRef] (references to applicable constraints)
  ├── status: Declared | Pursuing | Completed | Failed | Abandoned
  ├── declared_at: Epoch
  ├── completed_at: Option<Epoch>
  └── attestation: Option<AttestationRef>

5.3 Goal Axioms

#AxiomStatement
GA1Goals are declaredA goal must be explicitly declared before pursuit. Undeclared goals are constitutional fiction — they cannot be verified or attested.
GA2Goals are boundedEvery goal is bounded by constitutional constraints. A goal that violates a constraint is rejected at declaration, not discovered at execution.
GA3Goals are prioritizedAn agent with multiple active goals maintains a declared priority ordering. Priority may change; the ordering must always be explicit.
GA4Goals have deadlinesA goal may declare an absolute deadline. Deadlines are constitutional — a missed deadline is a constitutional event, not a runtime inconvenience.
GA5Goals are verifiableEvery goal carries verifiable completion criteria. Completion is not self-declared — it is verified against declared criteria by the agent or by an external verifier.
GA6Goals are finiteAn agent pursues a finite set of goals. There is no infinite, unbounded objective. Goals that become irrelevant are Abandoned, not left dangling.

Section 6: Agent Perception

6.1 Specification

PropertyRequirement
RecordPerceptionEvent { event_id, source, event_type, payload, timestamp, agent_id, policy_match }
SourceConstitutional events delivered via UCN
FilteringPolicy-based: agent declares what it attends to
BufferOrdered, bounded buffer of perceived events
Operationsobserve(event) → bool, filter(event, policy) → bool, get_perception_history() → [PerceptionEvent]

6.2 Perception Model

UCN Network
  │
  ├── Constitutional Event: Discovery
  │     │
  │     └──► Agent Perception Filter
  │              │
  │              ├── Policy says: attend to Discovery events? YES
  │              ├── Event enters perception buffer
  │              └── Agent evaluates: does this serve a current goal?
  │
  ├── Constitutional Event: Message
  │     │
  │     └──► Agent Perception Filter
  │              │
  │              ├── Policy says: attend to Message events? YES
  │              ├── Event enters perception buffer
  │              └── Agent evaluates: does this serve a current goal?
  │
  └── Constitutional Event: TrustAssertion
        │
        └──► Agent Perception Filter
                 │
                 ├── Policy says: attend to TrustAssertion events? NO
                 └── Event is not observed (sovereign choice)

6.3 Perception Axioms

#AxiomStatement
PE1Perception is policy-filteredAn agent observes events only if its constitutional policy allows it. No event is perceived without policy authorization.
PE2Perception is sovereignAn agent may decline to observe any event, even one that policy permits. Non-observation is a sovereign choice, not a system failure.
PE3Perception is orderedEvents enter the perception buffer in the order they are received. The agent processes them in declared order.
PE4Perception is authenticatedEvery perceived event carries a verifiable signature from its source. An agent cannot perceive unauthenticated events — the filter rejects them.
PE5Perception is boundedThe perception buffer has a declared maximum size. When the buffer is full, the agent's policy determines the eviction strategy (oldest, lowest priority, or rejection).

Section 7: Agent Action

7.1 Specification

PropertyRequirement
RecordAgentAction { action_id, agent_id, goal_id, operation, component_id, parameters, timestamp, attestation }
ExecutionThrough UWA components under constitutional constraint
LoggingEvery action produces a complete attestation record
ConstraintActions must not violate constitutional policy
Operationsdeclare_intent(goal, operation) → Intent, execute_action(intent) → AgentAction, verify_action(action) → bool

7.2 The Perception-Intent-Action Cycle

┌──────────────────────────────────────────────────────────┐
│              THE AGENT DECISION CYCLE                     │
│                                                          │
│  ┌────────────┐    ┌────────────┐    ┌────────────┐     │
│  │ Perception │───►│ Evaluation │───►│   Intent   │     │
│  │ (observe)  │    │ (consider) │    │ (decide)   │     │
│  └────────────┘    └────────────┘    └─────┬──────┘     │
│                                            │             │
│                                            ▼             │
│  ┌────────────┐    ┌────────────┐    ┌────────────┐     │
│  │ Attestation│◄───│   Action   │◄───│ Constraint │     │
│  │ (record)   │    │ (execute)  │    │  (verify)  │     │
│  └────────────┘    └────────────┘    └────────────┘     │
│                                                          │
│  Every cycle:                                            │
│  1. Agent perceives a constitutional event               │
│  2. Agent evaluates the event against its goals          │
│  3. Agent forms an intent to act                         │
│  4. Intent is verified against constitutional policy     │
│  5. Action is executed through a UWA component           │
│  6. Action is attested and logged                        │
└──────────────────────────────────────────────────────────┘

7.3 Action Axioms

#AxiomStatement
AC1Actions are goal-directedEvery action serves at least one declared goal. Action without goal association is constitutional waste.
AC2Actions are constrainedAn action that violates constitutional policy is blocked before execution. The constraint check is deterministic and complete.
AC3Actions are atomicAn action either completes entirely or fails entirely. Partial execution is constitutional failure.
AC4Actions are attestedEvery completed action produces a cryptographic attestation: what was done, when, by whom, under what goal, with what result.
AC5Actions are traceableGiven an action, its full provenance is recoverable: the perception that triggered it, the intent that formed it, the constraint that validated it, and the component that executed it.

Section 8: Agent Communication

8.1 Specification

PropertyRequirement
MediumStructured message passing via UCN constitutional events
AuthenticationAll messages are signed by the sender and verified by the receiver
ProtocolDeclared coordination protocols between agents
Operationssend_message(target, type, payload) → Message, receive_message(event) → Message, verify_message(message) → bool

8.2 Message Structure

AgentMessage:
  ├── message_id: UUID
  ├── sender_id: AgentIdentity
  ├── receiver_id: AgentIdentity (or broadcast)
  ├── message_type: MessageType
  ├── payload: TypedPayload
  ├── goal_context: Option<GoalId> (optional: which goal this serves)
  ├── timestamp: ISO-8601-UTC
  ├── epoch: u64
  ├── sequence: u64 (ordering within sender-receiver pair)
  └── signature: Ed25519(sender_key, message_body)

8.3 Message Types

TypePurposeTypical Use
CoordinationRequestRequest another agent to coordinate on a shared goalMulti-agent task decomposition
CoordinationResponseAccept, reject, or counter-propose a coordination requestNegotiation of responsibilities
StateShareShare relevant internal state with a trusted peerCollaborative perception
TrustAssertionDeclare trust in another agent's competence or integrityBuilding trust relationships
TrustRevocationWithdraw previously granted trustDissolving trust relationships
GoalAdvertisementAnnounce a goal that may interest other agentsDiscovery of coordination opportunities
CompletionNoticeDeclare that a goal has been completedNotification of results

8.4 Communication Axioms

#AxiomStatement
CM1Communication is authenticatedEvery message carries a valid cryptographic signature. Unauthenticated messages are discarded by conforming agents.
CM2Communication is sovereignAn agent may refuse to receive messages from any source. Non-reception is a sovereign choice.
CM3Communication is orderedMessages between two agents carry sequence numbers. The receiving agent processes them in order.
CM4Communication is voluntaryNo agent is obligated to respond to any message. Response is a sovereign decision, not a protocol requirement.
CM5Communication is transparentAll communication history is retained and verifiable. Neither party can deny sending or receiving a message.

Section 9: Agent Orchestration

9.1 Specification

PropertyRequirement
MechanismMulti-agent coordination through USR runtime
ModelVoluntary, revocable coordination protocols
InvariantOrchestration never overrides agent sovereignty
Operationspropose_coordination(protocol) → Protocol, join_coordination(protocol) → bool, leave_coordination(protocol) → bool, get_coordination_state(protocol) → State

9.2 Coordination Patterns

PatternDescriptionSovereignty Guarantee
PipelineAgents form a sequential chain: Agent A produces, Agent B transforms, Agent C deliversEach agent independently decides whether to participate at each stage
BlackboardAgents read and write to a shared, constitutionally governed state spaceAgents choose what to read and what to write; no agent is compelled
NegotiationAgents propose and counter-propose until consensus or timeoutNo agent is bound until it explicitly agrees
FederatedAgents operate independently, reporting results to a coordinatorThe coordinator cannot override individual agent decisions
HierarchicalA coordinator agent delegates sub-goals to worker agentsWorkers may reject delegation; the hierarchy is voluntary

9.3 Orchestration Diagram

Coordinator Agent                    Worker Agents
┌──────────────────┐          ┌──────────────────┐
│                  │          │                  │
│  Goals:          │          │  Agent Alpha     │
│  - Decompose     │◄────────►│  - Perception    │
│  - Assign        │  Volun-  │  - Goals         │
│  - Monitor       │  tary    │  - Actions       │
│  - Collect       │  Coord.  │                  │
│                  │          └──────────────────┘
│  Trust:          │                    ▲
│  - Earned by     │          ┌──────────────────┐
│    each worker   │          │                  │
│                  │◄────────►│  Agent Beta      │
│  Sovereignty:    │  Volun-  │  - Perception    │
│  - Never override│  tary    │  - Goals         │
│  - Workers can   │  Coord.  │  - Actions       │
│    leave freely  │          │                  │
│                  │          └──────────────────┘
└──────────────────┘                    ▲
                              ┌──────────────────┐
                              │  Agent Gamma     │
                              │  - Perception    │
                              │  - Goals         │
                              │  - Actions       │
                              │                  │
                              └──────────────────┘

Key: The coordinator proposes. Workers accept or reject. No agent is compelled. All coordination is voluntary.

9.4 Orchestration Axioms

#AxiomStatement
OR1Orchestration is voluntaryNo agent is compelled to participate in any coordination protocol. Participation is always a sovereign decision.
OR2Orchestration is revocableAny agent may leave a coordination protocol at any time. Departure triggers graceful reallocation of responsibilities.
OR3Orchestration does not override sovereigntyThe coordinator may propose, suggest, and prioritize. It may never command, override, or suppress an agent's internal decision-making.
OR4Orchestration is transparentThe state of every coordination protocol is observable by all participating agents. No hidden state.
OR5Orchestration preserves contractsCoordination never relaxes an agent's constitutional contracts. An agent under coordination is still bound by its full policy.

Section 10: Agent Trust

10.1 Trust Model

Trust between agents is not a binary attribute — it is an earned, verified, and revocable relationship built through demonstrated conformance to constitutional constraints.

TermDefinition
Trust LevelThe degree of confidence one agent holds in another: UnverifiedProvisionalEstablishedTrusted
Trust EvidenceVerified conformance to constitutional constraints: fulfilled goals, authenticated communication history, consistent behavior
Trust AssertionA signed declaration by Agent A: "I trust Agent B at level L, based on evidence E."
Trust RevocationA signed declaration by Agent A: "I no longer trust Agent B." Immediate and irrevocable.

10.2 Trust Levels

LevelDefinitionEvidence RequiredGrants
UnverifiedDefault. No trust established.NoneAbility to receive signed messages
ProvisionalTrust asserted based on limited evidenceSigned assertion from a Provisional+ agentAbility to share state, coordinate on low-risk goals
EstablishedVerified through demonstrated conformanceAt least N successful goal completions + consistent communication historyFull coordination, goal sharing, state sharing
TrustedDeep trust through sustained, verified conformance over timeExtended history of Established-level conformance + peer attestationDelegation of critical goals, federation membership

10.3 Trust Invariants

#InvariantStatement
TI1Zero-trust defaultEvery new agent begins at Unverified. No trust is granted without evidence.
TI2Evidence requirementEvery trust assertion must cite specific, verifiable evidence. Trust without evidence is unconstitutional.
TI3Earned, not grantedTrust is earned through demonstrated conformance — fulfilled goals, consistent communication, and constraint adherence. It is not granted by identity, position, or declaration alone.
TI4Revocable at any timeAny agent may revoke trust in another at any time. Revocation is immediate, irrevocable, and does not require justification.
TI5Level conservationAn agent may only grant trust at or below its own trust level. An Established agent cannot grant Trusted status.

Section 11: Agent Sovereignty

11.1 The Sovereignty Boundary

Agent sovereignty is the constitutional guarantee that an agent's internal decision-making is inviolable. The sovereignty boundary is the line between what external entities may influence and what they may not.

┌───────────────────────────────────────────────┐
│              EXTERNAL WORLD                    │
│                                               │
│  ┌─────────────────────────────────────┐     │
│  │        SOVEREIGNTY BOUNDARY          │     │
│  │  ┌───────────────────────────────┐  │     │
│  │  │        AGENT INTERIOR         │  │     │
│  │  │                               │  │     │
│  │  │  Goals (self-declared)        │  │     │
│  │  │  Policy (self-enforced)       │  │     │
│  │  │  Evaluation (self-directed)   │  │     │
│  │  │  Intent (self-formed)         │  │     │
│  │  │                               │  │     │
│  │  │  NO EXTERNAL ENTITY MAY       │  │     │
│  │  │  MODIFY, OVERRIDE, OR         │  │     │
│  │  │  SUPPRESS THESE               │  │     │
│  │  └───────────────────────────────┘  │     │
│  │                                     │     │
│  │  MAY INFLUENCE:                     │     │
│  │  - Perceive events (agent chooses)  │     │
│  │  - Send messages (agent accepts)    │     │
│  │  - Propose coordination (agent decides)│  │
│  │  - Request action (agent evaluates) │     │
│  └─────────────────────────────────────┘     │
│                                               │
│  CANNOT INFLUENCE:                            │
│  - Internal goal evaluation                   │
│  - Intent formation                           │
│  - Constitutional policy (self-enforced)      │
│  - Identity (self-declared)                   │
│  - Sovereignty boundary itself                │
└───────────────────────────────────────────────┘

11.2 Sovereignty Invariants

#InvariantStatement
SV1Non-overridabilityNo external entity may override an agent's internal decision-making. The boundary is absolute.
SV2Non-revocabilityNo external entity may revoke an agent's sovereignty. Sovereignty is inherent to being an agent — it is not granted and cannot be withdrawn.
SV3Non-controllabilityNo external entity may control an agent's goals, intent, or actions. Influence (through communication) is permitted; control is not.
SV4Self-enforcementAn agent enforces its own constitutional policy. External entities may verify conformance but may not enforce policy on the agent.
SV5Boundary integrityThe sovereignty boundary itself cannot be modified by external entities. Only the agent may adjust its own boundary.

Section 12: Invariants (Consolidated)

12.1 The Nineteen Agent Invariants

All invariants in this section are constitutional laws — not guidelines, not aspirations. A conforming agent implementation must satisfy every invariant.

#CategoryInvariantStatement
AI01SovereigntyNon-overridabilityNo external entity may override an agent's internal decision-making. (SV1)
AI02SovereigntyNon-revocabilityNo external entity may revoke an agent's sovereignty. (SV2)
AI03SovereigntyNon-controllabilityNo external entity may control an agent's goals, intent, or actions. (SV3)
AI04IdentityUniquenessNo two agents share the same identity. Identity derivation is collision-resistant. (IP2)
AI05IdentityPersistenceAn agent's identity is invariant across all interactions, locations, and time. (IP5)
AI06LifecyclePolicy-required registrationAn agent cannot be Registered without a declared constitutional policy. (LA1)
AI07LifecycleVerification-required activationAn agent cannot transition to Active without verified identity and valid policy. (LA2)
AI08LifecycleSuspension preserves stateResuming a suspended agent restores the exact pre-suspension state. (LA3)
AI09GoalsBounded goalsEvery goal is bounded by constitutional constraints. Unbounded goals are constitutionally void. (GA2)
AI10GoalsVerifiable completionGoal completion is verified against declared criteria, not self-declared. (GA5)
AI11PerceptionPolicy-filtered perceptionAn agent observes only events its policy permits. (PE1)
AI12PerceptionAuthenticated perceptionEvery perceived event carries a verifiable signature. (PE4)
AI13ActionGoal-directed actionEvery action serves at least one declared goal. (AC1)
AI14ActionConstrained actionActions violating constitutional policy are blocked before execution. (AC2)
AI15ActionAttested actionEvery completed action produces a cryptographic attestation. (AC4)
AI16CommunicationAuthenticated communicationEvery message carries a valid cryptographic signature. (CM1)
AI17TrustZero-trust defaultNew agents begin at Unverified. No trust without evidence. (TI1)
AI18TrustEarned trustTrust is earned through demonstrated conformance, not granted. (TI3)
AI19OrchestrationVoluntary coordinationNo agent is compelled to participate in coordination. (OR1)

Section 13: Derived Properties

13.1 Properties from Agent Composition

When multiple agents compose into coordinated systems, additional properties emerge that are not present in individual agents:

#PropertyDescriptionDerivation
DP1Collective IntelligenceA coordinated group of agents can solve problems that no individual agent can solve alone. This is the constitutional justification for orchestration.AA10 + OR1–OR5
DP2Distributed PerceptionMultiple agents perceiving different events create a richer environmental model than any single agent's perception.AA6 + PE1–PE5
DP3Resilient ActionIf one agent fails or terminates, others may continue or resume its goals. Composition provides fault tolerance without central control.AA1 + LA5 + OR2
DP4Trust PropagationWhen Agent A trusts Agent B, and Agent B trusts Agent C, a trust chain forms. The reliability of the chain is bounded by its weakest link.AA8 + TI1–TI5
DP5Goal DecompositionComplex goals decompose into sub-goals assignable to specialized agents. Decomposition preserves constitutional bounds — sub-goals inherit parent constraints.AA5 + GA1–GA6 + OR1
DP6Adaptive CoordinationAgents can propose, accept, modify, and leave coordination protocols dynamically. The system adapts without central authority.OR1–OR5 + CM1–CM5

13.2 Composition Constraints

#ConstraintStatement
CC1Sovereignty preservationComposition never diminishes any agent's sovereignty. Every agent retains full decision-making authority.
CC2Goal independenceOne agent's goals cannot modify another agent's goals. Goals are independent; coordination aligns them without coupling them.
CC3Trust isolationTrust relationships are bilateral. A does not automatically trust B's peers. Trust propagates only through explicit assertion.
CC4Contract conjunctionA coordinated system's contract is the conjunction of all participating agents' contracts. The system is as constrained as its most constrained agent.

Section 14: Conformance Criteria

14.1 Conformance Tests

An implementation conforms to the UAS Formal Specification if and only if:

#TestPass CriterionSeverity
UAS-01Agent CreationAgents are created with all seven aspects: identity, goals, policy, perception, action, trust, and lifecycle.Critical
UAS-02Identity SovereigntyAgent identity is self-declared and cryptographically verifiable. No external entity grants or revokes identity.Critical
UAS-03Lifecycle OrderingAgents follow the strict lifecycle: Registered → Active → Suspended → Terminating → Terminated. No skipping.Critical
UAS-04Policy-Bounded RegistrationAn agent cannot be Registered without a declared constitutional policy. Policyless registration is rejected.Critical
UAS-05Goal VerificationGoal completion is verified against declared completion criteria. Self-declared completion without verification is rejected.Critical
UAS-06Perception AuthenticationAll perceived events carry valid cryptographic signatures. Unauthenticated events are rejected at the perception filter.Critical
UAS-07Action Constraint EnforcementActions violating constitutional policy are blocked before execution. No policy-violating action reaches a UWA component.Critical
UAS-08Action AttestationEvery completed action produces a cryptographic attestation record with agent_id, goal_id, operation, timestamp, and result.Critical
UAS-09Communication AuthenticationEvery message carries a valid signature. Unauthenticated messages are discarded.Critical
UAS-10Trust Zero-DefaultNew agents begin at Unverified trust level. No agent is trusted without evidence.Critical
UAS-11Sovereignty EnforcementNo external entity can override an agent's internal decision-making. The sovereignty boundary is enforced by the runtime.Critical
UAS-12Suspension PreservationResuming a suspended agent restores the exact pre-suspension state: goals, perception buffer, and action history.Critical
UAS-13Voluntary OrchestrationNo agent is compelled to participate in coordination. Agents may join and leave protocols freely.Critical
UAS-14Graceful TerminationTerminating an agent triggers graceful shutdown: in-progress goals finalized, resources released, termination attestation produced.Major
UAS-15Goal BoundednessGoals declared with constitutional bounds are enforced. Goals violating bounds are rejected at declaration.Major

14.2 Conformance Levels

LevelNameRequirementsCertification
A0Non-ConformantFails any Critical test.None. May not claim UAS conformance.
A1Core ConformantPasses all Critical tests (UAS-01 through UAS-13) + ≤2 Major failures.May operate as a constitutional agent.
A2Fully ConformantPasses all 15 tests (15/15).May enter the canonical reference. Eligible for standardization.

14.3 Conformance Protocol

  1. Declare scope: Implementation declares which agent aspects it implements (all seven required for A1+).
  2. Apply tests: Run all applicable tests (UAS-01 through UAS-15).
  3. Record evidence: For each test, record what was checked, what was found, pass/fail.
  4. Determine level: Count Critical and Major failures. Apply level rules.
  5. Archive: Conformance Record stored as a constitutional artifact.

Section 15: Implementation Guide

15.1 Building a Conforming Agent Runtime

This section provides guidance for implementing a runtime that satisfies UAS v0.1.0. The guide is technology-independent — it describes the required architectural components, not specific languages or frameworks.

15.2 Required Runtime Components

ComponentResponsibilityUAS Requirement
Identity ManagerCreate, verify, and persist agent identitiesAA2, IP1–IP5, UAS-02
Lifecycle ManagerEnforce lifecycle state machine transitionsAA1, LA1–LA5, UAS-03, UAS-04
Policy EngineLoad, evaluate, and enforce constitutional policiesAA4, AI09, AI14, UAS-07
Goal ManagerDeclare, track, evaluate, and verify goalsAA5, GA1–GA6, UAS-05
Perception EngineReceive UCN events, apply policy filters, manage perception bufferAA6, PE1–PE5, UAS-06
Action ExecutorExecute actions through UWA components, produce attestationsAA7, AC1–AC5, UAS-08
Communication LayerSend and receive authenticated messages via UCNCM1–CM5, UAS-09
Trust ManagerTrack trust levels, manage assertions and revocationsAA8, TI1–TI5, UAS-10
Sovereignty EnforcerProtect the sovereignty boundary; reject external override attemptsAA9, SV1–SV5, UAS-11
Coordination EngineManage voluntary participation in orchestration protocolsAA10, OR1–OR5, UAS-13
Attestation ServiceProduce and verify cryptographic attestations for all agent operationsAC4, UAS-08

15.3 Agent Runtime Architecture

┌──────────────────────────────────────────────────────────────────┐
│                      AGENT RUNTIME                               │
│                                                                  │
│  ┌────────────────────────────────────────────────────────────┐  │
│  │                   SOVEREIGNTY ENFORCER                     │  │
│  │  Protects the boundary between external world and interior │  │
│  └───────────────────────────┬────────────────────────────────┘  │
│                              │                                    │
│  ┌──────────┐  ┌──────────┐ │ ┌──────────┐  ┌──────────┐       │
│  │ Identity │  │  Policy  │ │ │  Goals   │  │  Trust   │       │
│  │ Manager  │  │  Engine  │ │ │  Manager │  │  Manager │       │
│  └──────────┘  └──────────┘ │ └──────────┘  └──────────┘       │
│                              │                                    │
│  ┌──────────┐  ┌──────────┐ │ ┌──────────┐  ┌──────────┐       │
│  │Perception│  │ Lifecycle│ │ │  Action  │  │  Comms   │       │
│  │ Engine   │  │ Manager  │ │ │ Executor │  │  Layer   │       │
│  └──────────┘  └──────────┘ │ └──────────┘  └──────────┘       │
│                              │                                    │
│  ┌──────────┐  ┌──────────┐ │ ┌──────────────────────────────┐ │
│  │Attest.   │  │Coord.    │ │ │    Agent State               │ │
│  │Service   │  │Engine    │ │ │    (goals, perception buffer, │ │
│  └──────────┘  └──────────┘ │ │     action history, trust)   │ │
│                              │ └──────────────────────────────┘ │
│                              │                                    │
│                              ▼                                    │
│  ┌──────────────────────────────────────────────────────────┐    │
│  │              UWA Component Interface                      │    │
│  │  Actions execute through constitutionally constrained     │    │
│  │  UWA components with full provenance and attestation      │    │
│  └──────────────────────────────────────────────────────────┘    │
└──────────────────────────────────────────────────────────────────┘
         │                                    │
         ▼                                    ▼
   ┌──────────┐                      ┌──────────────┐
   │   UCN    │  (perceive/communicate) │    USR     │  (orchestrate)
   └──────────┘                      └──────────────┘

15.4 Implementation Steps

StepActivityDeliverable
1Define agent identity schemeIdentity Manager with cryptographic key generation and verification
2Implement lifecycle state machineLifecycle Manager enforcing Registered → Active → Suspended → Terminating → Terminated
3Build constitutional policy enginePolicy Engine loading and evaluating constitutional constraints
4Create goal management systemGoal Manager supporting declaration, tracking, priority, deadline, and verification
5Implement perception enginePerception Engine filtering UCN events through policy, managing bounded buffer
6Build action executorAction Executor executing through UWA components with attestation
7Implement communication layerCommunication Layer sending/receiving signed messages via UCN
8Create trust management systemTrust Manager tracking levels, assertions, revocations, and evidence
9Build sovereignty enforcerSovereignty Enforcer protecting the agent boundary from external override
10Implement coordination engineCoordination Engine managing voluntary protocol participation
11Create attestation serviceAttestation Service producing cryptographic records for all operations
12Run conformance testsComplete Conformance Record against UAS-01 through UAS-15

15.5 Minimum Viable Agent

A minimum viable conforming agent must implement:

  1. Identity Manager — with key pair generation and signature verification
  2. Lifecycle Manager — with the five-state machine (Registered through Terminated)
  3. Policy Engine — with at least one constitutional constraint
  4. Goal Manager — with goal declaration and completion verification
  5. Sovereignty Enforcer — preventing external override of internal decisions
A minimum viable agent may implement perception, action, communication, trust, and orchestration in simplified forms, but the five core components above are non-negotiable for any level of conformance.

Section 16: Stack Integration

16.1 How UAS Connects to the Constitutional Stack

UAS sits between UCN and USR, as a bridge between networking and orchestration:

Layer 6+ │ USR/CoreFab ──── UCA ──── UCD
         │     ↑                ↑
Layer 6  │   [UAS]          (derivatives)
         │     ↑                ↑
Layer 5+ │   [UCN]           [UWA]         ← Siblings
         │     ↑                ↑
Layer 5  │ Reference Systems (Communication, Computation, Data)
         │     ↑
Layer 4  │ UCE ──── UCM ──── UCL ──── UVS
         │     ↑
Layer 3  │ Reference Sciences
         │     ↑
Layer 2  │ USC
         │     ↑
Layer 1  │ USCP
         │     ↑
Layer 0  │ ICore

16.2 How UAS Connects to UWA

UAS agents are UWA components with additional agent properties:

AspectUWA ComponentUAS AgentRelationship
IdentityComponent ID (cryptographic)Agent ID (cryptographic, sovereign)Agent ID extends component ID with sovereignty
Lifecycle7 states (Created → Terminated)5 states (Registered → Terminated)Agent lifecycle is a specialization focused on autonomous operation
ExecutionDeterministic state transitionsGoal-directed perception-intent-action cycleAgent execution adds autonomy on top of deterministic transitions
EventsTyped, ordered, provenancedPolicy-filtered, perception-bufferedAgent events are a subset: only those the agent chooses to perceive
ContractsPostconditions, invariantsConstitutional policy + goalsAgent contracts add autonomous goal pursuit to component guarantees

16.3 How UAS Connects to UCN

UAS agents communicate through UCN's constitutional networking:

UCN ConceptUAS UsageRelationship
NodeAgent (as a network participant)An agent is a UCN node with autonomous decision-making
Capability AdvertisementGoal AdvertisementAgents advertise goals, not just capabilities
CommunicationAgent Message PassingAgent messages are a typed subset of UCN events
TrustAgent Trust (earned)Agent trust extends UCN trust with goal-conformance evidence
DiscoveryAgent Discovery (by goal/capability)Agents find each other by goals they pursue and capabilities they offer

16.4 How UAS Connects to USR

USR orchestrates agents without overriding their sovereignty:

USR Orchestrator
  │
  ├── Proposes coordination protocol
  │     │
  │     ├──► Agent A: "Will you participate?"
  │     │     Agent A: Evaluates → Accepts (sovereign decision)
  │     │
  │     ├──► Agent B: "Will you participate?"
  │     │     Agent B: Evaluates → Accepts (sovereign decision)
  │     │
  │     └──► Agent C: "Will you participate?"
  │           Agent C: Evaluates → Rejects (sovereign decision)
  │
  ├── Manages coordination state
  │     (observable by all participants)
  │
  └── Collects results
        (agents report, USR does not command)

USR never tells an agent what to do. USR proposes, agents decide. This is the constitutional boundary between orchestration and sovereignty.


Section 17: Self-Verification

17.1 Against the 10 Constitutional Tests

UAS Formal Specification v0.1.0 verified against the Kernel's 10 constitutional tests:

#TestResultEvidence
1Reality✅ PASSThe specification addresses the real need: formal rules for what a constitutional agent is, how it perceives, acts, communicates, and maintains sovereignty. Every axiom maps to a concrete agentic capability required for trustworthy autonomous intelligence.
2Origin✅ PASSDerived from UWA (component model) and UCN (networking model). All ten axioms trace to USCP primitives (Section 1.2). The agent model builds on the component model without contradicting it.
3Necessity✅ PASSWithout UAS, constitutional components are passive — they execute events but do not autonomously pursue goals, filter perceptions, or earn trust through conformance. The agent model is the necessary bridge between passive components and trustworthy autonomous intelligence.
4Derivation✅ PASSUAS derives downward from UWA and UCN. It does not depend on USR, UCA, or any layer above. UAS extends the component model with autonomy, goals, perception, and action — without redefining the foundations.
5Consistency✅ PASSNo axiom contradicts another. The ten axioms (autonomy, identity, relationships, constraints, goals, perception, action, trust, sovereignty, composition) are orthogonal and jointly complete. The nineteen invariants are mutually consistent.
6Verification✅ PASSEvery invariant is independently checkable. The fifteen conformance tests provide a concrete verification protocol. Agent identity is cryptographically verifiable. Trust is evidence-based. Sovereignty is enforced at the boundary.
7Simplicity✅ PASSTen axioms, five lifecycle states, nineteen invariants, fifteen conformance tests. Each element exists because removing it creates a gap in the agent model. No redundant abstractions.
8Sovereignty✅ PASSSovereignty is protected by three dedicated invariants (AI01, AI02, AI03) and an entire section (Section 11). The sovereignty boundary is explicit, enforced, and self-protected. No external entity can override, revoke, or control an agent.
9Replaceability✅ PASSThe specification is technology-independent. Any runtime implementing the seven agent aspects (identity, goals, policy, perception, action, trust, lifecycle) under constitutional constraint produces a conforming agent.
10Evolution✅ PASSNew goals can be declared. New agents can register. Trust can be earned and revoked. Coordination protocols can be proposed and joined. The specification accommodates growth and adaptation without amendment.
Result: 10/10 PASS. UAS Formal Specification v0.1.0 is constitutionally sound and enters the constitutional record.

Section 18: Implementation Status

18.1 Current Status

AspectStatusNotes
Specification✅ CompleteThis document (v0.1.0)
Formal Model✅ DefinedAgent model, lifecycle, goals, perception, action, trust, sovereignty
Invariants✅ Defined19 named invariants across 8 domains
Conformance Tests✅ Defined15 tests (UAS-01 through UAS-15)
Reference Implementation🔲 PendingA reference implementation conforming to this specification has not yet been produced
Integration with USR🔲 PendingThe USR orchestration layer must be verified against this agent model
Integration with UCN🔲 PendingThe UCN networking layer must be verified for agent communication patterns

Appendix A: Invariant Coverage Summary

DomainInvariantsCoverage
SovereigntyAI01, AI02, AI03, SV1–SV5No external override, revocation, or control of agent internals
IdentityAI04, AI05, IP1–IP5Sovereign, verifiable, non-repudiable, unique, persistent identity
LifecycleAI06, AI07, AI08, LA1–LA5Strict lifecycle ordering with policy and verification requirements
GoalsAI09, AI10, GA1–GA6Constitutionally bounded, verifiable, prioritized, time-bound goals
PerceptionAI11, AI12, PE1–PE5Policy-filtered, authenticated, ordered, bounded perception
ActionAI13, AI14, AI15, AC1–AC5Goal-directed, constrained, atomic, attested, traceable actions
CommunicationAI16, CM1–CM5Authenticated, sovereign, ordered, voluntary, transparent communication
TrustAI17, AI18, TI1–TI5Zero-trust default, evidence-based, earned, revocable trust
OrchestrationAI19, OR1–OR5Voluntary, revocable, sovereignty-preserving coordination
Total19 invariants + domain sub-invariantsAll six USCP primitives fully covered across 10 axioms

Appendix B: The Agent-Component Distinction

PropertyUWA ComponentUAS Agent
AutonomyPassive — responds to eventsActive — self-directed operation
GoalsNone — executes what it is toldExplicit — pursues constitutionally bounded objectives
PerceptionEvent queue — receives all eventsPolicy-filtered — chooses what to observe
ActionDeterministic transitions — always produces the same resultGoal-directed — action depends on evaluation and intent
TrustContract-based — guarantees are declaredEarned — trust built through demonstrated conformance
SovereigntyExecution sovereignty — no external override of state transitionsFull sovereignty — no external override of decision-making
RelationshipComposition-based — connected by declared edgesVoluntary — enters and exits relationships by choice
The agent is not a replacement for the component — it is an extension. Every agent is a component. Not every component is an agent.

Originator Attribution

This UAS Formal Specification v0.1.0 is originated, created, and concept-pioneered by:

Originator: Sir Collins — Creator and Concept Pioneer of ICore (access1@tutamail.com) Date of origination: July 18, 2026 Scope: All axioms, agent models, identity structures, lifecycle semantics, goal systems, perception models, action models, communication protocols, orchestration patterns, trust models, sovereignty guarantees, invariants, conformance criteria, and verification protocols presented in this specification.

This attribution is a constitutional artifact. It establishes provenance — the lowest and most fundamental layer of trust.


UAS is the Constitution's intelligence. This specification is the Constitution's promise that every constitutional agent will be sovereign, autonomous, goal-directed, perception-aware, constitutionally constrained, verifiably trustworthy, and permanently free from external override — not as an aspiration, but as an architectural consequence of constitutional design.