Skip to content

Adds a business-facing OmniClaw seller example under examples/business-compute/.#40

Merged
abiorh-claw merged 1 commit intomainfrom
business_logic_examples
Apr 6, 2026
Merged

Adds a business-facing OmniClaw seller example under examples/business-compute/.#40
abiorh-claw merged 1 commit intomainfrom
business_logic_examples

Conversation

@Abiorh001
Copy link
Copy Markdown
Contributor

What this introduces:

  • a real business web app seller surface, not a CLI seller surface
  • paid compute products
  • paid compute sessions with credits
  • paid research-paper PDF products
  • direct OmniClaw seller backend integration for x402 requirements and verification
  • Redis-backed persistence for business state

What is now supported:

  • unpaid access returns 402 Payment Required
  • buyer agent pays the business URL through OmniClaw
  • seller unlocks only after verification/settlement
  • compute returns real computed output
  • paper purchase returns a signed download URL
  • direct unauthenticated PDF download is blocked
  • session creation and session job execution work
  • sessions, job history, settlements, metrics, and event logs survive business app restarts

Files added:

  • examples/business-compute/app.py
  • examples/business-compute/README.md
  • examples/business-compute/papers/
  • scripts/start_business_compute_demo.sh

Verified end to end:

  • direct compute purchase
  • paid paper unlock + protected PDF download
  • compute session purchase
  • session job execution with credit decrement
  • Redis-backed restart persistence

@Abiorh001 Abiorh001 requested a review from abiorh-claw April 6, 2026 06:22
@abiorh-claw abiorh-claw merged commit 98c7263 into main Apr 6, 2026
5 checks passed
@abiorh-claw abiorh-claw deleted the business_logic_examples branch April 6, 2026 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants