Skip to content
PyPI

anthropic

The official Python library for the anthropic API

github.com/anthropics/anthropic-sdk-pythonApache-2.0Anthropic46.9M / week4k ยท 887 forks ยท 78 contributors
Compare
Compares against 2.3.0 (latest stable)
Latest Stable2.3.0Oct 23, 2026
Release cadenceDaily
Last releaseOct 23, 2026
Open advisories0
Changelog quality100% curated
GitHub Releases
SecurityYou're on
0.x
STABLE ยท RCPRE-RELEASE2024AprJulOct2025AprJulOct2026AprJulOct

23 older or filtered releases not shown.

Breaking changes and a migration checklist for each major version
anthropic 1 โ†’ 21.17.0 โ†’ 2.3.0Oct 23, 2026 BreakingBreaking1New6Changed1Fixed6Other18anthropic 0.125 โ†’ 10.125.0 โ†’ 1.17.0Oct 20, 2026 BreakingBreaking4Security2Platform1Deprecated3New61Changed8Fixed45Other109anthropic 0.124 โ†’ 0.1250.124.0 โ†’ 0.125.0Aug 19, 2026 SafeNew1anthropic 0.123 โ†’ 0.1240.123.0 โ†’ 0.124.0Aug 19, 2026 SafeNew1anthropic 0.122 โ†’ 0.1230.122.0 โ†’ 0.123.0Aug 19, 2026 BreakingBreaking1New3Fixed5Other2anthropic 0.121 โ†’ 0.1220.121.0 โ†’ 0.122.0Aug 13, 2026 SafeNew1Fixed14Other11anthropic 0.120 โ†’ 0.1210.120.2 โ†’ 0.121.0Aug 7, 2026 BreakingBreaking1New2Changed1Other2anthropic 0.119 โ†’ 0.1200.119.0 โ†’ 0.120.2Jul 28, 2026 SafeNew3Fixed2anthropic 0.118 โ†’ 0.1190.118.0 โ†’ 0.119.0Jul 23, 2026 SafeNew1Fixed1anthropic 0.117 โ†’ 0.1180.117.1 โ†’ 0.118.0Jul 22, 2026 SafeNew1anthropic 0.116 โ†’ 0.1170.116.0 โ†’ 0.117.1Jul 21, 2026 Review neededNew3Changed2Fixed2Other7anthropic 0.115 โ†’ 0.1160.115.1 โ†’ 0.116.0Jul 2, 2026 SafeNew1anthropic 0.114 โ†’ 0.1150.114.0 โ†’ 0.115.1Jul 1, 2026 BreakingBreaking1New1anthropic 0.113 โ†’ 0.1140.113.0 โ†’ 0.114.0Jun 30, 2026 SafeNew1Fixed1anthropic 0.112 โ†’ 0.1130.112.0 โ†’ 0.113.0Jun 29, 2026 Review neededNew1Changed1Fixed1Other1anthropic 0.111 โ†’ 0.1120.111.0 โ†’ 0.112.0Jun 24, 2026 SafeNew3Fixed1anthropic 0.110 โ†’ 0.1110.110.0 โ†’ 0.111.0Jun 18, 2026 Review neededChanged1anthropic 0.109 โ†’ 0.1100.109.2 โ†’ 0.110.0Jun 18, 2026 SafeNew1Fixed3anthropic 0.108 โ†’ 0.1090.108.0 โ†’ 0.109.2Jun 15, 2026 BreakingBreaking1New1Fixed1anthropic 0.107 โ†’ 0.1080.107.1 โ†’ 0.108.0Jun 9, 2026 SafeNew2anthropic 0.106 โ†’ 0.1070.106.0 โ†’ 0.107.1Jun 7, 2026 Review neededChanged1Fixed1anthropic 0.105 โ†’ 0.1060.105.2 โ†’ 0.106.0Jun 5, 2026 Review neededDeprecated1Fixed2Other4anthropic 0.104 โ†’ 0.1050.104.1 โ†’ 0.105.2May 29, 2026 SafeNew2Other2anthropic 0.103 โ†’ 0.1040.103.1 โ†’ 0.104.1May 22, 2026 SafeNew1Fixed1anthropic 0.102 โ†’ 0.1030.102.0 โ†’ 0.103.1May 19, 2026 SafeNew1Fixed1anthropic 0.101 โ†’ 0.1020.101.0 โ†’ 0.102.0May 13, 2026 SafeNew3Other1anthropic 0.100 โ†’ 0.1010.100.0 โ†’ 0.101.0May 11, 2026 SafeNew1Fixed1Other2anthropic 0.99 โ†’ 0.1000.99.0 โ†’ 0.100.0May 6, 2026 SafeNew1Fixed1anthropic 0.98 โ†’ 0.990.98.1 โ†’ 0.99.0May 5, 2026 SafeNew1anthropic 0.97 โ†’ 0.980.97.0 โ†’ 0.98.1May 4, 2026 Review neededNew2Changed1Fixed3Other2anthropic 0.96 โ†’ 0.970.96.0 โ†’ 0.97.0Apr 23, 2026 Review neededNew1Changed2Fixed2Other2anthropic 0.95 โ†’ 0.960.95.0 โ†’ 0.96.0Apr 16, 2026 SafeNew1Other1anthropic 0.94 โ†’ 0.950.94.1 โ†’ 0.95.0Apr 14, 2026 Review neededDeprecated1Changed1anthropic 0.93 โ†’ 0.940.93.0 โ†’ 0.94.1Apr 13, 2026 SafeNew1Fixed2Other2anthropic 0.92 โ†’ 0.930.92.0 โ†’ 0.93.0Apr 9, 2026 SafeNew1anthropic 0.91 โ†’ 0.920.91.0 โ†’ 0.92.0Apr 8, 2026 SafeNew1anthropic 0.90 โ†’ 0.910.90.0 โ†’ 0.91.0Apr 7, 2026 SafeNew1anthropic 0.89 โ†’ 0.900.89.0 โ†’ 0.90.0Apr 7, 2026 SafeNew1Fixed1anthropic 0.88 โ†’ 0.890.88.0 โ†’ 0.89.0Apr 3, 2026 Review neededDeprecated1New1Fixed1anthropic 0.87 โ†’ 0.880.87.0 โ†’ 0.88.0Apr 1, 2026 SafeNew2Other2anthropic 0.86 โ†’ 0.870.86.0 โ†’ 0.87.0Mar 31, 2026 Review neededSecurity4New1Changed1Fixed3anthropic 0.85 โ†’ 0.860.85.0 โ†’ 0.86.0Mar 18, 2026 BreakingPlatform1New1Changed2Fixed2Other1anthropic 0.84 โ†’ 0.850.84.0 โ†’ 0.85.0Mar 16, 2026 Review neededNew1Changed1Fixed3Other5anthropic 0.83 โ†’ 0.840.83.0 โ†’ 0.84.0Feb 25, 2026 Review neededNew1Changed1Other8anthropic 0.82 โ†’ 0.830.82.0 โ†’ 0.83.0Feb 19, 2026 SafeNew1Other1anthropic 0.81 โ†’ 0.820.81.0 โ†’ 0.82.0Feb 18, 2026 SafeFixed2anthropic 0.80 โ†’ 0.810.80.0 โ†’ 0.81.0Feb 18, 2026 SafeNew1anthropic 0.79 โ†’ 0.800.79.0 โ†’ 0.80.0Feb 17, 2026 Review neededNew1Changed1Fixed2Other3anthropic 0.78 โ†’ 0.790.78.0 โ†’ 0.79.0Feb 7, 2026 SafeNew1Fixed1anthropic 0.77 โ†’ 0.780.77.1 โ†’ 0.78.0Feb 5, 2026 SafeNew1anthropic 0.76 โ†’ 0.770.76.0 โ†’ 0.77.1Feb 3, 2026 BreakingBreaking1New2Changed1Fixed3Other4anthropic 0.75 โ†’ 0.760.75.0 โ†’ 0.76.0Jan 13, 2026 BreakingPlatform1New3Changed1Fixed4Other9anthropic 0.74 โ†’ 0.750.74.1 โ†’ 0.75.0Nov 24, 2025 SafeNew1Fixed1Other1anthropic 0.73 โ†’ 0.740.73.0 โ†’ 0.74.1Nov 19, 2025 SafeNew1Fixed3Other3anthropic 0.72 โ†’ 0.730.72.1 โ†’ 0.73.0Nov 14, 2025 SafeNew1anthropic 0.71 โ†’ 0.720.71.1 โ†’ 0.72.1Nov 11, 2025 BreakingPlatform1New1Fixed3Other2anthropic 0.70 โ†’ 0.710.70.0 โ†’ 0.71.1Oct 28, 2025 Review neededDeprecated1New1Changed1Fixed1anthropic 0.69 โ†’ 0.700.69.0 โ†’ 0.70.0Oct 15, 2025 Review neededNew2Changed1Other1anthropic 0.68 โ†’ 0.690.68.2 โ†’ 0.69.0Sep 29, 2025 SafeNew1anthropic 0.67 โ†’ 0.680.67.0 โ†’ 0.68.2Sep 29, 2025 Review neededNew1Changed1Fixed1Other7anthropic 0.66 โ†’ 0.670.66.0 โ†’ 0.67.0Sep 10, 2025 Review neededNew1Changed1Fixed2Other2anthropic 0.65 โ†’ 0.660.65.0 โ†’ 0.66.0Sep 3, 2025 SafeNew1anthropic 0.64 โ†’ 0.650.64.0 โ†’ 0.65.0Sep 2, 2025 Review neededNew1Changed1Fixed2Other10anthropic 0.63 โ†’ 0.640.63.0 โ†’ 0.64.0Aug 13, 2025 Review neededDeprecated1New1anthropic 0.62 โ†’ 0.630.62.0 โ†’ 0.63.0Aug 12, 2025 Review neededNew1Changed1Other3anthropic 0.61 โ†’ 0.620.61.0 โ†’ 0.62.0Aug 8, 2025 SafeNew1anthropic 0.60 โ†’ 0.610.60.0 โ†’ 0.61.0Aug 5, 2025 SafeNew4Other2anthropic 0.59 โ†’ 0.600.59.0 โ†’ 0.60.0Jul 28, 2025 Review neededChanged2Fixed1Other1anthropic 0.58 โ†’ 0.590.58.2 โ†’ 0.59.0Jul 23, 2025 BreakingBreaking1Fixed2anthropic 0.57 โ†’ 0.580.57.1 โ†’ 0.58.2Jul 18, 2025 BreakingPlatform1Changed2Fixed2Other5anthropic 0.56 โ†’ 0.570.56.0 โ†’ 0.57.1Jul 3, 2025 SafeNew1Fixed1Other9anthropic 0.55 โ†’ 0.560.55.0 โ†’ 0.56.0Jul 1, 2025 SafeNew2Other12anthropic 0.54 โ†’ 0.550.54.0 โ†’ 0.55.0Jun 23, 2025 SafeNew4Fixed4Other7anthropic 0.53 โ†’ 0.540.53.0 โ†’ 0.54.0Jun 11, 2025 SafeNew1Fixed1Other3anthropic 0.52 โ†’ 0.530.52.2 โ†’ 0.53.0Jun 9, 2025 Review neededDeprecated1New2Fixed1Other3anthropic 0.51 โ†’ 0.520.51.0 โ†’ 0.52.2Jun 2, 2025 SafeNew1Fixed3Other10anthropic 0.50 โ†’ 0.510.50.0 โ†’ 0.51.0May 7, 2025 Review neededNew1Changed1Fixed2Other5anthropic 0.49 โ†’ 0.500.49.0 โ†’ 0.50.0Apr 22, 2025 BreakingPlatform1New1Changed4Fixed7Other27anthropic 0.48 โ†’ 0.490.48.0 โ†’ 0.49.0Feb 28, 2025 SafeNew1Other2anthropic 0.47 โ†’ 0.480.47.2 โ†’ 0.48.0Feb 27, 2025 SafeNew1Other1anthropic 0.46 โ†’ 0.470.46.0 โ†’ 0.47.2Feb 25, 2025 SafeNew3Fixed3Other3anthropic 0.45 โ†’ 0.460.45.2 โ†’ 0.46.0Feb 18, 2025 Review neededNew1Changed4Fixed4Other4anthropic 0.44 โ†’ 0.450.44.0 โ†’ 0.45.2Jan 27, 2025 SafeNew2Fixed2Other2anthropic 0.43 โ†’ 0.440.43.1 โ†’ 0.44.0Jan 21, 2025 Review neededDeprecated1New1Fixed1Other3anthropic 0.42 โ†’ 0.430.42.0 โ†’ 0.43.1Jan 17, 2025 BreakingBreaking3New2Changed4Fixed4Other10anthropic 0.41 โ†’ 0.420.41.0 โ†’ 0.42.0Dec 17, 2024 SafeNew1Fixed1Other1anthropic 0.40 โ†’ 0.410.40.0 โ†’ 0.41.0Dec 17, 2024 BreakingBreaking1New4Changed2Fixed1Other10anthropic 0.39 โ†’ 0.400.39.0 โ†’ 0.40.0Nov 28, 2024 BreakingBreaking1New1Changed1Fixed4Other9anthropic 0.38 โ†’ 0.390.38.0 โ†’ 0.39.0Nov 4, 2024 BreakingBreaking2Platform1New1Fixed3Other1anthropic 0.37 โ†’ 0.380.37.1 โ†’ 0.38.0Nov 1, 2024 SafeNew1Fixed2Other4anthropic 0.36 โ†’ 0.370.36.2 โ†’ 0.37.1Oct 22, 2024 Review neededNew3Changed1Fixed3Other3anthropic 0.35 โ†’ 0.360.35.0 โ†’ 0.36.2Oct 17, 2024 SafeNew1Fixed4Other7anthropic 0.34 โ†’ 0.350.34.2 โ†’ 0.35.0Oct 4, 2024 Review neededNew3Changed1Fixed2Other11anthropic 0.33 โ†’ 0.340.33.1 โ†’ 0.34.2Sep 4, 2024 Review neededDeprecated1New2Fixed1Other5anthropic 0.32 โ†’ 0.330.32.0 โ†’ 0.33.1Aug 12, 2024 SafeNew1Other11anthropic 0.31 โ†’ 0.320.31.2 โ†’ 0.32.0Jul 29, 2024 BreakingBreaking1New1Changed1Fixed1Other4anthropic 0.30 โ†’ 0.310.30.1 โ†’ 0.31.2Jul 17, 2024 Review neededNew1Changed1Fixed7Other14anthropic 0.29 โ†’ 0.300.29.2 โ†’ 0.30.1Jul 2, 2024 Review neededNew1Changed1Fixed1Other3anthropic 0.28 โ†’ 0.290.28.1 โ†’ 0.29.2Jun 26, 2024 SafeNew1Fixed2Other1anthropic 0.27 โ†’ 0.280.27.0 โ†’ 0.28.1Jun 14, 2024 BreakingBreaking1Other1anthropic 0.26 โ†’ 0.270.26.1 โ†’ 0.27.0May 30, 2024 BreakingBreaking3New2Fixed1Other9anthropic 0.25 โ†’ 0.260.25.9 โ†’ 0.26.1May 21, 2024 SafeNew1Other3anthropic 0.24 โ†’ 0.250.24.0 โ†’ 0.25.9May 14, 2024 Review neededNew1Changed3Fixed2Other18anthropic 0.23 โ†’ 0.240.23.1 โ†’ 0.24.0Apr 9, 2024 SafeNew2anthropic 0.22 โ†’ 0.230.22.1 โ†’ 0.23.1Apr 4, 2024 SafeNew1Other1anthropic 0.21 โ†’ 0.220.21.3 โ†’ 0.22.1Apr 4, 2024 Review neededNew1Changed2Fixed5Other6anthropic 0.20 โ†’ 0.210.20.0 โ†’ 0.21.3Mar 21, 2024 Review neededChanged1Fixed2Other7anthropic 0.19 โ†’ 0.200.19.2 โ†’ 0.20.0Mar 13, 2024 SafeNew1Other1anthropic 0.18 โ†’ 0.190.18.1 โ†’ 0.19.2Mar 11, 2024 SafeNew2Fixed1Other5anthropic 0.17 โ†’ 0.180.17.0 โ†’ 0.18.1Mar 4, 2024 SafeNew1Other2anthropic 0.16 โ†’ 0.170.16.0 โ†’ 0.17.0Mar 4, 2024 Review neededDeprecated1New1Changed1Other10anthropic 0.15 โ†’ 0.160.15.1 โ†’ 0.16.0Feb 13, 2024 BreakingBreaking1New2Other1anthropic 0.14 โ†’ 0.150.14.1 โ†’ 0.15.1Feb 7, 2024 Review neededNew1Changed1Fixed1Other2anthropic 0.13 โ†’ 0.140.13.0 โ†’ 0.14.1Feb 2, 2024 SafeNew1Other1anthropic 0.12 โ†’ 0.130.12.0 โ†’ 0.13.0Jan 31, 2024 SafeNew1Other4anthropic 0.11 โ†’ 0.120.11.0 โ†’ 0.12.0Jan 26, 2024 Review neededChanged1anthropic 0.10 โ†’ 0.110.10.0 โ†’ 0.11.0Jan 23, 2024 SafeNew1Other2anthropic 0.9 โ†’ 0.100.9.0 โ†’ 0.10.0Jan 18, 2024 Review neededNew2Changed2Other7anthropic 0.8 โ†’ 0.90.8.1 โ†’ 0.9.0Jan 8, 2024 SafeNew1Fixed1Other4anthropic 0.7 โ†’ 0.80.7.8 โ†’ 0.8.1Dec 22, 2023 BreakingPlatform1New1Changed1Other7anthropic 0.6 โ†’ 0.70.6.0 โ†’ 0.7.8Dec 13, 2023 Review neededNew1Changed2Fixed9Other22anthropic 0.5 โ†’ 0.60.5.0 โ†’ 0.6.0Nov 9, 2023 Review neededNew5Changed2Fixed2Other10anthropic 0.4 โ†’ 0.50.4.1 โ†’ 0.5.0Oct 18, 2023 SafeNew1Other3anthropic 0.3 โ†’ 0.40.3.11 โ†’ 0.4.1Oct 16, 2023 SafeFixed2Other3anthropic 0.2 โ†’ 0.30.2.10 โ†’ 0.3.11Aug 28, 2023 BreakingBreaking6Security1New5Changed6Fixed4Other21