@engines-dev/forge
v0.2.2
Published
A CLI package for the Forge AI platform engineer that helps set up and manage development environments.
Readme
A CLI package for the Forge AI platform engineer that helps set up and manage development environments.
Installation
npm install -g @engines-dev/forge
Usage
forge [options]
The CLI runs Forge in a Docker container with your current directory mounted as the working environment.
The most likely option you'll want to use is --no-interactive which will start the agent and attempt to build a Docker container for a repo. You can also pass in -p "this is a Java monorepo" to pass more info in a prompt in the non interactive mode.
Environment Configuration
Forge looks for environment variables in the following order:
- --env-file=path/to/file (if specified)
- ./.env (current directory)
- $HOME/.env (home directory)
Required environment variables: ANTHROPIC_API_KEY=your_api_key_here
Features
- Autonomous Setup: AI-driven development environment configuration
- Docker Integration: Runs in isolated containers with Docker socket access
- Output Management: Saves generated files to ./output directory
How It Works
The CLI script:
- Creates an ./output directory for generated files
- Runs the Forge Docker container (enginesdev/forge)
- Mounts your current directory as read-only (/host:ro)
- Provides workspace persistence via Docker volumes
- Loads environment variables from .env files
All generated content is saved to the local ./output folder for easy access.
