Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions CLAUDE.md