In the world of software development, we've become masters of managing code. We have Git for version control, CI/CD pipelines for automated deployments, and sophisticated IDEs for writing and debugging. Yet, a critical component often lives outside this well-oiled machine: the business logic itself. Complex processes like customer onboarding, fraud analysis, or support ticket routing are frequently managed through clunky UIs, manual hand-offs, or brittle, disconnected scripts.
What if we could treat these complex business processes just like software? What if they could be versioned, tested, and deployed with the same rigor and efficiency as our applications?
This is the promise of Business-as-Code, a paradigm shift that turns abstract business workflows into tangible, manageable code. And at the forefront of this movement is cli.do, the command-line interface that brings the power of agentic workflows directly into your terminal.
Developers thrive in the command line. It's fast, scriptable, and removes the friction of context-switching between different tools and UIs. It's the native environment for getting things done efficiently.
cli.do embraces this philosophy by bringing the full power of agentic workflows to your command line. Instead of clicking through a web interface to configure and deploy a business service, you can now manage the entire lifecycle with simple, intuitive commands. This is more than just a convenience; it's a fundamental change in how developers interact with business-critical automation.
With cli.do, an "agentic workflow" isn't just a flowchart on a whiteboard. It's a collection of files in a directory, ready to be deployed as a robust, scalable service. Imagine turning a multi-step customer onboarding process into a single command.
Here’s how simple it is to take your workflow from local code to a live API endpoint:
// Example: Deploying a new agentic workflow from your terminal
// Step 1: Login to your .do account
$ do login
// Step 2: Navigate to your workflow directory and deploy
$ cd /path/to/my-agent-workflow
$ do workflow deploy . --name="customer-onboarding-v2"
// Output:
// ✓ Authenticating...
// ✓ Packaging workflow files...
// ✓ Uploading package (1.2MB)...
// ✓ Deploying agent 'customer-onboarding-v2'...
// ✓ Deployment successful!
//
// API Endpoint: https://api.do/workflows/customer-onboarding-v2
// Status: Active
In just three commands, you've authenticated, packaged your business logic, and deployed it as a versioned, active service with its own API endpoint. This seamless experience is the core of cli.do. It closes the gap between an idea and its implementation, allowing you to build, test, and deploy Services-as-Software with unprecedented speed.
The true power of cli.do is revealed when you integrate it into your existing development practices.
What can I do with the .do CLI?
The .do CLI allows you to create, manage, deploy, and monitor your agentic workflows directly from your terminal. It's the fastest way to integrate Business-as-Code into your development lifecycle.
How do I install the .do CLI?
Installation is simple via your favorite package manager. For example, using npm, you would run: npm install -g @do/cli. We also provide binaries for Windows, macOS, and Linux.
Can I use the CLI in my CI/CD pipelines?
Absolutely. The .do CLI is designed for automation and is a perfect fit for any CI/CD pipeline, such as GitHub Actions, GitLab CI, or Jenkins. You can automate the deployment and management of your services with just a few lines of script.
Does the CLI support environment management and secrets?
Yes, you can manage everything from authentication and environment variables to logs and versioning. The CLI provides full control over your agentic workflows and their configurations.
Business-as-Code is more than a buzzword; it's a practical approach to building more robust, agile, and scalable businesses. By empowering developers to own the entire lifecycle of agentic workflows from their most-loved tool—the terminal—cli.do is leading this charge.
Stop managing critical processes through clicks and start deploying them with commands.
Ready to bring your business logic into your terminal? Get started with cli.do today and turn your complex processes into simple, powerful command-line operations.