Code Generation
Use AI to export the logic of your visual workflows as code in 13 programming languages.
Generation is AI-powered, so output quality depends on the model you choose. JavaScript, TypeScript, and Python are the most thoroughly tested — the other languages are generated best-effort, so review before you ship.
Visual to Code
Design complex workflows visually, export as clean, executable code
True Parallelism
Fork/join nodes generate native parallel execution patterns
Helper Libraries
Complete runtime libraries for HTTP, AI, UI interactions, and more
Supported Languages
JavaScript
Native JavaScript execution with inline Code nodes
TypeScript
Type-safe JavaScript with full TypeScript support
Python
Python with async/await and PyExecJS for Code nodes
Go
High-performance Go with goroutines and WaitGroups
C
System-level C with optional pthread parallelism
Java
Enterprise Java with CompletableFuture parallelism
Walkthrough coming soon.
Rust
Memory-safe Rust with Tokio async runtime
Walkthrough coming soon.
C++
Modern C++ with std::async parallelism
Walkthrough coming soon.
C#
.NET C# with Task.WhenAll parallelism
Walkthrough coming soon.
PHP
PHP with sequential execution and JavaScript support
Walkthrough coming soon.
Ruby
Ruby with concurrent-ruby for parallel execution
Walkthrough coming soon.
Kotlin
JVM Kotlin with coroutines for async operations
Walkthrough coming soon.
Swift
iOS/macOS Swift with async let parallelism
Walkthrough coming soon.
What gets turned into code
Code generation exports the runnable logic of your workflow — the same parts that run when a workflow is triggered headlessly by a webhook. Editor-only and interactive nodes are intentionally not generated: they exist to help you build and visualize the flow, not to run on a server or inside your project.
✅ Generated
Control flow, compute, and integrations:
- • Start / Webhook trigger
- • Condition, Loop, Fork, Join, Then
- • Code (JavaScript / Python)
- • Agent (cloud or your-own-key models)
- • HTTP / Action requests
- • Database, Message, Save / Files / Report / PDF
- • Vector store, Plugin, Webhook Response
🟡 Skipped — editor-only
Visualization / annotation nodes. Data flows straight through them:
- • Charts, Data viz, Stat plot
- • Image, SVG, 3D scene, ToVec, Vision
- • Web page, Chat, Sheet / Data grid
- • Sticky note, Group, Flow, Mind map
🔴 Skipped — needs a person/device
Interactive or machine-bound nodes can't run in a standalone script:
- • Confirm / Form / Message / Choice / File-upload dialogs
- • Terminal
- • Shell-language Code nodes
- • On-device / localhost AI models
This is the same classification used for webhook/headless runs, so the generated code behaves like your deployed workflow. Tip: build the parts you want exported out of the “Generated” node types — the visual nodes are free to use for design and won’t affect output.
Quick Start Guide
1. Generate Code
- • Open your workflow in Circuitry
- • Click "Generate Code"
- • Choose your target language and AI model
- • Keep "Include Helper Libraries" on (some languages need them)
- • Download the generated code + helpers
2. Setup & Run
- • Install language dependencies
- • Set environment variables (API keys)
- • Import generated functions
- • Call with your input data
- • Deploy to your platform