Skip to main content

Interface: AgentStorageConfig

Defined in: AgentStorage.ts:22

Runtime configuration required to initialize AgentStorage.

Properties

checkpointPolicy

checkpointPolicy: CheckpointPolicyConfig

Defined in: AgentStorage.ts:28

Checkpoint trigger policy.


existingTokenId?

optional existingTokenId?: bigint

Defined in: AgentStorage.ts:41

ERC-721 tokenId from a previous run. Supply this on every run after the first to skip re-registration.


identity

identity: AgentIdentityConfig

Defined in: AgentStorage.ts:30

ERC-8004 agent identity configuration.


logFlushThreshold?

optional logFlushThreshold?: number

Defined in: AgentStorage.ts:46

Number of log entries to buffer before auto-flushing to Filecoin. Defaults to 50.


network?

optional network?: NetworkName

Defined in: AgentStorage.ts:36

Runtime network. Defaults to calibnet.

  • calibnet uses Base Sepolia
  • mainnet uses Base Mainnet

privateKey

privateKey: string

Defined in: AgentStorage.ts:24

Hex private key without the 0x prefix.


wallet

wallet: WalletConfiguration

Defined in: AgentStorage.ts:26

Wallet policy: budget caps and low-budget callback.