Skip to content

feat: add Optume Translations x402 legal translation and document parser action provider - #1403

Open
oe-ib08 wants to merge 9 commits into
coinbase:mainfrom
Optume-Studios:optume-translations-x402-action-provider
Open

feat: add Optume Translations x402 legal translation and document parser action provider#1403
oe-ib08 wants to merge 9 commits into
coinbase:mainfrom
Optume-Studios:optume-translations-x402-action-provider

Conversation

@oe-ib08

@oe-ib08 oe-ib08 commented Aug 6, 2026

Copy link
Copy Markdown

Description

This PR introduces the Optume Translations Action Provider (OptumeActionProvider) for both Python and TypeScript packages in AgentKit.

It enables autonomous AI agents on Base Layer-2 to natively parse spatial documents (PDF, DOCX, XLSX, PPTX, OCR) and execute multi-language legal translations over x402 micropayments settled to Base Mainnet.

Exposed Actions:

  1. parse_document: Spatial document parsing for PDF, DOCX, XLSX, PPTX, OCR Images ($0.010 USDC).
  2. extract_veritas_chunks: Spatial AST layout, table grids, and clause hierarchies ($0.025 USDC).
  3. analyze_legal_document: Defined terms extraction and legal glossary generation ($0.050 USDC).
  4. compile_translation_context: Sub-glossary filtering and translation directive compilation ($0.020 USDC).
  5. translate_legal_clauses: Parallel clause translation preserving layout formatting across 50+ languages ($0.150 USDC).
  6. audit_legal_qa: Multi-dimensional audit of legal terminology, numerical accuracy, and omissions ($0.050 USDC).
  7. assemble_translated_document: Re-assembles translated text into layout-preserved output ($0.050 USDC).
  8. run_full_veritas_pipeline: Complete end-to-end 7-node Veritas legal translation pipeline ($0.500 USDC).

Production Discovery Manifest & Verification:

  • Merchant: Optume Translations
  • Verified Discovery Manifest: https://api.optranslations.com/.well-known/x402.json
  • Verified HTTP 402 Challenge: POST https://api.optranslations.com/api/v1/parser/analyze
  • Settlement Network: Base Mainnet (base)
  • Treasury Address: 0xDaE2a1BF8C1D0e71189DA1AE27f23fCd2EB73139 (USDC)

@oe-ib08
oe-ib08 requested a review from murrlincoln as a code owner August 6, 2026 03:55
@cb-heimdall

Copy link
Copy Markdown

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 1
Sum 2

@github-actions github-actions Bot added documentation Improvements or additions to documentation action provider New action provider python typescript labels Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action provider New action provider documentation Improvements or additions to documentation python typescript

Development

Successfully merging this pull request may close these issues.

2 participants