Mason
The coding harness that makes open models ship, with every step on the record.
Mason turns small and mid-sized open models into a coding agent that gets real work done. It adapts to each model, keeps long tasks on track, and checks the work before it calls it done. It runs in your terminal, in VS Code, or from your own code, and every model call through your Mason server is on the record in the Lexsi dashboard, with its tokens, latency and cost.
Get started ·
Docs ·
Terminal ·
VS Code ·
SDK ·
Support
Mason for VS Code puts Mason in your side bar.
Why Mason
- A harness built for open models. Most coding agents are built for the biggest frontier models. Mason is built to get real engineering work out of small and mid-sized open models, and it runs frontier APIs too.
- It adapts to the model you run. Mason fits its context, reply length and limits to each model, and repairs broken tool calls and stalls as they happen.
- Long tasks without losing the thread. Mason keeps a working record of the goal, the files, the decisions and the open questions outside the model, and folds older turns into a checkpoint as a session grows, so the model works from a small context instead of re-reading everything. It can also carry lessons from earlier sessions into new ones.
- Done means checked. When the model says it is done, the server checks the work, and a task it can't confirm is reported as unverified, not as a success.
- Every step on the record. Every model call through your Mason server, with its tokens and latency, sits in the Lexsi dashboard beside your sessions, and usage and cost by user, model and provider. Sessions can be searched, resumed, forked and exported.
- You stay in control. Choose what Mason may do without asking, from approving every edit and command to letting it run, and
/undo takes back its file edits.
- One sign-in, three ways in. One Lexsi SDK access token for the terminal, VS Code, and the Python and TypeScript SDK. Run on a Lexsi-hosted model or one your organization hosts.
Quickstart
- Install Mason for VS Code. Install Lexsi Mason (
LexsiLabs.lexsi-mason) from the Extensions view, or from a terminal. Mason needs VS Code 1.106 or later.
code --install-extension LexsiLabs.lexsi-mason
Have an older internal Mason build installed (for example Lexsi-Labs.mason)? Uninstall it first. Mason tells you if both are installed. More in the install guide.
- Start in your project. Open the folder and trust it when VS Code asks. Mason opens in the Secondary Side Bar.
code path/to/your/project
- Sign in. Get a Lexsi SDK access token from your profile menu in the dashboard, then open the Mason side bar and enter your organization name and token, and choose Connect:
Mason: Open Chat
- Run your first prompt.
What is the structure of this repo, and how do I run its tests?
Mason shows each step as it works and every edit as a diff. In VS Code it asks before every edit and command by default (Manual approval); the workspace access menu sets how much it may do without asking.
Need the full walkthrough? Mason for VS Code guide.
Explore the docs
Chat and review
Ask, plan and review in one place: every proposed edit opens as a VS Code diff, and you can keep or reject single hunks before it applies. Learn more: Chat and review
Approvals and undo
Pick how much Mason may do without asking, from Read-only to Skip ALL permissions, and take back its file edits with /undo. Learn more: Permissions and Undo and diffs
Commands and settings
Every command, shortcut and setting in one list, so you can make Mason fit how you work. Learn more: Commands and settings
Choose your next step
Licence
Lexsi Labs Software License (LSAL) v2.0 (Mason). See the LICENSE file included with the extension. Mason is proprietary: use requires a Lexsi account and is subject to the Lexsi Terms of Service. You own the code Mason writes for you.
Support
Email hello@lexsi.ai. Report a security problem privately to security@lexsi.ai.