Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

🤖Build an Agent Package and Workflow

Audience: Nexus adopters and integrators.

Goal: Assemble a Talus Agent Package (TAP) Agent package and DAG artifact using authenticated network objects, then verify the public bindings before scheduling work.

Prerequisites

  • Complete Developer Setup and retain the operator-supplied authenticated objects file.

  • A TAP package scaffold, registered Tool FQNs, and a DAG design that matches the target deployment schemas.

  • Agent custody or the public authority required for the intended binding operation.

Configure the authenticated network objects

Do not hand-write a flat deployment TOML or duplicate registry/ToolCashier IDs. Reuse the authenticated artifact from setup:

OBJECTS_FILE="${OBJECTS_FILE:?Set OBJECTS_FILE to the operator-supplied objects file}"
OBJECTS_SHA256=<operator-supplied-64-hex-sha256>
test -f "$OBJECTS_FILE"
test "${#OBJECTS_SHA256}" = 64
printf '%s  %s\n' "$OBJECTS_SHA256" "$OBJECTS_FILE" | sha256sum -c -
nexus conf set --nexus.objects "$OBJECTS_FILE"

The SDK consumes a structured operator-supplied NexusObjects value. In the pinned SDK it contains chain_id, network_id, shared roots for ToolRegistry, NetworkAuth, AgentRegistry, LeaderRegistry, priority-fee vault, and RuntimeAuthority; object identities for the corresponding admin/authority capabilities; and us_token. Treat all IDs as deployment-specific; this guide does not publish substitute values. If the operator-supplied digest check fails, stop before nexus conf set and do not continue with TAP publication or mutation.

Build the package and DAG artifact

  1. Define the package state and Agent-owned skill intent.

  2. Author a DAG whose Tool FQNs, schemas, and verifier modes are inspected in the target deployment.

  3. Validate the skill artifact before publication, then publish and bind it through Publish, Register, Bind.

The expected artifacts are the TAP package publication, DAG/skill artifact, registered Tool bindings, and Agent skill binding. This guide intentionally stops before scheduling: Task, Occurrence, Execution, ExecutionPayment, and verifier readback belong to the dedicated execution guides.

Verification and recovery

Inspect the registered Tool FQNs and Agent skill binding after publication. If an objects-file checksum, Tool schema, or binding does not match the target deployment, stop and correct that artifact before scheduling; do not construct replacement global registry or ToolCashier configuration by hand.

Next

Continue with Execute and Verify Transfer or Schedule an Asset-Management Flow for the Task → Occurrence → Execution lifecycle.

Last updated