About Agar

Agar (or libAgar) is a cross-platform GUI toolkit. Agar provides a base framework and a set of widgets from which graphical applications can be built which run natively under X11, Windows, MacOS X, SDL and others. Agar takes advantage of texture and GPU acceleration wherever available. Agar can also attach to an existing framebuffer, SDL or OpenGL context and operate as a self-contained window-manager. Agar can be compiled with no dependencies (though FreeType is recommended). The API is thread-safe unless documented otherwise.

The set of widgets built into the library are intended to meet the most common needs of applications, but Agar's class registration interface allows new widgets to be deployed quickly. Examples of separate libraries which implement Agar widgets for specific fields include FreeSG, Edacious, ag_math, ag_vg and ag_dev.

Agar is also extensible at the low-level. The low-level API is fully documented (and provides bindings to multiple languages), such that modular drivers can be written which enable Agar applications to work readily under novel platforms and graphics systems.

Agar is free software. Its source code is freely usable and re-usable by everyone under a BSD license, which allows use in commercial applications free of charge. The best available version is 1.5.0.


06/06/2019 06/06/2019:
A quick update of upcoming Agar projects this summer: the 1.6.0 release. A new collaborative website for; manreader quick search. Make the documentation available in print (75% done). New integrated debugger & interface builder. New Ada bindings (CORE 90% done, GUI 60% done). More size optimizations; new ports to small-memory machines.
06/05/2019 06/05/2019:
New Ada bindings to Agar-GUI have been committed to The Repository.
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:
New stable release: agar-1.5.0 (A mild Breeze upon the Brow of the Dead)
[Release Notes]
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:
New stable release: agar-1.4.1 (Landscapes of Frozen Methane)
[Release Notes]

[ Previous announcements ]

Support Agar

Please Donate to: [[address]]

Donation of [[value]] BTC Received. Thank You!