Beta

This launch flow sets up both an application and a development agent.

The app deploys to Cloudflare, while the agent connects to a GitHub repository to make, commit, and advance changes within clear permission boundaries.

cloudflare-worker-launch is a guided launch flow: deploy a Cloudflare app, authorize Manyfold, create or adopt an agent, link a GitHub repository, and check readiness. The goal is not only a one-time deployment, but a durable development path.

The app and the agent keep separate responsibilities: Cloudflare hosts the app; Manyfold manages the agent. GitHub is the bridge for code collaboration between them.

Before you begin

  • Cloudflare continuous development: A Cloudflare project, a GitHub repository, a Manyfold account, and least-privilege deployment credentials.
  • Rotatable credentials: Cloudflare, GitHub, and Manyfold credentials the team can revoke and reissue, each scoped to what the launch flow needs.

The five-step launch flow

StepActionWhat it does
1Deploy appDeploy an application from the launch project. It hosts the configuration and connection flow that follows.
2Authorize ManyfoldAuthorize your Manyfold account so the launch flow can establish the agent-connection information needed for this work.
3Set up or adopt an agentCreate a new agent or adopt one that already exists; configure its model, development skill, A2A, and needed credentials here.
4Link GitHubLink the application’s GitHub repository so the agent has a defined codebase in which to work and can return changes to Git.
5Readiness checkConfirm the app, repository, and agent connection states before starting real development tasks.

The flow can create a new agent or adopt an existing one, allowing a team to retain an established agent’s workspace and configuration rather than forcing a restart.

How the agent keeps developing the app

Once linked, an agent’s typical cycle is: understand a task → inspect the connected repository → edit files → run available project checks → commit and push changes. Cloudflare’s Git deployment then builds and publishes those changes according to your project configuration.

TriggerResult
The team gives a task by explaining work to the agent in ManyfoldThe agent changes the GitHub repository and commits and pushes checked changes
A GitHub change triggers the configured deployment workflowThe Cloudflare app updates, publishing under the project’s branch and environment policy

This is not a direct-production editing path that bypasses Git. By keeping changes in the repository and existing CI/CD workflow, a team can retain branch protection, review, preview environments, and release controls.

Credentials and security boundaries

The launch project handles two kinds of sensitive information: a management API token used for the setup flow and credentials used by a specific agent conversation. Its README states that this information is stored server-side, and recommends setting CONFIG_ENCRYPTION_KEY for a production multi-tenant deployment.

npx wrangler secret put CONFIG_ENCRYPTION_KEY
Credential or accessHow to handle it
Cloudflare management accessGrant only the scope needed for deployment and configuration; keep or remove it after setup according to team policy.
GitHub repository accessLink only repositories and organization scope the agent actually needs, while retaining review and branch protection.
Manyfold agent credentialsBind them to a clear agent and purpose; avoid shared high-privilege tokens.
Configuration encryption keyKeep it only as a Cloudflare secret, never in Git, a client, documentation, or screenshots.

An agent that can do coding work does not need unlimited access. Treat repository permissions, deployment credentials, and production-environment access as separate decisions under your team’s policy.

Pre-launch checklist

  • Confirm that the team has a Cloudflare project and the required deployment access.
  • Confirm the GitHub repository, default branch, review rules, and deployment policy to link.
  • Choose whether to adopt an existing agent or create a new one, then inspect its runtime, model, and skills configuration.
  • Prepare least-privilege credentials and a way to rotate and revoke them.
  • Run the complete flow in staging or a non-production repository before touching production users or data.

Frequently asked questions

  • What does the launch flow do?

    It establishes a Cloudflare app and a Manyfold agent that can keep developing its repository through deployment, authorization, agent setup, GitHub linking, and readiness-check steps.

  • Does an agent automatically get every production permission?

    It should not be assumed to. Configure GitHub, Cloudflare, and Manyfold credentials with least privilege, and let the team decide which repositories, environments, and deployment workflows the agent can access.

  • Is this project ready to use in production without review?

    No. Its README is marked Draft; validate it first, particularly the GitHub App-installation and new-repository path.

See also

Was this page helpful?