Python framework for building agents using claude-code-sdk. Provides decorator-based tools, runtime isolation, and simplified agent development. Benefits developers in operations by streamlining agent creation and integration with existing workflows.
git clone https://github.com/cheolwanpark/claude-agent-toolkit.gitPython framework for building agents using claude-code-sdk. Provides decorator-based tools, runtime isolation, and simplified agent development. Benefits developers in operations by streamlining agent creation and integration with existing workflows.
1. Install the claude-agent-toolkit: `pip install claude-agent-toolkit` 2. Import required decorators: `from claude_agent_toolkit import Agent, task, runtime` 3. Define your agent's tasks using `@task` decorator with clear descriptions 4. Configure runtime isolation with `@runtime` decorator (choose between 'process', 'thread', or 'none') 5. Create the agent instance and run it using `agent.run()` Tips: - Start with simple tasks before adding complex workflows - Use isolation_level='process' for CPU-intensive tasks - Add error handling within your task functions - Test tasks individually before combining them in the agent
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/cheolwanpark/claude-agent-toolkitCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Use the claude-agent-toolkit to create a Python agent that [TASK]. The agent should use the [DECORATOR] decorator to handle [FUNCTIONALITY]. Include [RUNTIME_CONFIGURATION] for isolation. Generate the complete agent code and explain how to run it with claude-code-sdk.
```python
from claude_agent_toolkit import Agent, task, runtime
@task(description="Process customer support tickets from Zendesk API")
def process_tickets():
import requests
response = requests.get("https://zendesk.com/api/v2/tickets.json", headers={"Authorization": "Bearer [API_KEY]"})
tickets = response.json()["tickets"]
for ticket in tickets:
if ticket["status"] == "open" and ticket["priority"] == "high":
print(f"Escalating ticket {ticket['id']} to senior support")
@runtime(isolation_level="process", timeout=30)
def run_agent():
agent = Agent(name="SupportTicketProcessor", tasks=[process_tickets])
agent.run()
if __name__ == "__main__":
run_agent()
```
To run this agent, install the dependencies:
```bash
pip install claude-agent-toolkit requests
```
Then execute with claude-code-sdk:
```bash
claude run agent.py
```
The agent will process high-priority open tickets from Zendesk and escalate them automatically. The runtime isolation ensures crashes in the ticket processing don't affect the agent's core functionality. The decorator-based approach makes it easy to add new tasks like database logging or Slack notifications without modifying the core agent logic.AI assistant built for thoughtful, nuanced conversation
IronCalc is a spreadsheet engine and ecosystem
ITIL-aligned IT service management platform
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan