Show HN: Code Claude Code
Published on: 2025-07-15 15:47:12
codesys SDK
A Python SDK for interacting with the Claude CLI tool.
Installation
pip install codesys
Requirements
Python 3.8+
Claude CLI tool must be installed, available in your PATH, and set up with your api key.
Quick Start
from codesys import Agent # Initialize with a working directory agent = Agent ( working_dir = "/Users/seansullivan/lmsys-sdk/" ) # Run Claude with a prompt and automatically print streaming output lines = agent . run ( """/init""" , stream = True )
Practical Use:
the most effective way I've found of using this sdk is by mimicing my actual workflow with claude code which I've found extremely effective.
the workflow is simple: plan the task by exploring the codebase, then implement the plan
#!/usr/bin/env python3 import argparse import os from codesys import Agent # Hardcoded defaults - modify these values directly in the code if desired DEFAULT_WORKING_DIR = os . getcwd () # Use the current working directory by default DEFAULT_USER_MESSAGE = "Your defau
... Read full article.