| name | sparkgen-deploy |
| description | Deploy SparkGen agent to local, docker, or aws mode |
| user_invokable | true |
| auto_invokable | false |
| arguments | <local|docker|aws> [--target eks|lambda] |
SparkGen Deploy
Deploy the agent server in the specified mode.
Dynamic Context
Before deploying, gather current state:
- Read
.env (if exists) to check current DEPLOYMENT_MODE and LLM_PROVIDER
- Check if server is already running:
curl -sf http://localhost:8000/health
- For docker mode: check Docker is running with
docker info
- For local mode: check Ollama with
curl -sf http://localhost:11434/api/tags
Deployment Modes
Local (/sparkgen-deploy local)
- Verify Ollama is running:
curl -sf http://localhost:11434/api/tags
- If not: instruct user to run
ollama serve and ollama pull llama3.2:3b
- Source environment:
set -a && source .env.local && set +a