V-1100V-2100K-2200E-2300P-1500AE-1400SS-1TR-1FROM PIPELINEFLARE HEADERGAS EXPORTOIL EXPORTCM SUPPLYCM RETURNPRODUCED WATERCLOSED DRAIN

Oil and gas digital twins, built from engineered components

Deck Twin turns P&IDs, datasheets and equipment lists into a 3D twin of a facility. Every item in it comes from one library of components, sized to published engineering standards.

Separation & compression train: 11 items, 16 linesOpen example

Two ways to use Deck Twin

Have a twin of your facility built, or build your own models from the same components.

A twin of your facility

We build the model with you from the documents the facility already has: P&IDs, datasheets, line lists and plot plans. One model then serves engineering, operations and training.

The component library

The components every twin is made of, for your own models. Each one has a 3D preview, size controls and connection points. An account opens the full source and lets you install from the command line or an AI agent.

From documents to a 3D plant

The plant at the top of this page was built in three steps, with or without an AI agent.

  1. Start with your documents

    The agent skill converts P&IDs, datasheets and equipment lists into a plant model and checks the result. It works with any AI model. Sign in once with decktwin login and the agent installs the components it needs.

    $npx decktwin skill
    Read the agent skill guide
    V-1100V-2100K-2200E-2300P-1500AE-1400SS-1TR-1FROM PIPELINEFLARE HEADERGAS EXPORTOIL EXPORTCM SUPPLYCM RETURNPRODUCED WATERCLOSED DRAIN
    The separation train as a plan drawing, drawn with the library’s P&ID symbols.
  2. Describe the plant in one file

    plant.json defines the equipment, positions and connections. The validator checks it for unknown components, invalid ports and line class mismatches.

    $npx decktwin validate plant.json
    plant.json
    {
      "name": "Separation & compression train",
      "items": [
        { "tag": "V-1100", "component": "horizontal-separator",
          "position": [-20, 0, -6], "props": { "diameter": 2.4, "length": 8 } },
        { "tag": "PSV-1101", "component": "pressure-safety-valve",
          "position": [-20.8, 5.3, -6], "props": { "orifice": "J", "inletRating": 600 } }
      ],
      "lines": [
        { "tag": "3\"-FL-1101-D6A-N", "from": "V-1100.psv", "to": "PSV-1101.inlet" }
      ]
    }
    Part of the file for the same plant.
  3. Build it in 3D

    <Plant> generates the piping, flanges and supports. With a free account, the decktwin add command copies the full component source into your project.

    $npx decktwin add horizontal-separator
    The separation and compression train in 3D
    Separation & compression train: 11 items and 16 lines. Open it in 3D
/r/index.json
Lists all components with their properties, ranges and ports.
decktwin info <name>
Returns the details of one component as JSON.

Set up with your agent

One prompt for Claude Code, Cursor, Codex and other coding agents. It covers setup, the agent skill and building a plant from your P&IDs.

or tell your agent: Read https://decktwin.com/prompt.md and follow it

225 components across 16 categories

From small-bore valves to pedestal cranes, including vessels, rotating equipment, instruments and structures.

Every dimension comes from a published standard: ASME, API, IEC, ISO, EN, NFPA, DNV, NORSOK, ISA and TEMA.

The values are reference data from the public codes, and the geometry is generic rather than vendor CAD. The library also includes 293 P&ID symbols.

See a finished digital twin

The demo is an offshore field of five platforms with a simulated process, alarms and a control room. It runs in the browser.

View the twin demo
The demo field: five platforms linked by bridges

Accounts and plans

Browsing is open to everyone. An account opens the source, and a licence covers commercial work.

Personal

Free, for personal projects, learning and evaluation. Full source of every component, installed from the command line or an AI agent.

Commercial

A licence to use the components in commercial projects and products. Request it from your account, or write to us.

Facility twin

A digital twin of your facility, built with you from your documents and scoped with your engineering and operations teams.