# Mechanical & Structural Engineering Workbench

> 16 self-contained, zero-dependency Python 3 engineering solvers run locally offline — beams, 3D FEA frames, AISC buckling, bolts, welds, shafts, gears, springs, ASME vessels & CTE stackups.

Mechanical & Structural Engineering Workbench is a free AI agent skill on Agensi by Emad Nasrollahpour, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Emad Nasrollahpour](https://www.agensi.io/creators/emad)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.1
- Last updated: 2026-11-28
- Security: scan passed (2026-11-28); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/mechanical-structural-engineering-workbench
- Tags: ai-agents, research, mechanical-engineering, structural-analysis, fea, engineering, structural-engineering, python

## About this skill

Manual hand-calcs for machine design and structural steel are slow and prone to transcription errors. This skill replaces mental math and spreadsheets with 16 self-contained, zero-dependency Python 3 engineering solvers bundled locally in `scripts/mech_struct_solver.py` — 100% offline with zero third-party packages and zero external servers.

### What it does
- **Structural Analysis** performs 1D Hermitian beam FEA (60 elements, SFD/BMD/deflection profiles) and 3D 6-DOF frame/truss stiffness analysis with fundamental modal frequency checks.
- **Machine Design** sizes helical springs per Shigley, spur gears per AGMA 2001, Roark flat plates, and rotating shafts for Goodman fatigue, critical whirling, and ISO 281 bearing life.
- **Code Compliance** executes AISC 360-22 column buckling checks, ASME BPVC Section VIII Div. 1 pressure vessel sizing, Meyerhof spread footings, and AWS D1.1 weld audits.
- **Joint Analysis** calculates eccentric bolt groups per AISC J3 / VDI 2230, including plate bearing, joint separation safety factors, and tightening torques.
- **Material Intelligence** looks up temperature-derated properties for 30+ engineering materials including Young's modulus, yield strength, UTS, and density.
- **Statistical Tolerancing** runs 10,000-trial Monte-Carlo simulations for 1D linear and thermal CTE tolerance stackups, Cpk, and assembly yield.

### How it works
1. **Normalize** inputs by converting US Customary units to SI and retrieving temperature-derated material properties.
2. **Solve** locally via the bundled Python 3 standard library solver script (`scripts/mech_struct_solver.py`, importing only `json`, `math`, and `sys`) for cross-sections, FEA, code checks, and machine elements.
3. **Iterate** automatically on failed safety factors or deflection limits (`L/360`) to converge on a compliant standard stock size in 1–3 solver passes.
4. **Report** a structured calculation sheet with governing failure modes, exact safety factors, and manufacturing callouts.

### Architecture & Verification
- **100% Self-Contained & Offline:** Runs completely locally using only the Python 3 standard library — zero `pip` installs, zero network calls, zero API keys, and zero external servers.
- **Verified Accuracy:** 32/32 textbook ground-truth benchmark suite passing (Roark, Shigley, AISC 360-22, ASME BPVC VIII-1, AGMA 2001, ISO 281, AWS D1.1, Meyerhof) with `0.0061%` max relative error.

### Why this beats prompting it yourself
LLMs frequently hallucinate structural formulas and fail at multi-step unit conversions or iterative FEA convergence. This skill routes every critical calculation to verified, deterministic local Python physics code so every safety factor and deflection ratio is reproducible and auditable.

### Use cases
- **Sizing steel structures** like workbenches, gantries, or portal frames using standard AISC shapes, 3D FEA, and buckling checks.
- **Designing high-cycle machine elements** with 3D Cauchy stress, Modified Goodman fatigue limits, LEFM fracture mechanics, shafts, gears, and springs.
- **Pressure vessel & plate sizing** determining corroded MAWP, hydrotest bolt requirements per ASME VIII-1, and Roark flat-plate limits.
- **Foundation & joint verification** checking Meyerhof bearing/overturning/sliding, eccentric bolt groups, and AWS D1.1 fillet welds.

### Known limitations
Intended for rapid preliminary sizing, linear elastic analysis, and engineering sanity checks. Requires local Python 3 to run `scripts/mech_struct_solver.py`. It does not perform nonlinear FEA or plastic collapse analysis and is not a substitute for a licensed Professional Engineer seal.

## Requires

- Python 3

100% self-contained and offline. All 16 deterministic solvers run locally via Python 3 standard library (scripts/mech_struct_solver.py) — zero network calls, zero API keys, zero third-party packages, and zero external servers.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Mechanical & Structural Engineering Workbench skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill ensure engineering accuracy compared to a standard AI prompt?

Unlike standard LLMs that hallucinate math, this skill runs 16 deterministic Python 3 standard library solvers bundled locally in scripts/mech_struct_solver.py — verified 32/32 against textbook benchmarks (0.0061% max relative error) for FEA, AISC, and ASME code checks.

### Which AI agents or frameworks can I use with these engineering solvers?

This skill follows the open SKILL.md standard and works with any compatible AI agent that can run Python 3 locally — including Claude Code, Cursor, Windsurf, Codex CLI, Antigravity, and VS Code Copilot. No third-party packages or network access are required.

### Does the tool handle unit conversions and material property variations automatically?

Yes, the bundled local solver script automatically handles conversions between US Customary and SI units, and retrieves temperature-derated material properties for 30+ engineering materials offline.

### Are there any specific engineering limitations I should be aware of?

This skill provides linear elastic analysis and preliminary sizing; however, it does not support non-linear FEA or plastic collapse, requires local Python 3, and is not a substitute for a licensed Professional Engineer's final review.

### What is included with this skill?

Everything is self-contained inside the skill package: SKILL.md, solver reference schemas (references/solver-schemas.md), and scripts/mech_struct_solver.py containing all 16 offline deterministic Python 3 standard library solvers — from 3D frame FEA to Monte-Carlo tolerance stackups.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
