SF ERIO
Elevate Requirements Into Outcomes
SF ERIO is a local Salesforce coding assistant for Visual Studio Code. Type a user story, a Salesforce question, or a code change in one composer — SF ERIO routes the work for you. It writes Draft metadata you review, validate, and deploy. Source stays on your machine.
What you get
One composer — type what you want
- User stories — Analyze → Generate Draft Flow / Apex / LWC / Experience
- Ask — Salesforce Q&A, plus create validation rules, formula fields, custom metadata, custom settings, and permission sets
- Code — Type
/ to attach Apex / Flow / LWC, then edit, explain, add a method, or create a test class
- Screenshots — Paste or drag UI shots into the story (optional Vision model)
Build & ship
- Draft metadata — Flows stay Draft (SF ERIO never activates them)
- Validate & Deploy — Salesforce CLI check-only first; deploy only what you select
- Exception logging — Map a custom object for Flow/Apex fault inserts
- History — Reload recent Analyze / Generate stories
- Naming prefix — Apply to Apex / LWC API names
Engines (on this PC)
| Engine |
When to use |
| Rules |
Default. Story packs + bundled assist. Works offline; no model download. |
| Local Agent |
Optional on-device model for Apex/LWC body fill and richer Ask. First use downloads the model into extension storage (not inside the Marketplace install). |
No cloud coding API and no subscription for Rules or Local Agent.
Settings
Salesforce Flow › Local Llm: Gpu Sidecar — When on, Local Agent uses the GPU (Vulkan: Intel Arc, AMD, NVIDIA). When off, Local Agent uses the CPU. Default is off.
Requirements
Get started
- Open your Salesforce project folder.
- Open SF ERIO from the activity bar (editor tab).
- Pick a Target org (or Connect / Refresh).
- In the composer, type for example:
- a full user story and press Enter → Analyze
create a validation rule on Account if Type is Standard then throw error "…"
/MyClass then “add a method to calculate tax”
- Review generated files, Validate, then Deploy when ready.
Engine, Org, prefix, exception logger, and Local Agent download are all in the SF ERIO panel. You do not need to change VS Code Settings to use the extension.
Commands
- SF ERIO: Generate from Selection / Analyze Selection
- SF ERIO: Generate from File (
.md / .txt in Explorer)
- SF ERIO: Connect Org —
sf org login web
Privacy
- Rules — story and metadata stay on your PC.
- Local Agent — the model downloads once to extension storage; inference is local.
- Org auth uses Salesforce CLI credentials you already manage.
License
MIT