| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
An AI agent CLI built on the Anthropic Messages API with multi-tool and skill support. Supports interactive REPL and single-prompt modes. The root pyccode.py is a 5-line thin wrapper; all logic lives in the pyccode/ package.
git clone https://github.com/SutraHsing/pyccode.git
cd pyccode
uv syncRequires Python >=3.12.
# Interactive REPL (type q/quit/exit to stop)
python pyccode.py
# Single task
python pyccode.py "your task here"Create a .env file:
ANTHROPIC_BASE_URL=https://your-api-endpoint.com/api/anthropic
ANTHROPIC_API_KEY=your-api-key-here
MODEL_NAME=claude-sonnet-4-5-20250929 # optional, defaults to this
ANTHROPIC_TIMEOUT=600 # optional, seconds (default 600)| Tool | Description |
|---|---|
| bash | Execute shell commands (git, ls, find, grep, python, pip, etc.) |
| read | Read file contents with line numbers, supports offset/limit |
| write | Write content to files, creates parent directories if needed |
| edit | Edit files by replacing exact text matches |
| TodoWrite | Manage a task list with pending/in_progress/completed states |
| skill | Load a skill's full markdown instructions and skill directory path by name |
| run_subagent | Spawn an isolated sub-agent for complex subtasks |
Add skills under skills/<skill-name>/SKILL.md. Each skill file must start with YAML frontmatter:
---
name: example-skill
description: Use when the agent needs this specific guidance.
---
# Example Skill
Detailed instructions go here.When skills are present, pyccode injects their names and descriptions into the first user message. The agent can then call the skill tool to load the full instructions and the skill directory path, which allows reference files beside SKILL.md to be used as needed.
| Back | FazBrowse Home | New Git URL |