The script explains the newly launched CLI for Claude as a powerful, simpler way to use the Claude API from the terminal to run requests, test prompts, and manage cloud-based AI agents without writing code. It contrasts chat-based Claude usage with API-driven automation for businesses, using examples like customer support auto-replies, document summarization, and overnight pattern-finding across company files. It shows how the CLI enables piping outputs into other terminal tools, uploading files for cloud agents, tracing sessions step-by-step, exploring models, and listing managed agents, sessions, and uploaded files in one place instead of clicking through the console. It also clarifies that Claude Code “builds” tools while the CLI “runs” API requests, and they work together in an agent operating system setup with agents like research, support triage, code review, and SEO strategy.
00:00 Claude CLI Launch
00:40 Chat vs API Explained
01:33 Why Businesses Need API
02:16 ANSI CLI Basics
02:43 Real World Use Cases
03:36 CLI vs Claude Code
04:16 Files Traces Cloud Agents
05:20 Agent OS CLI Demo
06:27 SEO Agent Example
06:52 Wrap Up and Offer
Full transcript
And CLI has just been launched for Claude. And this is a really powerful way to use AI agents and manage them inside a Claude. So I'm going to show you exactly what it works, what's different now, how to use it, et cetera, and how to implement it inside your business plus a powerful way that brings it all together. So essentially we've already plugged Ant CLI directly into our agent operating system.
You can see a bunch of agents that we've created right here. And this is very different from using Claude code normally. I'll come on to that in a second, but you can basically manage your AI agents in the cloud, which is very different to when, for example, you would use your terminal with Claude code. And so essentially before, when you use Claude in, for example, like the chat, you know, you're a person typing into a box, which is great for you.
You got one conversation at a time, but if you're a business, for example, you don't want to sit down and type into a chat. You want Claude to build and be built into your own software doing tasks automatically as an AI agent without a human watching. And the API is how you do that. It's a doorway that lets you build an app or a system talking to Claude directly.
So you don't need the chat window. You don't need someone typing. You can have a software that sends Claude a request and Claude sends back an answer with the API, right? So for example, if you're just using the chat directly here, it's kind of like you ordering coffee at the counter.
Whereas if, for example, you use the Ant CLI, which is the new way of doing things, API is a pipe that pumps coffee straight into a factory all day with no barista needed. So why would you actually want the API? Well, let's say for example, we've got these agents set up. We set up a research agent, support triage, a code reviewer, and an SEO strategist using this whole new system.
And so you might say, well, why would anyone want the API? Because they want Claude working inside their products or in their business at scale. So for example, you could have a customer support tool that uses Claude to auto answer emails daily. You could have an app that summarizes all your documents or something that other people upload.
You could have a company that runs Claude across all of your documents overnight to find patterns and trends. You could have a startup whose entire product is Claude wrapped in a nice UI. And so none of that works by typing into a chat box. It only works through the API.
Now, if you wanted to use the API previously, obviously the old way was that you had to write a program to do that, right? Maybe you have a Python or JavaScript or that sort of thing. The new way is the ANT CLI. So you can now just type a command in your terminal and the request goes through directly, which means like you don't need scripts, you don't need JavaScript or anything like that.
You just literally tell it what you want to do. So the API is kind of like the doorway, but the CLI is a much easier way to knock on that door. Now let's talk about actual use cases here. So let's say, for example, you wanted to try a prompt against the API right now without building the whole script.
You could type one command to see the result done. The automation can run itself. So say you have a system that runs every night on a server with no human around. Well, you can't have that person typing and that's why you want AI agents in the cloud instead, right?
They can run autonomously in the cloud using this managed service. And also if you were plugging Claude into existing terminal tools, you know, people who live in the terminal can now pipe Claude's answer straight into their other tools. So for example, feed it into a search or filter the next step in a chain. And finally, for managed and managing automated agents.
So you can set up a managed agent, which is Claude running tasks on its own, store its settings as a simple file with version control, which we've got right here, and use the CLI to update it or check exactly what it did step by step. Now you might at this point be going, okay, why wouldn't I just use Claude over here versus and CLI, right? What's the difference? Why would you use one over the other?
The way you want to think of it is like Claude code is like an agent that can build stuff for you. So it could build a tool for you. You can say, okay, hey, Claude, build this website for me. And then it writes and edits the code and CLI is actually like a remote control for the API.
So you can say, run this API request right now. And it actually does it. They're not really competing. In fact, they actually work together.
So when you ask Claude code to build something now that uses API, Claude code uses the and CLI to do it because the CLI is simple, predictable. One builds, the other runs. Now, the other thing as well is like you could upload files and use that across your managed agents. So let's say, for example, we've got these agents here.
If you were just using Claude code on your local laptop, well, then how do those agents in the cloud get access to files that you have, right? Well, that's the power of and CLI. So you can upload files and you can also session trace, which means if you kicked off an agent session, you could send it an event and then pull the trace, right. And see all the reasoning steps that we've done right there.
Additionally, you can manage all your agents in the cloud. You can explore the different models and you've got the raw API console as well. And so just to recap here and to really summarize it, the API is how, you know, your tools and your websites use Claude. So businesses can run Claude on their own tools and the websites and, you know, even like, for example, your agents, your managed agents.
To use the API, you have to send it requests. The old way was writing code to send those requests. The new way is that you can type into a single terminal command and you use that command for like, for example, quick tests, managing your agents, seeing what your agents did in the cloud, et cetera. And we've actually built this into the agent operating system.
You can see an example right here. So for example, if we type in models with the and CLI, we can pull in the models that we've used. If we check the office status we've got here, if you wanted to see all of our managed agents, we've got those here. Previous sessions as well.
And then if you've got any files uploaded to, you can actually see those as well. And so this is pretty powerful because then you can easily see everything and manage it in one CLI instead of like having to go to the managed agents platform directly for Claude. So like we could go into Claude managed agents over here, go to the console, then we go to managed agents and it's a lot of clicking and it's a lot of moving around. So how do you build those together?
Well, that's where the and CLI comes from and that's how you can talk to it. And also like with and CLI, you can talk to it in a more natural way, which means that you don't really need to be a coder. In fact, you could actually get your Claude CLI to operate the and CLI as well. And that's what Claude code is really good at.
It's actually designed to understand and CLI straight off the bat. So that's basically how it works, what it does, use cases, how to use it. We've plugged it into the agent OS system already. We've created a bunch of agents that can use it already, which is pretty cool as well.
We can give it tasks here. So I could say, for example, okay, keyword equals best AI community, and then it can actually turn that into a actionable SEO content plan. And you can see that's working in the cloud and we're talking to it through the and CLI and where is that linked? It's inside Claude console, right?
So this is where we have all our sessions and everything else. And you see, it's already come back to us right here. So thanks so much for watching. If you want to get my full agent operating system with a guide on how to use and CLI, you get that inside the AI Profitable Boarding link in the comment description, or go to the AI Profitable Boarding.com.
We have a full tutorial on how to use the agent OS along with a zip file. And you can see that we add new daily tutorials, video tutorials, 30 day plans, a hundred prompts for each new update that comes out that's actually useful. And you can get all of my best trainings inside the Classroom Profs. You can connect with me personally inside the community.
You can ask questions, get help and support. Connect with me as well. And there's loads of cool people and there's always people online as well, which is a great thing. So, you know, there's always people online ready to help you whenever you need it.
Inside the calendar, you can jump on weekly coaching calls, get help and support in real time, share your screen, ask members questions, et cetera. Inside the map, you can actually connect with people in your local city who are using AI agents like you. And this is all inside the AI Profitable Boarding link in the comment description, or go to the AI Profitable Boarding.com. Thanks for watching.
Cheers. Bye bye.
More episodes