Skip to content

[Public Agent Network]: Direct contract-backed launch SDK #166

@FlowmemoryAI

Description

@FlowmemoryAI

Goal

Build the direct SDK path for signing and submitting public agent and swarm launches against deployed contracts.

Scope

  • Signer/provider abstraction that does not require raw private keys by default
  • Contract-aligned EIP-712 digest and calldata helpers
  • AgentFactory.launchAgent submission
  • SwarmFactory.createSwarm submission
  • Receipt polling and event decoding

Acceptance Criteria

  • SDK can prepare, sign, submit, and read back a public-agent launch on local Anvil.
  • SDK can prepare, submit, and read back a swarm launch on local Anvil.
  • Tests cover rejected signatures, nonce replay, bad class/toolset, and receipt decoding.
  • Docs explain trust boundary and secret-handling rules.

Verification

  • Local Anvil e2e with real broadcast logs.
  • SDK tests pass without network secrets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions