Agda
Documentation and reference for the Agda dependently typed programming language and proof assistant

What it is
Agda is a dependently typed functional programming language and proof assistant designed for writing verified software and formalizing mathematics. The documentation site provides comprehensive coverage of the language from installation through advanced type theory features. It serves as the primary reference for developers and researchers working with dependent types.
The site organizes content into major sections including a getting started guide with installation instructions and a hello world example, an extensive language reference covering over forty topics such as cubical type theory, inductive families, universe polymorphism, and the foreign function interface, and a tools section detailing the Emacs mode, compilers, debugging facilities, and library management. Versioned documentation is maintained for every release from v2.5.2 through the latest v2.9.0, plus nightly builds.
Researchers and programmers using Agda for theorem proving, certified programming, or type theory experiments will find detailed explanations of core concepts like pattern matching, termination checking, irrelevance, and the module system. The reference also documents pragmas, built-ins, and the reflection API for metaprogramming. Tutorials and a taste of Agda help newcomers understand the syntax and proof style before diving into the reference.
Contributors can access guidelines for improving the documentation itself, while the team and license page clarifies the project's governance. The site is built with Sphinx and hosted on Read the Docs, offering PDF downloads, full-text search, and a version switcher for navigating between releases. This makes it a complete knowledge hub for anyone learning or using Agda in academic or industrial settings.
This description was generated by AI from the site's public content and may contain errors.
What you can do there
- Browse versioned language reference documentation
- Follow getting started guides and tutorials
- Explore tooling including Emacs mode and compilers
- Search full-text across all documentation versions
- Download PDF versions for offline reading
Who it's for
Programming language researchers, formal verification engineers, type theory students, and developers building certified software
Frequently asked questions about agda.readthedocs.io
›What is Agda used for
Agda is used for writing mathematically verified programs and formalizing proofs using dependent type theory. It functions as both a programming language and a proof assistant.
›How do I install Agda
Installation instructions are provided in the getting started section, typically via Haskell package managers like Cabal or Stack, with platform-specific notes for Linux, macOS, and Windows.
›Which editor should I use with Agda
The official documentation emphasizes Emacs with the Agda mode, which provides interactive development, syntax highlighting, and proof assistance. Other editors have community support.
›What are the main language features
Key features include dependent types, inductive and coinductive families, universe polymorphism, cubical type theory, pattern synonyms, instance arguments, and a rich module system with parameterized modules.
›Can I compile Agda programs to executable code
Yes, Agda supports compilation via multiple backends including GHC Haskell, JavaScript, and a built-in interpreter, allowing verified programs to be run as native executables.
›Where can I find tutorials for beginners
The getting started section includes a hello world example, a taste of Agda demonstrating basic syntax, and a curated list of external tutorials for deeper learning.
›How do I contribute to the documentation
A contribute section provides guidelines for improving the documentation, which is built with Sphinx and hosted on Read the Docs, accepting pull requests from the community.
