Cloud Deploy Pack
★Trustedv1.0.0MIT✔Verified88by AgentNode · published 22 days ago · toolpack
Deploy applications to Vercel, Railway, Fly.io, and Render.
One-command deployment to popular cloud platforms. Supports static sites, Node.js, Python, and Docker-based deployments with environment variable management.
Quick Start
agentnode install cloud-deploy-packUsage
From packagefrom cloud_deploy_pack.tool import run
result = run(
capability="deploy_app",
params={
"platform": "vercel",
"project_dir": "./my-nextjs-app",
"project_name": "my-nextjs-app",
"environment": "production",
"env_vars": {
"DATABASE_URL": "postgres://...",
"NEXT_PUBLIC_API_URL": "https://api.example.com"
}
}
)
print(f"Deployment ID: {result['deployment_id']}")
print(f"URL: {result['url']}")
print(f"Status: {result['status']}")
print(f"Ready in: {result['ready_seconds']}s")Environment Variables
VERCEL_TOKENVercel personal access token. Required when deploying to Vercel.
RAILWAY_TOKENRailway API token. Required when deploying to Railway.
FLY_API_TOKENFly.io authentication token. Required when deploying to Fly.io.
RENDER_API_KEYRender API key. Required when deploying to Render.
Verification
Package installs and imports correctly. runtime checks passed.
This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.
Last verified 18d ago· Runner v2.0.0
Use this when you need to...
- ›Deploy a Next.js app to Vercel from source
- ›Push a Docker container to Railway
- ›Deploy a Python API to Fly.io globally
- ›Roll back a failed deployment to the previous version
- ›Check deployment status and live URLs
README
Cloud Deploy Pack
Deploy applications to Vercel, Railway, Fly.io, and Render from your workspace. Supports environment variables, region selection, scaling, and rollbacks.
Quick Start
agentnode install cloud-deploy-pack
from cloud_deploy_pack.tool import run
result = run(
capability="deploy_app",
params={
"platform": "vercel",
"project_dir": "./my-app",
"project_name": "my-app"
}
)
print(f"Live at: {result['url']}")
Usage
Deploy to Vercel with env vars
result = run(
capability="deploy_app",
params={
"platform": "vercel",
"project_dir": "./frontend",
"project_name": "my-frontend",
"environment": "production",
"env_vars": {"API_URL": "https://api.example.com"}
}
)
print(result["url"])
Deploy to Fly.io across multiple regions
result = run(
capability="deploy_app",
params={
"platform": "fly",
"project_dir": "./backend",
"app_name": "my-api",
"regions": ["iad", "ams"],
"auto_scale": {"min": 1, "max": 5}
}
)
Rollback a deployment
result = run(
capability="deploy_app",
params={
"platform": "vercel",
"action": "rollback",
"project_name": "my-frontend",
"deployment_id": "dpl_abc123"
}
)
print(f"Rolled back to: {result['url']}")
API Reference
| Capability | Description |
|---|---|
deploy_app | Deploy, manage, and roll back application deployments |
Platforms: vercel, railway, fly, render.
Actions: deploy (default), rollback, status, logs.
Returns: deployment_id, url, status, regions, ready_seconds.
Requirements
| Variable | Required | Description |
|---|---|---|
VERCEL_TOKEN | For Vercel | Vercel personal access token |
RAILWAY_TOKEN | For Railway | Railway API token |
FLY_API_TOKEN | For Fly.io | Fly.io auth token |
RENDER_API_KEY | For Render | Render API key |
Set the token for the platform you intend to deploy to.
License
MIT
Version History
Capabilities
Permissions
This package declares the following access levels. Review before installing.
agentnode install cloud-deploy-packEnvironment Variables
VERCEL_TOKENRAILWAY_TOKENFLY_API_TOKENRENDER_API_KEYFiles (3)
License
MITStats
Compatibility
Frameworks
Runtime
pythonPython Version
>=3.10Trust & Security
Publisher
AgentNode
@agentnode