About n8n-as-code
n8n-as-code turns a Git repository into a development workspace for n8n workflow automation. Instead of building workflows only in the n8n browser editor, you can browse, edit, validate and sync them from VS Code, Cursor or the command line, with an AI agent that has live knowledge of your n8n environment.
The toolkit bundles node schemas and workflow templates so that AI agents can generate grounded, valid workflows, and it supports GitOps-style pull and push with diffs and conflict resolution. Workflows can be converted into readable TypeScript files, and you can verify workflows, inspect credentials, run tests, activate workflows and look at executions against a chosen n8n environment. Secrets and local runtime state stay out of the repository.
n8n-as-code is written in TypeScript and licensed under MIT. It runs on your own machine against an n8n instance and is an independent community project that is not affiliated with or endorsed by n8n. It suits developers and automation engineers who want version control, code review and AI assistance for their workflows.
Key features
- Edit n8n workflows in VS Code or Cursor
- Git-style pull and push of workflows
- Bundled node schemas for AI agents
- Workflows as readable TypeScript files
- Workflow validation and test runs
- Inspect executions on a selected n8n environment
Good fit for
- →Putting n8n workflows under version control
- →Letting AI agents build and fix n8n workflows
- →Reviewing workflow changes with diffs
- Built with
- TypeScript
- Tags
- n8n
- workflow-automation
- gitops
- vscode
- ai-agents
- typescript
- low-code
- developer-tools
- cursor
n8n-as-code: questions and answers
- What is n8n-as-code used for?
- n8n-as-code is a toolkit for editing, syncing and testing n8n workflows from VS Code, Cursor or the terminal, with schemas and context that AI coding agents can use. It is a good fit for putting n8n workflows under version control, letting AI agents build and fix n8n workflows, and reviewing workflow changes with diffs.
- Is n8n-as-code open source?
- Yes. n8n-as-code is open source under the MIT licence. Its source code is on GitHub at EtienneLescot/n8n-as-code and is written mainly in TypeScript.
- Is n8n-as-code free?
- Yes. n8n-as-code is open source, so the software itself is free to use.
- What are some alternatives to n8n-as-code?
- Similar open-source tools in the Workflow Automation category include n8n, Activepieces and Trigger.dev. SaaS products in the same category include Latenode, Pega and Appian.
- Is n8n-as-code actively maintained?
- Yes. The most recent commit to n8n-as-code was on 2 October 2026, and the latest release is v2.7.0, published on 11 September 2026. The project has 1.6k stars on GitHub.
Open-source alternatives to n8n-as-code
See all
n8n
Workflow Automation
n8n is a workflow automation platform that uniquely combines AI capabilities with business
OSSvs Zapier★ 206k
Activepieces
Workflow Automation
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automati
OSSvs Zapier★ 25k
Trigger.dev
Workflow Automation
Trigger.dev – build and deploy durable AI agents and workflows
Apache-2.0★ 16k
OpenOps
Workflow Automation
The batteries-included, No-Code FinOps automation platform, with the AI you trust.
OSS★ 1.1k
ByteChef
Workflow Automation
Open-source AI agents and workflow automation. Self-host or embed in your SaaS. Apache 2.0
OSSvs Zapier★ 1k
Flow-Like
Workflow Automation
Flow-Like: Strongly Typed Enterprise Scale Workflows. Built for scalability, speed, seamle
OSSvs Zapier★ 958
SaaS alternatives to n8n-as-code
See all
Latenode
Workflow Automation
Low-code automation platform with JavaScript steps, headless browser and AI nodes
SaaS
Pega
Workflow Automation
Enterprise workflow, decisioning and case management platform
SaaS
Appian
Workflow Automation
Low-code process automation platform with case management and AI
SaaS
Bizagi
Workflow Automation
Low-code platform for process modeling, automation and case management
SaaS
Blueprint MCP
Workflow Automation
Open-source browser automation for Claude using CSS selectors instead of page snapshots
SaaS
Cflow
Workflow Automation
No-code workflow automation software for approvals and business processes
SaaS

