
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, or even finding and fixing bugs in a codebase.
The Claude Code SDK is now called the Claude Agent SDK. 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 and 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: 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 for almost any department in your company.
Anthropic points to several interesting use cases:
- 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: 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). 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 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.

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:
npx @eesel/cli login
npx @eesel/cli agents
Replace <agent-id> below with the teammate you want to evaluate:
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 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, 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 and use the CLI guide to run a focused evaluation. Give the teammate one relevant policy, check a realistic answer, and identify any remaining development work.
Frequently asked questions
My team is exploring this, but I'm worried about the budget. How do we predict costs when building with the Claude Code SDK?
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.
Do I need to hire a specialized AI developer to start using the Claude Code SDK, or can my current engineering team handle it?
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.
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?
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.
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?
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.
Once we build an agent with the Claude Code SDK, is the project finished, or should I expect ongoing maintenance work for my team?
You should definitely plan for ongoing maintenance. 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.






