Agda: A dependently typed functional programming language and proof assistant

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.


Agda is a dependently typed functional programming language: It has inductive families, which are similar to Haskell's GADTs, but they can be indexed by values and not just types. It also has parameterised modules, mixfix operators, Unicode characters, and an interactive Emacs interface (the type checker can assist in the development of your code).

Agda is also a proof assistant: It is an interactive system for writing and checking proofs. Agda is based on intuitionistic type theory, a foundational system for constructive mathematics developed by the Swedish logician Per Martin-Löf. It has many similarities with other proof assistants based on dependent types, such as Coq, Epigram and NuPRL.

This package includes both a command-line program (agda) and an Emacs mode. If you want to use the Emacs mode you can set it up by running agda-mode setup (see the README).

Note that the Agda package does not follow the package versioning policy, because it is not intended to be used by third-party packages.

[Skip to ReadMe]


Versions2.2.0, 2.2.2, 2.2.4, 2.2.6, 2.2.8, 2.2.10, 2.3.0,, 2.3.2,,, 2.4.0,,, 2.4.2,,,,,, 2.5.1,,, 2.5.2, 2.5.3, 2.5.4,,, 2.6.0,, 2.6.1, 2.6.1,,
Dependenciesaeson (>= && <1.5), Agda, array (>= && <0.6), async (==2.2.*), base (>= && <4.15), binary (>= && <0.9), blaze-html (>=0.8 && <0.10), boxes (>=0.1.3 && <0.2), bytestring (>= && <0.11), containers (>= && <0.7), data-hash (>= && <0.3), deepseq (>= && <1.5), directory (>= && <1.4), edit-distance (>= && <0.3), equivalence (>=0.3.2 && <0.4), exceptions (>=0.8 && <0.11), filepath (>= && <1.5), geniplate-mirror (>= && <0.8), ghc-compact (==0.1.*), gitrev (>=1.3.1 && <2.0), hashable (>= && <1.4), hashtables (>= && <1.3), haskeline (>= && <0.9), ieee754 (>=0.7.8 && <0.9), mtl (>=2.2.1 && <2.3), murmur-hash (==0.1.*), pretty (>= && <1.2), process (>= && <1.7), regex-tdfa (>= && <1.4), split (>= && <0.2.4), stm (>=2.4.4 && <2.6), strict (>=0.3.2 && <0.4), template-haskell (>= && <2.17), text (>= && <1.3), text-icu (==0.7.*), time (>= && <1.10), transformers (== || == || ==, unordered-containers (>= && <0.3), uri-encode (>= && <1.6), Win32 (>= && <2.7), zlib (==0.6.*) [details]
AuthorAgda 2 was originally written by Ulf Norell, partially based on code from Agda 1 by Catarina Coquand and Makoto Takeyama, and from Agdalight by Ulf Norell and Andreas Abel. Agda 2 is currently actively developed mainly by Andreas Abel, Guillaume Allais, Jesper Cockx, Nils Anders Danielsson, Philipp Hausmann, Fredrik Nordvall Forsberg, Ulf Norell, Víctor López Juan, Andrés Sicard-Ramírez, and Andrea Vezzosi. Further, Agda 2 has received contributions by, amongst others, Stevan Andjelkovic, Marcin Benke, Jean-Philippe Bernardy, Guillaume Brunerie, James Chapman, Liang-Ting Chen, Dominique Devriese, Péter Diviánszky, Olle Fredriksson, Adam Gundry, Daniel Gustafsson, Kuen-Bang Hou (favonia), Patrik Jansson, Alan Jeffrey, Wolfram Kahl, Wen Kokke, Fredrik Lindblad, Francesco Mazzoli, Stefan Monnier, Darin Morrison, Guilhem Moulin, Nicolas Pouillard, Nobuo Yamashita, Christian Sattler, and Makoto Takeyama and many more.
MaintainerUlf Norell <>
CategoryDependent types
Home page
Bug tracker
Source repositoryhead: git clone
this: git clone v2.6.1)
Executablesagda-mode, agda
Uploaded2020-03-16T05:05:05Z by AndresSicardRamirez





Use cpphs instead of cpp.


Enable debugging features that may slow Agda down.


Enable the --count-clusters flag. (If enable-cluster-counting is False, then the --count-clusters flag triggers an error message.)


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainers' corner

For package maintainers and hackage trustees

Readme for Agda-2.6.1

[back to package description]

Agda 2

Hackage version Stackage version Travis Status Stack Build Status via GH Actions Appveyor Status Documentation Status Join the chat at <a href=""></a>

The official Agda logo

Note that this README is only about Agda, not its standard library. See the Agda Wiki for information about the library.


Getting Started

Contributing to Agda