---
{
  "title": "A guide to the Claude Code SDK for business leaders",
  "slug": "claude-code-sdk",
  "intent": "consumer",
  "date": "2025-09-08",
  "updated": "2026-09-08T05:25:13.152Z",
  "template": "default",
  "locale": "en",
  "cta": {
    "variant": "cli",
    "headline": "Operate a support teammate with eesel CLI",
    "subhead": "Before building a custom support agent, try managing an existing eesel teammate from your terminal: check knowledge, inspect instructions, and review answers.",
    "primary": {
      "label": "Learn more",
      "action": "learn-more"
    },
    "secondary": {
      "label": "Try for free",
      "action": "signup"
    }
  },
  "excerpt": "Understand the Claude Code SDK, now the Claude Agent SDK, and compare building a custom agent with operating an existing support teammate through eesel CLI.",
  "coverImage": "https://wmeojibgfvjvinftolho.supabase.co/storage/v1/object/public/wp-uploads/2025/08/Banner-What-is-AI-self-service_-The-complete-guide-to-boosting-CX-efficiency-2025.webp",
  "coverImageAlt": "A guide to the Claude Code SDK for business leaders",
  "coverImageWidth": 1785,
  "coverImageHeight": 949,
  "categories": ["Guides","Trending"],
  "tags": [
    "Claude AI",
    "customer support"
  ],
  "readTime": 5,
  "author": {
    "name": "Kenneth Pangan",
    "title": "Writer",
    "avatar": "https://wmeojibgfvjvinftolho.supabase.co/storage/v1/object/public/wp-uploads/2025/01/ff982460-eca1-4f0e-b1db-aa9ad25df868.webp",
    "bio": "Writer and marketer for over ten years, Kenneth Pangan splits his time between history, politics, and art with plenty of interruptions from his dogs demanding attention."
  },
  "seo": {
    "title": "A guide to the Claude Code SDK for business leaders",
    "description": "Understand the Claude Agent SDK and where eesel CLI fits: custom agent development versus terminal and coding-agent access to an existing support teammate.",
    "image": "https://wmeojibgfvjvinftolho.supabase.co/storage/v1/object/public/wp-uploads/2025/08/Banner-What-is-AI-self-service_-The-complete-guide-to-boosting-CX-efficiency-2025.webp"
  },
  "faqs": {
    "heading": "Frequently asked questions",
    "type": "blog",
    "answerType": "markdown",
    "faqs": [
      {
        "question": "My team is exploring this, but I'm worried about the budget. How do we predict costs when building with the Claude Code SDK?",
        "answer": "<p>Estimate model usage with representative tasks, including retries and long conversations, and include hosting and maintenance in the budget. If you also evaluate a ready-made eesel teammate, estimate Claude model costs and eesel workspace costs separately.</p>\n"
      },
      {
        "question": "Do I need to hire a specialized AI developer to start using the Claude Code SDK, or can my current engineering team handle it?",
        "answer": "<p>The SDK is available in Python and TypeScript. Your team needs the skills to build and test the intended application, integrate its systems, and manage deployment. The scope of the workflow matters more than a particular job title.</p>\n"
      },
      {
        "question": "You mentioned the agent can access our file system. How can we ensure using the Claude Code SDK is secure and won't expose sensitive data?",
        "answer": "<p>The SDK provides permission controls, but your team must configure them for the application and test which files, commands, and external tools the agent can access. Start with the access needed for the task and review sensitive actions.</p>\n"
      },
      {
        "question": "We're mainly focused on automating customer support. Is the Claude Code SDK overkill for that, or is it designed for these kinds of business-specific tasks?",
        "answer": "<p>The SDK supports custom agents and supplies an agent loop and tools, so you do not build every component from scratch. For an existing eesel support teammate, eesel CLI offers another starting point: manage knowledge, instructions, and activity from a terminal, script, or coding agent. You can evaluate that workflow before deciding what custom development you need.</p>\n"
      },
      {
        "question": "Once we build an agent with the Claude Code SDK, is the project finished, or should I expect ongoing maintenance work for my team?",
        "answer": "<p>You should definitely plan for [ongoing maintenance](https://www.reddit.com/r/ClaudeAI/comments/1m25h46/built_a_tool_using_claude_code_sdk_that/). As your internal systems, APIs, or documentation change, your agent will need to be updated by your developers to prevent it from breaking or providing outdated information. It's an ongoing operational cost, not a one-time project.</p>\n"
      }
    ],
    "supportLink": null
  },
  "alternates": {
    "x-default": "claude-code-sdk",
    "en": "claude-code-sdk",
    "fr": "claude-code-sdk",
    "pt": "claude-code-sdk"
  }
}
---

There’s a ton of talk right now about AI agents that can do more than just answer questions. We’re seeing a shift toward sophisticated agents that can automate entire workflows, like resolving customer tickets, [triaging IT requests](https://eesel.ai/ai-helpdesk-agent), or even finding and fixing bugs in a codebase.

The Claude Code SDK is now called the [Claude Agent SDK](https://code.claude.com/docs/en/agent-sdk/overview). It lets developers build custom agents using the tools, agent loop, and context management behind Claude Code. The business decision is what to build around those capabilities, and what to use as an existing service.

This guide will give you a straight-up overview of the Claude Code SDK. We'll look at what it is, what it can do, and the practical realities (including the hidden costs) of building with it. It all comes down to one question: is building an AI agent from the ground up the right move for your business, or is there a faster, more efficient way to get the results you’re looking for?

## What is the Claude Code SDK?

The SDK is a library for building an application that can plan steps and use tools. Unlike a basic API client, it supplies the loop that runs the agent. Your team decides the application's purpose, integrations, access, and deployment.

The SDK is available in popular programming languages like [Python](https://docs.anthropic.com/en/docs/claude-code/sdk/sdk-python) and [TypeScript](https://docs.anthropic.com/en/docs/claude-code/sdk/sdk-typescript), so your dev team can work in a language they already know well.

Its main job is to let developers build automated agents that go way beyond a simple chat window. These agents can read and write files, run commands on a server, and connect to other tools to handle complex, multi-step tasks. It’s about moving from one-off AI queries to building a genuine AI-powered workforce.



## What you can build with Claude Code SDK

This is where things get interesting. When you give an AI the ability to interact with your systems, you unlock a completely new level of automation. Here’s a peek at what teams are building with it.

### Automating developer workflows

For engineering teams, the SDK is a massive time-saver for tasks that have always been manual and expensive. It’s almost like having a tireless junior developer on call 24/7.

Here are a few real-world examples:

* **Automated code reviews:** An AI agent can scan every new piece of code your developers submit. You can program it to check for common security flaws, make sure the code follows company style guides, and even suggest improvements before a senior developer has to lay eyes on it.
* **[CI/CD integration](https://www.reddit.com/r/ClaudeAI/comments/1lbalxb/anthropic_released_an_official_python_sdk_for/):** You can embed an agent right into your development pipeline. When a developer pushes a new feature, the agent can automatically write up detailed release notes by looking at the code changes, or it can update your technical documentation to reflect the new functionality.
* **SRE and on-call assistants:** When something breaks in production, every second counts. An agent built with the Claude Code SDK can jump in immediately, reading server logs, running diagnostic commands, and triaging the incident. It handles the initial legwork, gathering all the critical info so your on-call engineers can fix the problem faster.



### Creating business assistants

This tech isn’t just for developers. You can apply the same ideas to [build AI agents](https://www.eesel.ai/blog/ai-agent-examples) for almost any department in your company.

Anthropic points to [several interesting use cases](https://docs.anthropic.com/en/docs/claude-code/sdk/sdk-overview):

* **Legal assistants:** An agent can be trained to scan contracts and flag clauses that don't meet company standards or identify potential risks in thousands of pages of legal docs, all in a fraction of the time it would take a person.
* **Finance advisors:** By connecting to your financial systems, an agent can analyze reports, spot spending trends, and help with forecasting, giving your finance team solid, data-driven insights whenever they need them.
* **[Customer support agents](https://eesel.ai/ai-helpdesk-agent):** This is one of the most common applications. You can build a completely custom AI agent that resolves highly technical customer issues by interacting directly with your internal systems and databases.

> **Pro Tip:** The real secret sauce behind these advanced use cases is the SDK’s ability to connect to custom tools using the [Model Context Protocol (MCP)](https://code.claude.com/docs/en/agent-sdk/mcp). This lets developers build bridges between Claude and your company’s private APIs, databases, and internal services. It gives the agent the context it needs to actually get work done.

## What your team still needs to own

The SDK provides useful building blocks, including tools, sessions, and permission controls. It does not decide which customer records your application should access or how your support team should review its work.

Before committing to a build, I would ask the team to demonstrate one complete workflow. For a support agent, that might mean finding the right policy, checking the customer's details through an authorized tool, and returning an answer for review. Test missing records and failed calls as well as the successful path.

Budget for model usage, hosting, testing, and maintenance. The size of that effort depends on the workflow and existing systems; it is not automatically a months-long project, and it is not finished just because the first demo works.

## Use eesel CLI when the teammate already exists

If the immediate job is to run support rather than build a new agent application, [eesel CLI](https://docs.eesel.ai/apis-and-developer-resources/cli) gives your team direct access to an eesel AI teammate. It operates the same agent and workspace as the dashboard. An engineer can inspect the setup in a terminal while a support manager continues working in the dashboard.

This is also usable by coding agents. Claude Code can run the commands, read their JSON output, and help with tasks such as checking instructions against an approved policy. Scripts can repeat setup checks too. You are giving the development workflow access to a teammate, rather than asking the SDK to create another support application.

![The eesel helpdesk dashboard, another interface to the teammate managed through eesel CLI.](https://cdn-public.eesel.ai/blog/internal-assets/eesel-dashboard-overview-no-customers-20261122.png)

### A small evaluation your team can run

For an existing eesel workspace, use Node.js 18.17 or newer, sign in, and list its agents:

```bash
npx @eesel/cli login
npx @eesel/cli agents
```

Replace `<agent-id>` below with the teammate you want to evaluate:

```bash
npx @eesel/cli status --agent <agent-id>
npx @eesel/cli instructions --agent <agent-id>
npx @eesel/cli chat "What does our cancellation policy say about a customer who cancels after renewal?" --agent <agent-id>
```

Check the connected sources and whether their content has downloaded before relying on the answer. Compare the response with the actual policy. If that policy is a local document instead, upload it with `npx @eesel/cli files upload ./cancellation-policy.pdf --agent <agent-id>` and confirm success before asking.

This produces a concrete comparison for a business review: what can the existing teammate answer correctly, what knowledge is missing, and what still needs a custom integration? It does not prove every future answer will be correct.

### Make changes reviewable

Use `instructions` to inspect or edit the teammate's standing rules, `activity` to review its work, and `approvals` to inspect actions held for a person. When asking a coding agent to help, start with an inspection-only task and review its proposed changes before authorizing them.

The CLI's `--dry-run` flag previews the server request for a write without sending it. That is useful for checking what would be sent; it does not simulate customer conversations or verify answer quality.

### Bring the teammate into Claude through MCP

If your developers prefer connected tools over shell commands, the [eesel MCP guide](https://docs.eesel.ai/apis-and-developer-resources/claude-code-and-mcp-clients) describes how to connect the same workspace. After login, run `npx @eesel/cli mcp token --agent <agent-id>` to obtain the URL and headers for that agent.

The output also includes a ready-to-paste Claude Code setup command. Run that command to configure Claude Code; token generation alone does not connect it. For an SDK-based application, supply the URL and headers through its [MCP configuration](https://code.claude.com/docs/en/agent-sdk/mcp), either in code or a configuration file the application loads. Verify that connection separately from your interactive Claude Code session.

Keep the token private. It lasts 30 days and captures your workspace role when issued. After a role change or expiry, mint a new token and update the client's headers. Do not treat issuing a replacement as proof that an older token has been revoked. The workspace's approval rules continue to apply.

## Decide what you need to build

| Decision | Claude Agent SDK | eesel CLI |
| --- | --- | --- |
| What are you creating or operating? | A custom agent application | An existing eesel teammate |
| Where does your team work? | Python or TypeScript application code | Terminal, scripts, coding agent, or the same workspace's dashboard |
| What should you evaluate? | Your complete workflow, integrations, permissions, and deployment | The teammate's knowledge, instructions, answers, and permitted actions |

These can be complementary choices. A custom application may need access to an existing teammate, while the support team still needs a dashboard to manage it. Choose based on the work to be done, not a blanket claim that code is slow or no-code is safer.

If support is the job you need covered, [try eesel](https://dashboard.eesel.ai/signup) and use the [CLI guide](https://docs.eesel.ai/apis-and-developer-resources/cli) to run a focused evaluation. Give the teammate one relevant policy, check a realistic answer, and identify any remaining development work.
