About Agar

Agar (or libAgar) is a cross-platform GUI toolkit. It provides a base framework plus a standard library of widgets from which GUI applications can be built. Applications work under X11, Windows, MacOS, SDL 1.2 and others. Agar takes advantage of texture and GPU acceleration wherever available. Agar can also attach to an existing framebuffer, SDL or GL context and operate as a self-contained window-manager.

Agar includes a standard library of general-purpose widgets which is extensible. New widgets can be added and complex user interface elements may be realized in few lines of code. The class registration interface simplifies the process. Examples of external packages which include Agar widgets for specific fields include ag_math, ag_sg, ag_sk, ag_vg and Edacious,

Agar is also extensible at the low-level. The low-level API is documented such that modular drivers can be written which enable applications to work seamlessly under many platforms and graphics systems.

Agar is free software. Its source code is freely usable and re-usable by everyone under a 2-Clause BSD License. Core fonts are released under the OFL.

The best available version is v1.6.0.


05/16/2020 05/16/2020:
Released agar v1.6.0 "Nullability Complete" (ChangeLog)
04/23/2020 04/23/2020:
Updated official public KEYS file.
02/03/2020 02/03/2020:
Created the LibAgar Discord. The channel is linked by bot to #libagar on Freenode IRC.
09/01/2019 09/01/2019:
Updated Mat's Perl bindings (p5-Agar).
08/09/2019 08/09/2019:
Set up the new Patreon at (or
06/05/2019 06/05/2019:
Updated Ada bindings for CORE (the GUI base is almost complete, and widget APIs remain). Mise à jour des liaisons Ada de CORE (la base de GUI est presque complétée, les APIs spécifiques aux widgets sont encore à faire).
05/28/2019 05/28/2019:
Added link to the official Github page:
11/26/2018 11/26/2018:
Updated: Installing Agar on Linux.
11/14/2018 11/14/2018:
Added: valgrind suppression file.
07/31/2017 07/31/2017:
The Agar SVN repository is now automatically mirrored on Github at:
03/25/2016 03/25/2016:
Released agar v1.5.0 "A mild Breeze upon the Brow of the Dead" (ChangeLog)
04/08/2014 04/08/2014:
The Subversion repository is now accessible via
05/22/2013 05/22/2013:
The MinGW and Visual Studio Installation Guides have been updated.
07/29/2012 07/29/2012:
The Online Manual now displays images; several cosmetic fixes were also applied.
03/20/2011 03/20/2011:
Released agar v1.4.1 "Landscapes of Frozen Methane" (ChangeLog)

[ Previous announcements ] ElectronTubeStore