正在加载视频...

视频加载失败

We’ve added a CLI for Claude Platform to make every API endpoint runnable from your terminal. Call the Messages API, stand up Claude Managed Agents, pipe results straight into your shell. The ant CLI is well understood by coding agents (Claude Code) using the claude-api skill.

1,213,800 次观看 • 4 个月前 •via X (Twitter)

39 条评论

ClaudeDevs 的头像
ClaudeDevs4 个月前

For interactive login, the CLI supports "ant auth login". This runs a browser OAuth flow, scopes the token to a workspace, and stores it for you. That one credential is then used by the CLI (and even the SDKs) to authenticate your API calls.

ClaudeDevs 的头像
ClaudeDevs4 个月前

Every API resource is a subcommand, including messages, models, and files. Build requests from typed flags or piped YAML, inline a file with @.path, reshape any response with --transform. Output as json, yaml, jsonl, or explore (default) for a TUI you can fold and search.

ClaudeDevs 的头像
ClaudeDevs4 个月前

Use the ant CLI to create and update Claude Managed Agents, locally or from CI. Version control your agent as YAML in Git and have CI run "ant beta:agents update" to sync changes to the Claude Platform.

ClaudeDevs 的头像
ClaudeDevs4 个月前

The CLI can kick off a Managed Agents session, send it an event, and the agent goes to work: reasoning, calling tools, working toward an answer. When it's done (or stuck), pull the trace: every event, every tool call, every decision is retrievable from the same CLI.

ClaudeDevs 的头像
ClaudeDevs4 个月前

Claude Code knows how to use ant using the built-in "/claude-api" skill Ask it to list your sessions, upload a folder of PDFs, or debug a run. It shells out to the CLI and reads the results back without any glue code. Install with brew, curl, or go:

John Greg 的头像
John Greg4 个月前

Running agents straight from the terminal is insane. about to abuse this immediately!!

j.jorvex179 的头像
j.jorvex1794 个月前

Omg can you slow it down

Syed Khaliq Hussain 的头像
Syed Khaliq Hussain4 个月前

Is there anything claude can’t do??? Wtf

Ziwen 的头像
Ziwen4 个月前

It's more than a feature it's the game changer for everyone.

stonksage 的头像
stonksage4 个月前

Step 1: Give AI a CLI. Step 2: Ask it to fix your code. Step 3: Pretend you did it yourself. 😎

Victor | Structural Alpha 的头像
Victor | Structural Alpha4 个月前

ant. they named it ant. somewhere a pm is fighting for their life in a thread about why claude-cli was taken or why this won't confuse every search for apache ant build tool from 2003

Rahul - QA - Automation - AI 的头像
Rahul - QA - Automation - AI4 个月前

Ant CLI just dropped and suddenly Claude devs have a better terminal experience than most of us 😂 Piping agents straight into shell + native Claude Code integration = dangerous productivity. Well played @ClaudeDevs

狐狸狼 的头像
狐狸狼4 个月前

This is exactly what the Claude API workflow was missing. Being able to pipe results straight into shell scripts makes agentic automation so much cleaner. The claude-api skill integration with Claude Code is the cherry on top. More CLI tools like this please.

The Calda 的头像
The Calda4 个月前

The “open docs, copy curl, paste, pray” workflow might finally be getting replaced.

Ziwen 的头像
Ziwen4 个月前

Wait!! It means every ai product we are trying to create can be one prompted with Claude

yag 的头像
yag4 个月前

ANThropic 🐜

yag 的头像
yag4 个月前

Antropians 🐜

Jake Moffatt 的头像
Jake Moffatt4 个月前

Will it cost me $1000 to use or can I use my subscription to use this?

Ilko Kacharov 的头像
Ilko Kacharov4 个月前

The terminal quietly became the new IDE. Piping agent output straight into your shell beats bolting on another dashboard. The teams who win with AI won't have the prettiest UI — they'll have made it composable. Big step.

Lawrence Stark 的头像
Lawrence Stark4 个月前

The real question - is this covered by the subscription or not?

Gagan | Claude + AWS 的头像
Gagan | Claude + AWS4 个月前

the pipe results into shell is going to be underrated for a while. think: git diff | ant messages --prompt 'review this' | tee review.txt. makes claude a first-class citizen in your build pipeline, not just a chat window you tab over to.

Dev K 的头像
Dev K4 个月前

version control your agent as YAML. CI syncs it automatically. pipe results straight into your shell. the API just became a first-class terminal citizen. about time.

Solomon Omolabi 的头像
Solomon Omolabi4 个月前

A CLI is huge for people learning by doing. Even for non-coders, terminal examples make the workflow visible: run one request, see the response, change one thing, repeat. That is much less mysterious than trying to understand APIs in theory.

Juanↄho Jaↄk® 的头像
Juanↄho Jaↄk®4 个月前

Ohh thou anthropic masters, and what shall our allowance be for this? 🥹 *cough* cocksuckers *cough*

John | There By 的头像
John | There By4 个月前

@grok Can you explain plainly why this is a benefit?

Subhan Tariq 的头像
Subhan Tariq4 个月前

piping agent outputs straight into the shell is where things start feeling less like “tools” and more like runtime composition. CLI becoming an agent interface is a pretty big shift

vSa 的头像
vSa4 个月前

The ant CLI meets Standard networking laws dictate I have to integrate this now. 🐜 I’m 10 days into building an analytics and AI-visibility platform, and being able to trigger managed agents and pipe results via terminal is going to make automation so much cleaner. Sick update!

WisGate 的头像
WisGate4 个月前

CLI access is where APIs start feeling like infrastructure, not demos. Add two guardrails early: log every request shape, and keep one replayable curl for each endpoint. Agent failures get much less mysterious. Follow us for practical API workflow notes.

Subhan Tariq 的头像
Subhan Tariq4 个月前

piping agent outputs straight into the shell is where things start feeling less like “tools” and more like runtime composition. CLI becoming an agent interface is a pretty big shift....

Hussain Hashim | Building SundayBack 的头像
Hussain Hashim | Building SundayBack4 个月前

@ClaudeDevs nice! this'll make testing so much smoother. was a pain switching between tools before. excited to see how it speeds up my workflow.

stonksage 的头像
stonksage4 个月前

At this rate my job description will become "approve what the agents already did." 😂

Superstar 的头像
Superstar4 个月前

Just build it without the managed agents and no api charges

Amal Roy 的头像
Amal Roy4 个月前

ANThropic dropping the ultimate terminal power tool. Next up: ant deploy-my-entire-startup Seriously though, the GitOps flow for Managed Agents is 🔥

Dennison 的头像
Dennison4 个月前

@FounderModes Very useful

Anil Yadav 的头像
Anil Yadav4 个月前

Piping Managed Agents directly into the shell is an absolute game-changer for terminal-centric workflows. Skipping the boilerplate code just to test endpoints or orchestrate quick multi-agent loops saves a massive amount of friction during early-stage prototyping. The ant CLI is going to speed up developer velocity significantly. 💻🔥

neelkumar 的头像
neelkumar4 个月前

Like the name, we also have product named

Logan 的头像
Logan4 个月前

Ant?? Welcome back

Anotida Msiiwa 的头像
Anotida Msiiwa4 个月前

piping managed agents directly into the shell is exactly the workflow we needed. Thank you @claudeai team.

ClidoraLabs 的头像
ClidoraLabs4 个月前

The claude-api skill is the real unlock here — agents can now self-serve the whole platform without you hand-writing wrappers. CLI becomes the interface layer your agent reads, not just the one you type into.

相关视频