💰Assets and Business State
The application owns the business model
An Agent is an on-chain identity and custody boundary, not a business-schema generator. A TAP developer decides which assets, records, capabilities, and shared objects represent the application and associates those objects with the Agent or an embedded Agent.
Business state can include coins, business assets, application records, policy objects, witnesses, and capabilities. Nexus does not prescribe the fields or lifecycle of that state; the application package defines them and its tools enforce the invariants that protect them.
The figure separates the Agent identity from the state your application owns. A tool may mutate that state only after the application has established the intended custody and authorization relationship.
Common ownership patterns
Agent-owned assets: every Agent has a standard
AgentPaymentVaultdynamic child; using that vault for Agent-funded work is optional, while other application assets remain under the custody chosen by the application.Embedded Agent: keep an Agent inside an application shared object when the package needs one durable object to govern its business state and skill binding.
Application records: keep domain records in application-defined objects and pass the relevant object through a workflow input when a tool needs to update it.
Shared state: use a shared object when several authorized transactions must access the same business state; define the mutation checks in the application package.
Capabilities and witnesses: retain owner capabilities, witness IDs, and package-specific capabilities in explicit custody so an upgrade or handoff can inventory who may mutate each object.
Ownership and protected mutation
Nexus expresses authority with typed ownership capabilities and mutable object custody rather than a universal owner address. OwnerCap and CloneableOwnerCap identify the object or witness they govern; the application decides where each capability is stored and which package entry points may use it.
For a protected workflow step, the application can require a fixed Tool and a workflow authorization grant, while the application Tool checks its own recipient, witness, and business-state invariants. A fixed Tool is a discovery and workflow constraint; it is not a substitute for the application’s state authorization.
Payment is one relationship, not the whole model
Every Agent has a standard AgentPaymentVault child, but an application chooses whether an Agent-funded execution uses it. Payment reserves and settlement are execution accounting. Read Payment Vaults, Reserves, and Settlement for payment custody and DAG and Execution for runtime state.
What does not belong here
Worksheets, walks, committed results, payment receipts, and other execution-created objects do not define the application business schema. They are introduced in DAG and Execution and On-Chain Result Resolution.
Design checklist
Name the business assets and records that must survive a workflow run.
Record the object or capability that authorizes each mutation.
Keep Agent custody, Tool owner custody, and application-state custody explicit.
Decide whether each object is owned, shared, embedded, or passed as an execution input.
Test the invariant that protects the business state independently of workflow admission.
Next
Continue to Tools and Skill Packages to connect business-state operations to callable tools and skill bindings.
Last updated

