Skip to content

Deploy: Install Adapters

Install, list, and remove deploy adapter plugins.

  • PromptKit CLI (promptarena) installed

Install an adapter from the default registry:

Terminal window
promptarena deploy adapter install agentcore

Install a specific version:

Terminal window
promptarena deploy adapter install agentcore@0.2.0

What happens:

  1. The CLI looks up the adapter in the built-in registry
  2. Downloads the binary from the adapter’s GitHub Releases for your OS and architecture
  3. Installs it to ~/.promptarena/adapters/promptarena-deploy-agentcore
  4. Sets executable permissions (0755)

Adapter binaries are fetched from GitHub Releases:

https://github.com/{repo}/releases/download/v{version}/promptarena-deploy-{provider}_{os}_{arch}

For example, on macOS ARM64:

https://github.com/AltairaLabs/promptarena-deploy-agentcore/releases/download/v0.2.0/promptarena-deploy-agentcore_darwin_arm64

See all installed adapters:

Terminal window
promptarena deploy adapter list

Expected output:

Installed adapters:
agentcore ~/.promptarena/adapters/promptarena-deploy-agentcore

The list command searches two locations:

  1. Project-local: .promptarena/adapters/ in your project directory
  2. User-level: ~/.promptarena/adapters/ in your home directory

Remove an installed adapter:

Terminal window
promptarena deploy adapter remove agentcore

This removes the binary from ~/.promptarena/adapters/.

When you run a deploy command, the CLI locates the adapter binary in this order:

  1. Project-local.promptarena/adapters/promptarena-deploy-{provider}
  2. User-level~/.promptarena/adapters/promptarena-deploy-{provider}
  3. System PATH — Standard $PATH lookup

This lets you override a global adapter with a project-specific version.

You can also install adapters manually by placing the binary in the right location:

Terminal window
# Build from source
cd promptarena-deploy-myprovider
go build -o promptarena-deploy-myprovider .
# Install to user-level directory
mkdir -p ~/.promptarena/adapters
cp promptarena-deploy-myprovider ~/.promptarena/adapters/
chmod 755 ~/.promptarena/adapters/promptarena-deploy-myprovider

Or install to your project for team-specific versions:

Terminal window
mkdir -p .promptarena/adapters
cp promptarena-deploy-myprovider .promptarena/adapters/
chmod 755 .promptarena/adapters/promptarena-deploy-myprovider
AdapterProviderDescription
agentcoreAWS Bedrock AgentCoreDeploy to AWS Bedrock AgentCore

Confirm an adapter is working:

Terminal window
# List should show the adapter
promptarena deploy adapter list
# Plan should connect to the adapter successfully
promptarena deploy plan

Ensure the binary exists and is executable:

Terminal window
ls -la ~/.promptarena/adapters/

Fix executable permissions:

Terminal window
chmod 755 ~/.promptarena/adapters/promptarena-deploy-agentcore

If you see exec format errors, the binary was built for a different OS/architecture. Reinstall:

Terminal window
promptarena deploy adapter remove agentcore
promptarena deploy adapter install agentcore