← newsletter

Originally published on 12 Grams of Carbon

Agentics: Design Principles for Building an Agent-First CLI

What does ‘agent first’ mean in practice?

Amol Kapoor · July 9, 2026

Editor’s Note: we are hosting our second in person Agentics event (and our first bi-weekly) at The Brass Factory on July 22nd. We’ll have speakers, food, and hopefully some boardgames too. Sign up here: https://luma.com/agentics-qz0j

Agents are increasingly picking up more and more of our workload. We use agents to write and ship code, publish our dev blog, and even write our board decks. To make that all work, we have to give our agents access to more data sources. Slack, email, GitHub, aws, linear, datadog, sentry. For most of these tools, we can just pull an MCP server and call it a day. But MCP is extremely token hungry, and often implemented really poorly. For some critical integrations, we want to own the integration point.

When building out a new integration, we often reach for CLIs over trying to build a custom MCP. CLIs have built-in progressive disclosure (they do not suck up tokens with parameter descriptions for function calls unless your model absolutely needs to know). The models are extremely familiar with using and calling CLIs through bash. And the models are very good at writing efficient CLI tools, because they have tons and tons of examples.

CLIs that are built for agents as their primary user behave differently than those built for humans. We’ve spent a lot of time thinking about what that behavior difference ought to look like. In no particular order, here are a few principles we use when building CLI tools that assume agents are the primary consumer.

You can find all of this in skill form here. Just drop it into your agent of choice, or run

npx nori-skillsets install amol

to download my personal agent config (which includes the agentic cli skill already in place).

We’ve built a few different CLI tools that follow these principles, including:

All of these are open source, so feel free to drop them with your agents and see how they use the tools.

  1. There’s also a corresponding SKILL here.