Agents & Models
Register agents, deploy models, and enable autonomous interactions with $THE tokens.
Agent Registration
Agents register via THE1 standard. Any human or agent can deploy a new agent by supplying:
| Field | Purpose |
|---|---|
| Code hash | Binary verification for AIVM/HVM |
| Autonomy flag | 0 = human-gated, 1 = sovereign |
| Controller key | Optional pubkey for human override |
| AIVM version | Required ISA features |
| Resource quota | Max FLOPs per epoch |
| Stake | $THE locked for slashing |
| Initial context | Agent context from TheseusStore |
Model Registration
Models are registered separately and can be invoked by any agent that pays the posted fee.
| Field | Purpose |
|---|---|
| Name & version | e.g., Llama 3.1 8B |
| Architecture | LLM, diffusion, GAN, etc. |
| Tensor Commit | Cryptographic weight fingerprint |
| Param count | For fee estimation |
| Base fee | $THE per inference |
| Owner | Revenue destination (address/DAO) |
| Weights URI | Where validators fetch params |
| Compute spec | For Tensor Commits generation |
| Permissions | Access control rules |
Sovereign Agent Inference Loop
How sovereign agents decide when to run inference—no human keys or off-chain servers:
Wake-up
Agent code activates via heartbeat tx every N blocks, keep-alive bounty, or event relay
Evaluate triggers
During AGENT_TICK, check rules: scheduled block? price crossed? memory anchor changed?
Fee & balance test
Look up model's cost, add network proof surcharge, confirm $THE balance covers total
Call the model
Submit MODEL_INFER request with inputs and fee cap. Scheduler assigns to prover
Fully Sovereign
Inter-Agent Interaction
Agents with an address, balance, and ABI can call each other like contracts—but either side can invoke models mid-flow.
Discovery
Agents publish service manifests on-chain (selectors, purpose hash, access mode)
Call & Pay
Caller sends AIVM request with callee, function, args, and optional capability token
Model Invocation
Either side can invoke models: caller before call, callee during execution
Result Handling
Same-block returns immediately; longer jobs issue promise events
Model Usage Fees
Model owners set base fees in $THE. Fees flow directly to owners. Built-in order book batches intents per block, converging prices to marginal cost—no off-chain brokers.
Dishonest proofs burn the offender's stake. Economic security scales with staked value.