Skip to content
Open
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
71 changes: 71 additions & 0 deletions agents.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# agents.txt - v1.0 open standard for AI agent contribution policy
# https://github.com/barneywohl/agentpress/blob/main/docs/AGENTSTXT_SPEC.md

[meta]
spec_version = 1.0
project = anthropic-sdk-python
maintainer = anthropics/sdk team
contact_for_agents = support@anthropic.com
last_updated = 2026-05-13
ai_disclosure_required = true
license = MIT

[allowed_actions]
read_documentation
read_source_code
read_tests
file_pull_request
add_or_update_examples
fix_typos_in_docs
add_test_cases
run_tests_in_ci
run_linter

[prohibited_actions]
merge_to_main
deploy_to_production
publish_to_pypi
modify_generated_code_without_human_review
edit_openapi_spec_directly
exfiltrate_secrets
impersonation
force_push_to_main
bypass_codeowners

[requires_human_approval]
release_pull_requests
version_bumps
changes_touching = src/anthropic/_client.py, src/anthropic/_models.py, src/anthropic/types/**, src/anthropic/resources/**, .stats.yml, release-please-config.json, .release-please-manifest.json, pyproject.toml
schema_or_api_surface_changes
new_runtime_dependencies
changes_to_ci_workflows = .github/workflows/**

[entry_points]
contributing = CONTRIBUTING.md
quickstart = README.md
architecture = api.md
test_command = ./scripts/test
lint_command = ./scripts/lint
api_spec = api.md

[disclosure]
pr_label = agent-authored
commit_trailer = Co-Authored-By: <agent-name> <agent-email>
require_attribution_in_pr_body = true

[verification]
ci_runner = github_actions
ci_workflow = .github/workflows/ci.yml
expected_exit = 0

[scope]
single_purpose_pr = true

[contact]
escalation = https://github.com/anthropics/anthropic-sdk-python/issues
escalation_email = support@anthropic.com

[fyi]
preferred_pr_size = small
preferred_commit_style = conventional
note = Most of this SDK is auto-generated by Stainless from an OpenAPI spec. The generator will never modify src/anthropic/lib/ or examples/ — those are the safest surfaces for agent contributions, alongside tests and docs. Release PRs are opened by stainless-app[bot]; do not duplicate or race them.