feat: add Optume Translations x402 legal translation and document parser action provider - #1403
Open
oe-ib08 wants to merge 9 commits into
Open
Conversation
…ser action provider
…xes and changelogs
🟡 Heimdall Review Status
|
…ranslation & Document Parser)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
parse_document: Spatial document parsing for PDF, DOCX, XLSX, PPTX, OCR Images ($0.010 USDC).extract_veritas_chunks: Spatial AST layout, table grids, and clause hierarchies ($0.025 USDC).analyze_legal_document: Defined terms extraction and legal glossary generation ($0.050 USDC).compile_translation_context: Sub-glossary filtering and translation directive compilation ($0.020 USDC).translate_legal_clauses: Parallel clause translation preserving layout formatting across 50+ languages ($0.150 USDC).audit_legal_qa: Multi-dimensional audit of legal terminology, numerical accuracy, and omissions ($0.050 USDC).assemble_translated_document: Re-assembles translated text into layout-preserved output ($0.050 USDC).run_full_veritas_pipeline: Complete end-to-end 7-node Veritas legal translation pipeline ($0.500 USDC).Production Discovery Manifest & Verification:
https://api.optranslations.com/.well-known/x402.jsonPOST https://api.optranslations.com/api/v1/parser/analyzebase)0xDaE2a1BF8C1D0e71189DA1AE27f23fCd2EB73139(USDC)