
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@agentforge/cli
Advanced tools
CLI for AgentForge to scaffold TypeScript AI agent projects, generate boilerplate, and manage local development workflows.
CLI tool for AgentForge - scaffolding, development, testing, and deployment
156 tests passing | 98.11% coverage | 13 commands | 4 project templates
# Global installation (recommended)
npm install -g @agentforge/cli
# Or use with npx (no installation needed)
npx @agentforge/cli create my-agent-project
create <project-name>Create a new AgentForge project with interactive setup.
agentforge create my-project
# With options
agentforge create my-project --template full --package-manager pnpm
Options:
-t, --template <template> - Project template (minimal, full, api, cli) [default: minimal]-p, --package-manager <pm> - Package manager (npm, pnpm, yarn) [default: pnpm]--no-install - Skip dependency installation--no-git - Skip git initializationdevStart development server with hot reload.
agentforge dev
# With options
agentforge dev --port 4000
Options:
-p, --port <port> - Port number [default: 3000]--no-open - Do not open browserbuildBuild for production.
agentforge build
# With options
agentforge build --no-minify --no-sourcemap
Options:
--no-minify - Skip minification--no-sourcemap - Skip sourcemap generationtestRun tests with coverage.
agentforge test
# With options
agentforge test --watch
agentforge test --ui
agentforge test --coverage
Options:
-w, --watch - Watch mode--ui - Open test UI--coverage - Generate coverage reportlintLint and format code.
agentforge lint
# With options
agentforge lint --fix
Options:
--fix - Auto-fix issues--no-format - Skip formattingagent:create <name>Create a new agent.
agentforge agent:create myAgent
# With options
agentforge agent:create myAgent --pattern plan-execute
Options:
-p, --pattern <pattern> - Agent pattern (react, plan-execute, reflection, multi-agent) [default: react]--no-test - Skip test generationagent:create-reusable <name>Create a new reusable agent using the production template.
This command scaffolds a complete reusable agent with:
.md files)agentforge agent:create-reusable customer-support
# With options
agentforge agent:create-reusable data-analyst --description "Analyze data and generate insights" --author "Your Name"
Options:
-d, --description <description> - Agent description-a, --author <author> - Author nameWhat Gets Created:
customer-support/
├── src/
│ ├── index.ts # Agent factory function
│ └── index.test.ts # Comprehensive tests
├── prompts/
│ └── system.md # External prompt template
├── package.json
├── tsconfig.json
├── vitest.config.ts
└── README.md
Note: The agent uses loadPrompt from @agentforge/core for secure prompt template loading with built-in injection protection.
Next Steps After Creation:
cd customer-supportpnpm installprompts/system.md to customize the promptsrc/index.ts to add tools and configurationpnpm test to run testspnpm build to buildSee Also:
agent:listList all agents.
agentforge agent:list
# With verbose output
agentforge agent:list --verbose
Options:
-v, --verbose - Show detailed informationagent:test <name>Test a specific agent.
agentforge agent:test myAgent
# With watch mode
agentforge agent:test myAgent --watch
Options:
-w, --watch - Watch modeagent:deploy <name>Deploy an agent.
agentforge agent:deploy myAgent
# With options
agentforge agent:deploy myAgent --environment staging --dry-run
Options:
-e, --environment <env> - Deployment environment [default: production]--dry-run - Dry run without actual deploymenttool:create <name>Create a new tool.
agentforge tool:create myTool
# With options
agentforge tool:create myTool --category web
Options:
-c, --category <category> - Tool category (web, data, file, utility) [default: utility]--no-test - Skip test generationtool:listList all tools.
agentforge tool:list
# Filter by category
agentforge tool:list --category web --verbose
Options:
-c, --category <category> - Filter by category-v, --verbose - Show detailed informationtool:test <name>Test a specific tool.
agentforge tool:test myTool
# With watch mode
agentforge tool:test myTool --watch
Options:
-w, --watch - Watch modetool:publish <name>Publish a tool to npm.
agentforge tool:publish myTool
# With options
agentforge tool:publish myTool --tag beta --dry-run
Options:
--tag <tag> - npm tag [default: latest]--dry-run - Dry run without actual publishingMIT © 2026 Tom Van Schoor
FAQs
CLI for AgentForge to scaffold TypeScript AI agent projects, generate boilerplate, and manage local development workflows.
We found that @agentforge/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.