Hey devs! 👋
If you've ever found yourself juggling config files, CI/CD pipelines, and deployment scripts wondering "Why can't this just work?", and how I can do with AI agents, with the entire context and now with the MCP protol to read, understand the context and execute actions, big difference, well I,'ll start to code some agents to try if could I do that.
In this post, I'm going to walk you through how we're building dploy
, an open-source CLI that brings together AI agents and infrastructure automation. It's all about going from your terminal to production with zero guesswork.
Let’s dive in.
🤖 What Is dploy
?
Imagine you clone a new repo. You’re not sure if it has Docker. You don’t know what tests are configured. You want to deploy it… but not sure how.
dploy
is a CLI tool that analyzes your project, figures out what you're working with (Python? Node? Go? All of them?), and creates a personalized plan to deploy it. It uses LLM agents, guided by a protocol called MCP (Model Context Protocol) to understand your code, make decisions, and execute actions like:
- Creating deployment plans
- Generating CI/CD pipelines
- Opening PRs
- Executing builds
- Deploying to the cloud
All from your terminal.
All using AI.
No need to write YAML from scratch ever again.
🛠️ The Core Commands
Here’s how the CLI works (soon):
dploy setup
Creates the config folder ~/.dploy/
, asks for your API key for the backend (dploy.sh
), and sets up your session.
dploy init
Scans your project and builds a ~/.dploy/init.yml
with metadata: programming languages, frameworks, test setup, linter presence, Docker files, and more.
dploy plan
Uses agents to generate a deployment plan based on the project type and infra needs. It’s saved as ~/.dploy/plan.yml
.
dploy version
Creates a new version of the code, opens a PR, merges it, and updates your main branch.
dploy run
Deploys your app using the plan, through a router-agent that orchestrates LLMs to perform specific actions via MCP.
and the last but not least:
dploy
An agent to analize the current state and execute all necesary comands tos to dploy your code.
The AI Layer (MCP + Agents)
We wanted to go beyond static templates.
Every dploy
action is backed by AI agents that:
- Read your project.
- Decide the best action (e.g., “generate a GitHub Action for a Python/Poetry app”).
- Perform the task.
They talk via the Model Context Protocol (MCP), a structured format that defines the agent’s goal, constraints, and interfaces. Think of it like a contract between your tool and an AI brain.
And yeah — you can bring your own OpenAI key.
🌐 The Backend: dploy.sh
While dploy
is the CLI, dploy.sh
is the control tower. It handles:
- API key management
- Session storage
- External integrations
- Authentication
We're building this with a clean backend and a mobile-friendly frontend so you can manage your deploys anywhere.
Why Build This?
Just for fun
Because CI/CD shouldn’t be a second job.
This tool is for:
- Indie hackers 🧑💻
- Solo founders 🚀
- Platform engineers 🛠️
- Code Vibers 🤖
If you want to go from code → PR → deploy without babysitting your pipeline, we built this for you.
🚧 What's Next?
We’re working on:
- Multi-agent coordination (think: "test-agent", "lint-agent", "deploy-agent")
- Custom agent flows you can define with prompts
- A GUI for managing your deploy pipelines
- Templates for common stacks
🙌 Join Us
We’re sharing updates, prototypes, and code on Twitter: @kevinzwpeda, GitHub Project, Blog to show progess and here on dev.to.
Follow the journey, give feedback, or even contribute.
This is just the beginning.
👉 What would you automate in your CI/CD process if you had a personal AI agent? Let me know in the comments!