From e5ad155df0b596c3500432bea29418cb37464373 Mon Sep 17 00:00:00 2001 From: Zeke Sikelianos Date: Thu, 28 Aug 2025 10:12:14 -0700 Subject: [PATCH] chore: add agents files --- AGENTS.md | 22 ++++++++++++++++++++++ CLAUDE.md | 1 + 2 files changed, 23 insertions(+) create mode 100644 AGENTS.md create mode 120000 CLAUDE.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..76127b1 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,22 @@ +# AGENTS.md + +This file is for code-writing LLM agents like Claude Code, Gemini CLI, Cursor, etc. + +CLAUDE.md symlinks to this file. + +## Overview + +This repository contains code for the Python SDK for Replicate's HTTP API. + +Most of the code is autogenerated from Replicate's public OpenAPI spec. + +When writing custom code, put it in the `lib/` directory whenever possible. + +## Development Commands + +Use the `scripts/` directory to run scripts: + +- `scripts/lint` - Run linting checks (ruff + pyright + mypy) and import verification +- `scripts/format` - Run code formatting (ruff format + doc formatting) +- `scripts/test` - Run full test suite (includes Prism mock server setup and Pydantic v1 compatibility tests) +- `scripts/mock` - Start Prism mock server for testing \ No newline at end of file diff --git a/CLAUDE.md b/CLAUDE.md new file mode 120000 index 0000000..47dc3e3 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1 @@ +AGENTS.md \ No newline at end of file