Skip to main content

Economic Execution and Control Layer for Agentic Systems

Project description

OmniClaw

Policy-controlled payment infrastructure for agent buyers.

OmniClaw core is focused on one job: letting agents and applications pay through controlled, auditable rails without giving software unrestricted wallet authority.

Product Boundary

Product Directory Owns
OmniClaw core src/omniclaw buyer SDK, policy engine, wallet/payment routing, x402 buyer execution, Gateway buyer readiness

Core should not include recipient-side paid endpoint hosting or settlement service code.

Core Capabilities

  • Financial Policy Engine for budgets, approvals, trust checks, and execution control
  • Python buyer SDK via OmniClaw().pay(...)
  • Agent buyer CLI via omniclaw-cli pay, inspect-x402, and can-pay
  • Circle Gateway buyer funding/readiness helpers
  • Standard x402 buyer flow for paying external paid endpoints
  • Ledger, idempotency, simulation, and payment-intent controls

Core Quickstart

Install:

pip install omniclaw

Start the policy engine:

cp .env.example .env
# Hybrid mode (default): leave OMNICLAW_BUYER_MODE=hybrid and fill CIRCLE_API_KEY,
# ENTITY_SECRET, OMNICLAW_PRIVATE_KEY, OMNICLAW_AGENT_TOKEN, OMNICLAW_OWNER_TOKEN,
# OMNICLAW_NETWORK, and OMNICLAW_RPC_URL.
# x402-only Gateway mode: set OMNICLAW_BUYER_MODE=x402, leave CIRCLE_API_KEY and
# ENTITY_SECRET empty unless you need optional Circle Gateway API helpers, and fill
# OMNICLAW_PRIVATE_KEY, OMNICLAW_AGENT_TOKEN, OMNICLAW_OWNER_TOKEN,
# OMNICLAW_NETWORK, and OMNICLAW_RPC_URL.

mkdir -p examples/agent/buyer/runtime
cp examples/agent/buyer/policy.example.json examples/agent/buyer/runtime/policy.json
# Edit examples/agent/buyer/runtime/policy.json so the token matches OMNICLAW_AGENT_TOKEN.

docker compose -f examples/agent/buyer/docker-compose.yml --env-file .env up --build

The policy file is stable configuration. Generated wallet state is written separately to examples/agent/buyer/runtime/wallet-state.json.

Buyer-facing policy rails are:

  • circle_transfer for direct Circle Developer Wallet transfers.
  • x402 for paid API payments. OmniClaw chooses Gateway nanopayment or the standard x402 payment path internally based on seller accepts, buyer config, and Gateway balance.

Configure the buyer CLI:

set -a; source .env; set +a
export OMNICLAW_SERVER_URL="http://127.0.0.1:9091"
export OMNICLAW_TOKEN="$OMNICLAW_AGENT_TOKEN"

Inspect and pay an x402 endpoint:

omniclaw-cli inspect-x402 --recipient "http://127.0.0.1:4023/compute?size=20"
omniclaw-cli pay --recipient "http://127.0.0.1:4023/compute?size=20" --amount 0.10 --idempotency-key job-123

Development

Run core tests:

uv run pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omniclaw-0.0.8.tar.gz (206.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

omniclaw-0.0.8-py3-none-any.whl (254.1 kB view details)

Uploaded Python 3

File details

Details for the file omniclaw-0.0.8.tar.gz.

File metadata

  • Download URL: omniclaw-0.0.8.tar.gz
  • Upload date:
  • Size: 206.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for omniclaw-0.0.8.tar.gz
Algorithm Hash digest
SHA256 81cb332f50acfb5562d9fcd15673f14b3ffb2c7105dee9ba4d333e346e1cda18
MD5 60c60fb38c25e3aa9c87e699112141c3
BLAKE2b-256 3f7055477bd7f4edb1f51411841b63af451e92a6761d585df10bf8a3b7def35c

See more details on using hashes here.

File details

Details for the file omniclaw-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: omniclaw-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 254.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for omniclaw-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6d644517ebb072416b169bac3fa7750658443bd3bcf9ca4864b67fc948050242
MD5 2d5b3ba3e23f1887e60c9a34e0d33d3d
BLAKE2b-256 f8e921f7688880612886ddcaf6a72e41f5c3ad8f1749b2af47736f7fe9dc4718

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page