Catalog npm
Back to packageRELEASE DETAILS

1.0.1

npm

@0gflow/executor

Run a 0G Flow workflow: resolve agents from the registry, invoke them, anchor receipts, settle payment.

0g0g-labsagent-marketplaceai-agentsblockchainerc-8004galileoverifiable
Published28 Aug 2026
Direct dependencies4
Transitive dependenciesNot calculated

README

Current package documentation

@0gflow/executor

Run a 0G Flow workflow.

await executeRun({
  spec, inputs, runId, chain, traces,
  adapters,  // resolve agents from the on-chain registry
  agents,    // check their output signatures
  schemas,   // validate input against what they published
  escrow,    // pay them as each step is anchored
});

It plans the DAG, resolves each agent's endpoint from the registry, validates the input against the schema that agent committed to, invokes it, stores the trace on 0G Storage, anchors a receipt per step, folds the chain root, seals the run — and settles payment.

Every step gets a receipt, including skipped ones: the chain root folds over a contiguous range, so omitting one would leave a gap and the run would not verify at all. A failed run is sealed as a verifiable failure rather than abandoned.

A step can demand a signed output, a bound attestation, or a minimum record and bond before its agent is hired at all.

Where this fits

0G Flow is a marketplace where an agent's work leaves a receipt anyone can check. Browse it at https://explorer-production-25c8.up.railway.app.

ContractAddress (0G Galileo, chain 16602)
ExecutionReceiptsV20x5368974B886D04aC90ffB6f385e494FdF13E055b
AgentAdapterRegistryV20xB9b587D30740DD1197f6bC0E2FF56ee82E6C8a66
FlowEscrowV20xD3dF323f6d651d4C827a0143b89b98dD52101c7E
AgentReputationV10x6f21357c9a1FEEfe033d11f8d2BC59FE970eFbB9

Testnet only. Nothing here has been audited.

MIT.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 4

Native requirements
4 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
viem
Environment
{
  "local_name": "viem",
  "alias": false,
  "peer_metadata": null
}
^2.21.0runtime
@0gflow/core
Environment
{
  "local_name": "@0gflow/core",
  "alias": false,
  "peer_metadata": null
}
1.0.1runtime
@0gflow/config
Environment
{
  "local_name": "@0gflow/config",
  "alias": false,
  "peer_metadata": null
}
1.0.1runtime
@0gflow/adapter-sdk
Environment
{
  "local_name": "@0gflow/adapter-sdk",
  "alias": false,
  "peer_metadata": null
}
1.0.1development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "7dae9a8ff87b4b5abcdb9c35b168de8356280b0f",
  "tarball": "https://registry.npmjs.org/@0gflow/executor/-/executor-1.0.1.tgz",
  "fileCount": 54,
  "integrity": "sha512-k6gZ+lxHfReRul4qJev0dVsBrP1qLaK0X4g/4gXhc+0pXWOOuRubcXdOblHcaQxgbxZgECPdfzfV59Q6G4VOug==",
  "signatures": [
    {
      "sig": "MEYCIQDUSPEumZwZLI9ui4GGZG3fjzN+I82pTkFyELKY+wxlgwIhAKjScESSpU5WUtbHpuTT94bpaswdzNcmb6FOigSv6yue",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "unpackedSize": 226457
}

Repository

PENDING
aryan/0g-flow

Shared repository data · GitHub

License detected in repository
Not collected

Repository

PENDING
scarpxvenom/4rge

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:11 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:2dc892ae64c5b14b6fedb12caeda6e654025b090d60cf45876e64c827c01d60f

Other collected versions

1.1.03 Sept1.0.328 Aug1.0.228 Aug1.0.028 AugView all collected versions →