System Requirements
Node.js
Version 18.0.0 or higher required
Operating System
macOS, Linux, or Windows with WSL
Installation Methods
Global Installation (Recommended)
- pnpm
- npm
- bun
- yarn
Run Without Installation
Usepnpx
or bunx
to run AgentUse without installing:
Development Setup
Clone and build from source:Authentication Setup
AgentUse supports multiple AI providers. You’ll need to authenticate with at least one:Interactive Authentication (Recommended)
The easiest way to set up authentication:Environment Variables
Alternatively, set API keys as environment variables:Configuration File
Create a.env
file in your project root:
Never commit
.env
files to version control. Add .env
to your .gitignore
.Verify Installation
Check that everything is working:1
Check Version
2
Check Authentication
3
Run Test Agent
Docker Installation
Docker is useful for isolated environments, CI/CD pipelines, or when you want to avoid installing Node.js locally.Development Setup
For local development, mount your project directory to access.agentuse
files from the host:
Production Setup
Include agent files in the image for distribution:Docker Compose Example
For complex setups with multiple services:docker-compose run --rm agentuse
Troubleshooting
Command not found
Command not found
If
agentuse
command is not found after installation:- Check your PATH:
- Find where pnpm installs global packages:
- Add to PATH if needed:
Node version issues
Node version issues
Check your Node.js version:If below v18, update Node.js:
- Use nvm:
nvm install 20
- Or download from nodejs.org