runloopai/Deploy Agent to Runloop
Deploy an agent to the Runloop platform with support for multiple source types (Git, files, and directories)
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| api-key | Runloop API key for authentication (set as secret) | yes | — |
| source-type | Agent source type: git, tar, file, npm, or pip | yes | — |
| agent-name | Name for the agent (defaults to repository name if not provided) | no | — |
| agent-version | For npm/pip agents, pins the installed package version (e.g., "2.1.123"). Not used for git or object agents. | no | — |
| git-repository | Git repository URL (optional override, defaults to current repository) | no | — |
| git-ref | Git ref (branch or tag). Defaults to current ref or release tag | no | — |
| npm-package | NPM package name (required when source-type=npm, e.g., "@anthropic-ai/claude-code") | no | — |
| npm-registry-url | NPM registry URL (optional, defaults to public npm registry) | no | — |
| pip-package | PyPI package name (required when source-type=pip, e.g., "deepagents-cli") | no | — |
| pip-index-url | PyPI index URL (optional, defaults to public PyPI) | no | — |
| path | Path to file or tar archive (required if source-type=tar/file) | no | — |
| content-type | Object content type override (unspecified, text, binary, gzip, tar, tgz). If omitted, auto-detected from file extension and magic bytes. | no | — |
| setup-commands | Newline-separated setup commands to run after agent installation | no | — |
| api-url | Runloop API URL (defaults to production) | no | https://api.runloop.ai |
| object-ttl-days | Time-to-live for uploaded objects in days (optional) | no | — |
Outputs
| name | description |
|---|---|
| agent-id | The ID of the created agent (e.g., agt_xxxx) |
| object-id | The ID of the uploaded object (if applicable, e.g., obj_xxxx) |
| agent-name | The final name of the created agent |