Using the Claude Agent SDK for Non-Coding Workflows

I decided to take a career break and try out building apps using Generative AI. I am also learning NextJS and developing LaunchStack, starter code which I will use for my web projects
Search for a command to run...

I decided to take a career break and try out building apps using Generative AI. I am also learning NextJS and developing LaunchStack, starter code which I will use for my web projects
No comments yet. Be the first to comment.
Introduction In the rapidly evolving world of AI, developers often need to integrate multiple AI providers into their applications. Whether you're using local models with Ollama, cloud services like OpenAI, or planning to add Anthropic or Google's Ge...
Introduction: Java’s Role in Enterprise AI Java has long been the backbone of enterprise systems, valued for its security, reliability, scalability, and platform independence. These very qualities that made Java the “engine of the enterprise” are now...
Email is essential for modern communication, but it often takes up more time than it should. Crafting thoughtful replies, keeping the right tone, and managing dozens of threads can quickly become overwhelming. This is where AI can step in and make a ...

OpenAI unveiled its latest innovation: OpenAI o3-mini. This new model is a major leap forward in efficient, high-quality reasoning—especially in STEM fields such as science, mathematics, and coding. Today, we explore what makes o3-mini so exciting, i...
I’ve been exploring the Claude Agent SDK, and I had this idea — why not use it for non-coding workflows instead of relying on other agent frameworks like CrewAI or LangChain?
To validate the idea, I built a simple example: a news researcher agent that finds the latest AI news and translates it into Korean.

Here’s the core script:
import asyncio
from claude_agent_sdk import query, ClaudeAgentOptions, AgentDefinition
from claude_agent_sdk.types import McpHttpServerConfig
import os
async def main():
firecrawl_api_key = os.environ['FIRECRAWL_API_KEY']
firecrawl_mcp = McpHttpServerConfig(
type="http",
url="https://mcp.firecrawl.dev/v2/mcp",
headers={"Authorization": f"Bearer {firecrawl_api_key}"}
)
translator_agent = AgentDefinition(
description="Translate the content from any language to any other language.",
prompt="You are an expert language translator.",
tools=["Read", "Edit", "Bash", "Grep"],
model="sonnet"
)
options = ClaudeAgentOptions(
model="glm-4.6",
system_prompt="You are an expert news researcher.",
permission_mode='bypassPermissions',
cwd="/Users/melvin/PycharmProjects/ClaudeCodeSDK/output",
mcp_servers={"firecrawl_mcp": firecrawl_mcp},
agents={"translator-agent": translator_agent}
)
async for message in query(
prompt=(
"What are the latest news topics in AI? "
"Write the results to a markdown file with URLs as references. "
"Then use the translator-agent to translate the content to Korean "
"and save it to a separate markdown file."
),
options=options
):
print(message)
asyncio.run(main())
I used the Firecrawl MCP to fetch the latest AI news.
The agent gathered data, summarized it, and wrote the results into a Markdown file — all autonomously.
This shows how an MCP can act like an API plugin layer, enabling agents to perform real-world data collection beyond simple prompts.
After gathering the news, I wanted a translated version.
Instead of hardcoding translation logic, I created a sub-agent — the translator-agent — specifically for that purpose.
The main agent then delegated the translation task to the sub-agent.
ai_news_en.md – English summary
ai_news_ko.md – Korean translation
The Claude Agent SDK already supports:
Tools (Read, Edit, Bash, etc.)
MCPs (external capability servers)
Skills
Sub-agents
These are the same components other AI agent frameworks build from scratch — but here, it’s all native to Claude’s ecosystem.
With what Claude AI has built, developers and researchers can rapidly compose workflows that go beyond chat — from document generation to automated pipelines.
I used the GLM 4.6 model in this example, but of course, it works perfectly with Claude models like Haiku and Sonnet.
Frameworks like CrewAI and LangChain are excellent for building complex agent systems — but sometimes, simplicity wins.
The Claude Agent SDK gives you the same building blocks — tools, sub-agents, and external connectors — in a lightweight package that integrates naturally with Claude’s ecosystem.