$npx skillfedfor your agent

autograd

Efficiently computes derivatives of NumPy code.

Worth itPyPI Scientific/EngineeringReleased Jul 20265.6M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — autograd-1.9.1-py3-none-any.whl
v1.9.1 · released 2026-07-02 · Python >=3.10 · 1 runtime deps: numpy

Yes. Autograd is actively maintained, has no known vulnerabilities, installs with low friction, and is permissively licensed. It is a solid choice if you need automatic differentiation for NumPy-based code and prefer a lightweight, pure-Python solution over heavier frameworks.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction install with a single runtime dependency (numpy).
  • Actively maintained with recent releases; last commit 2026-08-10.
  • Supports current Python versions (3.10–3.14).

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely in proprietary and open-source projects with minimal restrictions.

last release 2026-07-02 (43 days) · last repo commit 2026-08-10 · 7,523 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 5,606,457 downloads/mo, #2,063 on PyPI

Verify before relying

pip install autograd

import autograd.numpy as np
from autograd import grad

def f(x):
    return x**3

grad_f = grad(f)
print(grad_f(2.0))  # Computes df/dx at x=2.0
  • Whether SciPy integration (optional dependency) is required for your use case or only for specific features.
  • Performance characteristics compared to other autodiff frameworks for your problem scale.
Same gist for agents: .md · .json

What it is and what it does

Autograd is a library that automatically computes derivatives of Python and NumPy functions without requiring you to write gradient code by hand. It handles a large subset of Python's features—loops, conditionals, recursion, closures—and can differentiate functions multiple times over. The library supports both reverse-mode differentiation (efficient for scalar-valued functions with many inputs, as in neural networks) and forward-mode differentiation, and these can be composed arbitrarily.

The main use case is gradient-based optimization: you define a function in NumPy, wrap it with autograd's grad function, and get back a function that computes its gradient. This is particularly useful for training neural networks, Bayesian inference, and other machine learning tasks where you need gradients but don't want to manually implement backpropagation. Autograd provides a thin wrapper around NumPy that tracks operations for differentiation.

Use it for

  • Training neural networks by computing gradients for backpropagation without manual derivative code.
  • Implementing Bayesian inference methods like HMC or variational inference that require gradients of log-probability functions.
  • Optimizing functions where analytical gradients are tedious or error-prone to derive by hand.
  • Computing higher-order derivatives (e.g., Hessians) for second-order optimization methods.
  • Prototyping machine learning models in pure Python/NumPy with automatic gradient computation.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Autograd is actively maintained, has no known vulnerabilities, installs with low friction, and is permissively licensed. It is a solid choice if you need automatic differentiation for NumPy-based code and prefer a lightweight, pure-Python solution over heavier frameworks.

Install

autograd on PyPI

Before you install

Low friction install with a single runtime dependency (numpy). Actively maintained with recent releases; last commit 2026-08-10. Supports current Python versions (3.10–3.14).

License in practice

MIT license is permissive; you can use, modify, and distribute this package freely in proprietary and open-source projects with minimal restrictions.

Quickstart

pip install autograd

import autograd.numpy as np
from autograd import grad

def f(x):
    return x**3

grad_f = grad(f)
print(grad_f(2.0))  # Computes df/dx at x=2.0

Verify before relying

  • Whether SciPy integration (optional dependency) is required for your use case or only for specific features.
  • Performance characteristics compared to other autodiff frameworks for your problem scale.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
numpy
MaintenanceActively maintained 43 days since the last release
Last repo commit
First released
Downloads5,606,457 / month, #2,063 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: Information TechnologyIntended Audience :: Science/ResearchProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering

Evidence: autograd-1.9.1-py3-none-any.whl

Tags

Capabilities
automatic differentiation pythoncompute gradients numpybackpropagation libraryderivative calculationgradient-based optimizationneural network trainingreverse-mode differentiation
Topics
autodiffgradient-computationoptimization
PyPI keywords
Automatic differentiationNumPyPythonSciPybackpropagationgradientsmachine learningneural networksoptimization

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “compute gradients numpy”

  • autogradAutograd automatically computes derivatives of Python and NumPy code,…
  • numdifftoolsComputes numerical derivatives, gradients, Jacobians, Hessians, and…
  • nevergradNevergrad is a gradient-free optimization library that finds optimal…

Give your agent the search over MCP, or paste the wish link into any chat.

More Scientific/Engineering packages

numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
pandas Worth it
PyPI · Scientific/Engineering · released Jul 2026

pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.

BSD-3-Clausecompiled wheel · 3.11+
769.1Mdownloads / mo
scipy Worth it
PyPI · Libraries · released Jun 2026

scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.

BSD-3-Clausecompiled wheel · 3.12+
449.0Mdownloads / mo
scikit-learn Worth it
PyPI · Software Development · released Jun 2026

scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.

Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.

BSD-3-Clausecompiled wheel · 3.11+
235.5Mdownloads / mo
dill Worth it
PyPI · Software Development · released Jan 2026

dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.

BSD-3-Clausepure Python · 3.9+
208.1Mdownloads / mo
multiprocess Worth it
PyPI · Software Development · released Jan 2026

Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.

Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.

BSD-3-Clausepure Python · 3.9+
202.7Mdownloads / mo

See also autograd-gamma · numdifftools · torch · findiff · pytorch_revgrad · jax · torchdiffeq · better-optimize · tinygrad · sparsediffpy