- PROFIT
- YIELD
- FEEDSTOCK
- HUMAN
Our technology reaches across leading technology and enterprise teams.

Short answer
How do I use AI to optimize my refinery slates?
Your agent uses the optimize_slates tool to test different crude grades against your current product yields and market prices. This identifies the specific combination that maximizes your gross margin. You'll get a breakdown of the best possible configurations.
The outcomes
What you get from optimization
Your agent processes your data to produce these specific results.
PROFIT
Higher gross margins
Your agent calculates the spread between crude costs and product values. You get the exact mix that maximizes your bottom line.
YIELD
Optimized product slates
The tool matches crude properties to your unit yields. It shows you the volume of gasoline, diesel, and other products you'll produce.
FEEDSTOCK
Better crude selection
Your agent evaluates how different grades impact your costs. It finds cheaper crude options that still meet your refinery's needs.
HUMAN
Strategic decisions
Your agent provides the math and the scenarios. You decide which specific crude grades to purchase and run through your units.
The workflow
What your agent does when the data arrives.
Your agent handles the heavy math and iterations for you.
Analyze inputs
Your agent reads your current crude prices and yield curves. It builds a model of your refinery's operating constraints.
optimize_slatesSimulate combinations
Your agent runs thousands of permutations. It tests how different crude blends affect your total product revenue.
optimize_slatesFind best margins
The tool identifies the specific crude grades that hit your target volumes at the lowest cost. It flags the highest margin configurations.
optimize_slatesCheck constraints
Your agent verifies that the suggested slates don't violate your unit limits or product quality specs. It ensures the math is realistic.
optimize_slates
Vinkius Agentic Execution Platform
State the outcome. Agents take it from there.
You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.
Run it in Vinkius
Agents carry the task to the end
Agents execute Refinery Economics tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.
Take it to any compatible AI
One connection, any client
Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.
Spaces
One Space per activity
A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.
Limits
Autonomy inside limits you set
Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.
Record
All steps, on the record
Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.
Models
Included in your plan
A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.
Try it
Copy these to start.
Use these prompts to begin your optimization work.
Starting points
Swap out the names in brackets for your actual crude grades or spreadsheet names.
Refinery Economics Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_kcMkhyqnOApI7Pww2eCvIcKnRsq0pMK3FitczMzr/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat, Refinery Economics capabilities are ready to use.
{
"mcpServers": {
"refinery-margin-calculator-mcp": {
"url": "https://edge.vinkius.com/vk_preview_kcMkhyqnOApI7Pww2eCvIcKnRsq0pMK3FitczMzr/mcp"
}
}
}- 01
Run an optimization using the crude prices in my pricing_data.csv.
- 02
What is the most profitable crude slate if I need to maximize diesel yield?
- 03
Compare the margins of a heavy sour slate versus a light sweet slate using my yield data.
- 04
Optimize my current slate to reduce feedstock costs while keeping jet fuel volumes steady.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Refinery Margin Calculator once, then ask.
Link your data source once. Your credentials stay encrypted on our side, and you can immediately start asking your agent for margin updates.
Connect Refinery Margin Calculator to your agentFAQ
How this task behaves
- 01
Can your agent execute the crude purchases?
No. Your agent only provides the mathematical optimization. You must handle all actual purchasing and trading.
- 02
Can your agent change my refinery's physical settings?
No. Your agent only reads your data and runs simulations. It cannot interact with your control systems or change unit operations.
- 03
What data do I need to provide?
You need to provide your current crude price list and your refinery's yield curves for the grades you want to test.
- 04
Does this work with Claude or Cursor?
Yes. It works with any MCP-compatible client once you connect it through Vinkius.
- 05
Can your agent delete my pricing spreadsheets?
No. Your agent only has permission to read the data required for the optimization.
More questions about Refinery Margin Calculator? The Connector page answers them. See everything the Refinery Margin Calculator Connector can do
Building with AI? Ship this whole workflow in your product.
Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Refinery Economics to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.
Explore Vinkius ConnectTypeScript · Python · Java · Go · C# · PHP · Rust
- 01
Your customers bring their own keys.
Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.
- 02
Whole catalog, kept current.
Refinery Economics plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.
- 03
Any agent, any model.
Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.
Connect Refinery Economics to Claude, Cursor, ChatGPT & more
From idea to done
See what gets done when the agents take over the busywork
Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.









