AI Skill Hub 强烈推荐:Varlock 是一款优质的Agent工作流。已获得 3.5k 颗 GitHub Star,AI 综合评分 8.0 分,在同类工具中表现稳健。如果你正在寻找可靠的Agent工作流解决方案,这是一个值得深入了解的选择。
Varlock 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
Varlock 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:npm 全局安装 npm install -g varlock # 方式二:npx 直接运行(无需安装) npx varlock --help # 方式三:项目依赖安装 npm install varlock # 方式四:从源码运行 git clone https://github.com/dmno-dev/varlock cd varlock npm install npm start
# 命令行使用
varlock --help
# 基本用法
varlock [options] <input>
# Node.js 代码中使用
const varlock = require('varlock');
const result = await varlock.run(options);
console.log(result);
# varlock 配置说明 # 查看配置选项 varlock --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export VARLOCK_CONFIG="/path/to/config.yml"
<p align="center"> <a href="https://varlock.dev" target="_blank" rel="noopener noreferrer"> <img src="/packages/varlock-website/src/assets/logos/wordmark.png" alt="Varlock banner"> </a> </p> <br/> <p align="center"> <a href="https://npmjs.com/package/varlock"><img src="https://img.shields.io/npm/v/varlock.svg" alt="npm package"></a> <a href="/LICENSE.md"><img src="https://img.shields.io/npm/l/varlock.svg" alt="license"></a> <a href="https://nodejs.org/en/about/previous-releases"><img src="https://img.shields.io/node/v/varlock.svg" alt="node compatibility"></a> <a href="https://github.com/dmno-dev/varlock/actions/workflows/test.yaml"><img src="https://img.shields.io/github/actions/workflow/status/dmno-dev/varlock/test.yaml?style=flat&logo=github&label=CI" alt="build status"></a> <a href="https://chat.dmno.dev"><img src="https://img.shields.io/badge/chat-discord-5865F2?style=flat&logo=discord" alt="discord chat"></a> </p> <br/>
OPENAI_API_KEY=
**Flexible plugin system**: adds new decorators, functions, types - enables secure declarative secret loading.
bash
npx varlock init
You can get started with varlock by installing the CLI:
```bash
brew install dmno-dev/tap/varlock # via homebrew curl -sSfL https://varlock.dev/install.sh | sh -s # via cURL
docker pull ghcr.io/dmno-dev/varlock:latest ``` See the full installation docs or the Docker guide for more information.
Examples of integrating varlock in various frameworks and situations can be found in the Varlock examples repo
Your .env.schema gives AI agents full context on your config — variable names, types, validation rules, descriptions — without ever exposing secret values. Combined with varlock scan to catch leaked secrets in AI-generated code, varlock is purpose-built for the AI era. Learn more in the AI-safe config guide.
Varlock is built on top of @env-spec, a new DSL for attaching a schema and additional functionality to .env files using JSDoc style comments. The @env-spec package contains a parser and info about the spec itself.
DB_PASS=op(op://my-vault/database-password/password) API_KEY=op(op://api-vault/stripe/api-key) ```
Validate your .env.schema and pretty print your environment variables with:
varlock load
If you need to pass resolved env vars into another process, you can run:
varlock run -- python script.py
In many cases you can use our drop-in integrations for seamless experience - with additional security guardrails, like log redaction and leak prevention.
| Package | Published listing page |
|---|---|
| [@varlock/1password-plugin](packages/plugins/1password) | [](https://npmjs.com/package/@varlock/1password-plugin) |
| [@varlock/aws-secrets-plugin](packages/plugins/aws-secrets) | [](https://npmjs.com/package/@varlock/aws-secrets-plugin) |
| [@varlock/azure-key-vault-plugin](packages/plugins/azure-key-vault) | [](https://npmjs.com/package/@varlock/azure-key-vault-plugin) |
| [@varlock/bitwarden-plugin](packages/plugins/bitwarden) | [](https://npmjs.com/package/@varlock/bitwarden-plugin) |
| [@varlock/google-secret-manager-plugin](packages/plugins/google-secret-manager) | [](https://npmjs.com/package/@varlock/google-secret-manager-plugin) |
| [@varlock/hashicorp-vault-plugin](packages/plugins/hashicorp-vault) | [](https://npmjs.com/package/@varlock/hashicorp-vault-plugin) |
| [@varlock/infisical-plugin](packages/plugins/infisical) | [](https://npmjs.com/package/@varlock/infisical-plugin) |
| [@varlock/keepass-plugin](packages/plugins/keepass) | [](https://npmjs.com/package/@varlock/keepass-plugin) |
| [@varlock/pass-plugin](packages/plugins/pass) | [](https://npmjs.com/package/@varlock/pass-plugin) |
| [@varlock/passbolt-plugin](packages/plugins/passbolt) | [](https://npmjs.com/package/@varlock/passbolt-plugin) |
| [@varlock/proton-pass-plugin](packages/plugins/proton-pass) | [](https://npmjs.com/package/@varlock/proton-pass-plugin) |
| Package | Published listing page |
|---|---|
| [@varlock/astro-integration](packages/integrations/astro) | [](https://npmjs.com/package/@varlock/astro-integration) |
| [@varlock/nextjs-integration](packages/integrations/nextjs) | [](https://npmjs.com/package/@varlock/nextjs-integration) |
| [@varlock/vite-integration](packages/integrations/vite) | [](https://npmjs.com/package/@varlock/vite-integration) |
Varlock是一个高质量的AI工作流环境变量管理工具
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
总体来看,Varlock 是一款质量优秀的Agent工作流,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | varlock |
| 原始描述 | 开源AI工作流:AI-safe .env files: Schemas for agents, Secrets for humans.。⭐3.5k · TypeScript |
| Topics | AI工作流环境变量TypeScript |
| GitHub | https://github.com/dmno-dev/varlock |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-05-28 · 更新时间:2026-05-28 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端