vanyu0710/Varen-AI-CAD
About
AI CAD 建模 Agent:一句话需求进来,调研、提问、出 BOM,逐件完成真实 CAD 建模并导出装配 STEP(参数化 BRep,不是图片或网格);几何与碰撞检查不过关就不交付。Windows 封闭 Beta。An AI CAD modeling agent: real parametric geometry from a one-line brief, gated by geometry and interference checks.
Science & EngineeringMeasured star growth
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.en.md
OriginalVaren CAD — an AI CAD modeling agent: from a one-line brief to a reviewable assembly
An AI CAD modeling agent: give it a one-line brief and it researches, asks structured questions, proposes a BOM for your approval, then models real CAD geometry part by part — parametric B-Rep, not images or meshes — and exports the assembly as STEP.
Every step is replayable. If geometry or interference checks fail, the result is not delivered as success.
Download Windows v0.30.0-beta · 简体中文 · Product page · Apply for the beta · Report a task failure
[!NOTE] The stable release is coming soon. Until then, a free early-access beta remains open. Engineers who want to try Varen CAD ahead of the launch can apply via the beta application issue or reach out directly (@vanyu0710) in Issues or Discussions. The beta is free of charge — all we ask in return is feedback from a real task of yours.
Status: Windows only, closed beta. Varen CAD is for concept design and rapid prototyping. It is not a SolidWorks replacement, it does not provide a complete 2D drawing workflow or a general assembly mate solver, and
production_readyis alwaysfalse. Every output requires human engineering review.
Repository status (2026-10): This repository is now a distribution and landing portal — product documentation, landing page and releases only. It no longer contains source code and does not accept source contributions. The previously open-sourced code has been detached from the upstream history. Existing forks are third-party copies lawfully obtained under the then-applicable AGPL-3.0; they are not maintained by us and do not represent the current product. Active development continues in a private repository.
See the result first
The repository contains real end-to-end outputs from the agent workflow:
1:100 three-stage gearbox assembly — 8 parts, 53 steps, 758 seconds, 0 hard collisions
Five-speed manual transmission — involute helical gears, 26 parts, 0 hard collisions
Geometry evidence renderer — feature edges without triangulation diagonal noise
Startup screen
Workspace and agent conversation
Gearbox run overview
For the planned 45–60 second workflow video, see the video brief and storyboard. A playable video has not been added to this README yet.
Why Varen CAD is different
1. Real CAD geometry, not image or mesh generation
- Uses OpenCascade 7.9.3 through the MechKernel CAD kernel.
- Produces boundary representation geometry (B-Rep), with topology and geometry that can be inspected by CAD software.
- Keeps a parameterized feature graph and operation history so features can be edited and replayed.
- Exports STEP and STL for downstream CAD and review workflows.
2. An agent workflow, not one-shot generation
A multi-part task follows an explicit sequence:
- Research and engineering calculations, such as ratios, center distances, shaft estimates, and wall thickness.
- Structured questions when dimensions or design intent are unclear.
- BOM planning with part names, quantities, and key parameters.
- User approval before the plan is allowed to change geometry.
- Isolated, part-by-part modeling with a separate kernel session for each part.
- Assembly placement, export, and review.
- Geometry and interference checks before an artifact is accepted.
The agent operates through constrained kernel operations and structured StepResult feedback. It does not receive unrestricted access to an arbitrary CAD Python environment.
3. Failure blocks delivery
A successful model response is not treated as a successful delivery. The system can stop or reject an artifact when:
- a part contains more than one solid or a floating feature;
- a feature contract does not match measured hole diameters, counts, or positions;
- two parts have an unapproved interference;
- a script or operation fails during parameterized replay;
- the BOM is incomplete or the validation gates do not pass.
Failures produce structured reports and can trigger rollback or another modeling attempt. production_ready remains false in every delivery report.
4. Local-first and reviewable
- Task data, intermediate state, sessions, and model artifacts can remain under the local
work/directory. - Users can inspect tool calls, assumptions, approval cards, feature history, snapshots, and reports as the task runs.
- The model layer accepts OpenAI-compatible endpoints, including endpoints managed by the user.
- The workflow is intended for data-sensitive mechanical, robotics, and hardware teams.
Local storage does not mean offline inference: prompts, attached sketches, and task context sent to a remote endpoint are subject to that provider's data policy.
v0.30.0-beta highlights
- Three-step model wizard: pick a provider, enter key/model (with model listing), test the connection. Saved keys stay masked, and the wizard opens from the start screen, settings, and the idea workspace.
- New entry point and workspace status: project search, modeling/idea filters, test-project folding, and archive/restore on the start screen; stale-assembly, parts-library revision, and manifest-integrity badges in the workspace.
- Idea-to-model loop: the parts stage is now usable (standard-part catalog plus outsourced/custom parts), a preflight guards the handoff (unfinished stages need an explicit skip), and the requirements sheet always suggests the next action; research evidence can be added back into the sheet.
- Kernel v2.28: precise edge predicates, fillet/chamfer dry-run and maximum radius, body mirroring, controlled STEP import, topology measurement; audit profiles with approval-bound overrides; manifest file locks, revisions, digests, and
verify_state. - Agent vision loop:
render_viewreturns real iso/front/top PNGs as image content, so the model and the user see the same picture. - Fixes in this release: updater archive entry limit (the old 30,000 limit rejected an 80k-entry package), the uninstaller being unable to delete itself, and a single corrupt project record no longer wiping every project.
- Quality gates: backend 1305, kernel 717, frontend 327 tests passing. See the changelog and release notes.
Engineering knowledge, subagents, and material review
These capabilities are included in the Windows package since v0.25.0-beta.
Varen CAD does not treat professional-sounding material names as engineering facts:
- Evidence-first knowledge center: register or upload source documents; originals and SHA256 hashes are retained, evidence requires human review before publication, engineering facts must reference evidence, and conflicts are never resolved by silently picking one value.
- Bounded subagents: the knowledge workbench creates research plans, risks, and parameters requiring confirmation for sealing, fasteners, aluminum profiles, manufacturing, and geometry validation. The enhanced Agent can also delegate to read-only researcher / dfm / verifier subagents for research and review; a child cannot mutate geometry, plans, or archived parts.
- Fact-first material and engineering review: the material panel groups viewport rendering proxies for active parts and distinguishes measured/programmatic results from rendering proxies and items awaiting human engineering review.
- Critical-part and assembly review: summarizes revisions, roles, dependencies, measured volume, validation status, STEP/STL artifacts, hard collisions, expected fit / expected mesh exemptions, and superseded exclusions.
- Boundary:
steel,cast_iron, andaluminumare viewport material keys, not purchasing specifications. The system does not invent unreviewed values such as 45 steel, 6061-T6, yield strength, hardness, or density.
Three-minute quick start
Windows package
The published Windows package checked on GitHub is v0.30.0-beta (ZIP about 427 MiB; a setup.exe installer is also provided). The source VERSION is 0.30.0-beta. See project status.
Open the v0.30.0-beta release. Download
VarenCAD-win64-0.30.0-beta.zipand its.sha256attachment under Assets (or grab theVarenCAD-setup-0.30.0-beta.exeinstaller instead), not the source-code archives. RunGet-FileHash .\VarenCAD-win64-0.30.0-beta.zip -Algorithm SHA256and compare the result with the checksum file. Upgrading from 0.29 requires a manual download: the 0.29 updater caps archive entries and will reject this package.Extract the archive and run
VarenCAD.exe(the installer does this for you).Open Settings → Model and configure an OpenAI-compatible endpoint; if you do not host one, the built-in cloud model (invitation-code registration) works too.
Try:
Create a 120 x 120 x 12 mm flange with a 30 mm through hole and six 8 mm holes on a 90 mm bolt circle. Report assumptions and refuse export if validation fails.
Upgrading: from v0.26.1-beta onward, the in-app "restart and update now" works (update banner → update → automatic file swap and relaunch). Coming from v0.25.x, run the installer above once manually — the old updater cannot repair itself.
work/user data and.envare preserved.
Source code and forks
This repository is now a distribution and landing portal and no longer contains source code. MechKernel and the product code continue development in private repositories, and this repo does not accept source contributions. Forks from before 2026-10 derive from the code that was open at the time under AGPL-3.0; they are not maintained by us and do not represent the current product.
- To try the product: apply via the beta application issue.
- Commercial licensing for closed-source distribution and OEM integration: see docs/license-strategy.md.
What the workflow exposes
- Research:
design_calculaterecords calculations and assumptions in the session. - Questions:
ask_userpresents structured single-choice, multiple-choice, or text questions. - Planning:
propose_plancreates the BOM and grouped modeling steps; approval is a hard gate. - Modeling: public kernel operations and the constrained
run_build_scriptpath create real features. - Part completion:
finish_partruns single-solid and feature-contract checks before archiving STEP/STL files, and additionally produces a.vpartsingle-file package (geometry + feature graph + operation history). - Editing: the feature tree supports parameter changes, replay, delete, undo, and redo.
- Assembly:
export_assemblyplaces BOM parts, creates the assembly STEP together with a.vasmreference-style assembly source file, and reports pairwise interference. - Evidence: execution reports include assumptions, completed parts, failed gates, geometry checks, and items requiring review.
- Engineering review: summarizes material proxies, critical parts, STEP/STL artifacts, hard collisions, and assembly exemptions without treating a render material as a purchasing specification.
- Engineering knowledge: uploaded documents retain originals and SHA256 hashes; evidence becomes searchable and available to the modeling chain only after human review and publication.
- Web research:
web_search/web_fetchcards show queries, result counts, and clickable sources; external snippets are marked untrusted and can be verified by fetching the original page. - Subagents: the enhanced engine supports read-only researcher / dfm / verifier subagents for search, project reads, and read-only queries/reviews; they cannot mutate geometry, plans, or archived parts, and report back to the parent session.
- Sketch references: upload a sketch in the chat and the agent can reference it throughout the task; the image is compressed into the model budget and survives long-session compaction.
Technical boundaries
Varen CAD deliberately does not claim to provide:
- a complete 2D drawing and tolerancing workflow;
- sheet-metal, thread-standard, or complete surface-modeling workflows;
- a general assembly mate, constraint, or motion solver;
- unattended manufacturing approval;
- a promise that a language model's text means the geometry is correct.
The product is currently Windows only and in closed beta. Human engineering review is required before manufacturing use. production_ready is always false.
Beta and failure reports
We are recruiting mechanical, robotics, and hardware design partners who can test a real, anonymized task and inspect the resulting STEP in another CAD tool.
Failure reports are useful even when the agent stops at a gate. They become reproducible regression cases rather than being presented as successful output.
Documentation
- Architecture
- Feature support matrix
- Getting started
- User guide
- Known issues and privacy notes
- Closed beta rules
- Development and testing
- License strategy
- Demo guide
- Changelog
License
The repository and its MechKernel integration are licensed under AGPL-3.0-or-later. Commercial licensing for closed-source distribution and OEM integration is available separately; see docs/license-strategy.md.
Explore related projects
Loading…