Skip to main content
Use deploy-credible-assertions to create a platform project, prepare a release, and authorize deployment through your signing process.

Prerequisites

  • Completed the AI agent setup
  • Agreed policy scope and review responsibilities
  • A reviewed assertion project that passes pcl test
  • A configured assertions/credible.toml
  • An authenticated pcl session for the target platform
  • The target chain ID and an RPC endpoint
  • Access to the Protocol Manager wallet through a Foundry keystore
  • For production, reviewed Ethereum guard coverage, RPC routing for protected operations, and a tested recovery plan
Confirm that your installed CLI supports the agentic deployment command:
Deployment creates remote platform state and can broadcast an on-chain transaction. Start with alerting unless you explicitly intend to deploy to production, and do not approve a broadcast until you have reviewed the dry-run result.

1. Authenticate manually

Complete authentication yourself before giving the agent the deployment task. Select the platform API explicitly, then confirm the project’s target chain separately:
Use the Ethereum platform explicitly. L2 platform selection is documented under L2 Platform Notes. After login, pcl remembers the selected platform and uses it as the default for subsequent platform commands. Confirm the session before starting the agent:

2. Request a deployment plan

Start with a prompt that provides the required choices and sets a clear approval boundary:

3. Review credible.toml

For a new platform project, assertions/credible.toml needs a project name and no project_id:
On the first approved deployment, pcl deploy creates the platform project and writes its project_id back to credible.toml. It then verifies or assigns the Protocol Manager before creating the release. Manager assignment is a pre-release step, not a prerequisite to creating the project. Review and commit the configuration change after deployment.

4. Require a dry run

Ask the agent to build and verify the project without changing remote or on-chain state:
Review the result for:
  • The selected network and chain ID, confirmed separately as described below
  • The protected contract addresses on that network
  • The assertions and constructor arguments
  • Any warnings or failed verification
The dry run returns after building and verifying the release payload. It does not authenticate, resolve a platform project, validate a chain, or inspect the protocol manager. Confirm those values separately from your authenticated session, credible.toml, and deployment prompt before continuing.

5. Approve the deployment

After you approve the dry-run result, use a separate prompt:
The command resolves the project and manager, builds the release, and waits for required checks. It then broadcasts the deployment transaction and confirms the result. Confirmation does not remove the configured activation delay. pcl deploy checks existing state before each step. After an interruption, inspect the structured error and rerun the command to resume.

6. Verify the result

Record the network and chain ID, project ID, release ID, environment, deployment result, and any remaining activation delay. Include the transaction hash if broadcast. After the delay, verify Alerting observation or Production enforcement, according to the release environment. Activation updates assertion policy; it does not install a guard or configure transaction submitters. Verify those separately with the Ethereum integration plan. Keep these identifiers with your deployment record. You can inspect the project and release through the platform or the corresponding pcl projects and pcl releases commands.

pcl Deploy Reference

Review commands, configuration, and machine output

Review and Deploy Policies

Review the browser-assisted platform workflow