AI & document workflows
Template parsing, data mapping and document generation using Python, OpenAI and LangChain. Exploration of Accord Project standards for structured legal templates.
CONTRACT INTELLIGENCE / COMMODITY TRADING
Connect structured trade data with legal templates. Generate contract drafts and surface missing terms for human review.
Explore the workflowIndependent product prototype · Developed with commodity domain expertise
01 — COMMODITY & QUANTITY
02 — DELIVERY TERMS
01 / THE OPPORTUNITY
A price in a spreadsheet. A delivery term in a recap. A clause in a document. The challenge is keeping them connected.
CommodityTraderAI explores a common data layer between trade information and contract language, so teams can prepare drafts and review external agreements against a consistent template.
INITIAL FOCUS Crude oil FOB contracts, with contract and reference-data examples supplied by a commodity trading specialist.
02 / THE WORKFLOW
From the terms of a trade to a draft a person can inspect. Explore the three product objectives below.
Map spreadsheet fields to contract placeholders and their corresponding legal clauses.
commodity→Commodity descriptionquantity→Contract quantitydelivery_terms→Delivery clauseProduct objective: preserve the relationship between each trade field and its contract language.
03 / ENGINEERING
The prototype spans a web interface, an API and a contract engine, with supporting document and data workflows.
Template parsing, data mapping and document generation using Python, OpenAI and LangChain. Exploration of Accord Project standards for structured legal templates.
React and TypeScript interface, FastAPI backend, MongoDB persistence and S3 document storage. Deployment configuration for Vercel.
Authentication, role handling and audit logging in the codebase. Contract completeness checking is a product objective; legal and commercial approval remains with people.
Prototype stage. This page presents the product direction and existing engineering work. Workflow visuals use synthetic data; they are not a live product demonstration.
04 / THE PEOPLE
A collaboration connecting commodity contract requirements with AI-assisted product development.