About Agar

LibAgar is a cross-platform GUI system and framework. It provides a programming platform and a standard toolkit of widgets from which high-performance graphical applications can be built.

Agar applications work under X Windows, MS Windows, MacOS, SDL (1.2 and 2.0) and others. Agar is thread-safe and takes advantage of texture and GPU acceleration where available. Agar can also attach to an existing software framebuffer, SDL display or OpenGL context and operate as a self-contained window-manager.

Agar contains a standard library of general-purpose widgets. The library of widgets can be extended by Class Registration. New Agar widgets can be easily implemented from user code or third-party libraries. Examples of external libraries which extend Agar: Agar-Math, Agar-SG, Agar-SK, Agar-VG and Edacious.

Agar is also extensible and documented at the low-level. Its modular driver system allows applications to work seamlessly under a multitude of platforms, programming environments and graphics systems.

Agar is open-source software. Its source code is freely usable and re-usable by everyone under a permissive BSD License and its Core Fonts are released under the OFL. The best available version is v1.6.0.


01/19/2023 01/19/2023
The performance of the Subversion Server has been improved thanks to recent WebDAV module updates.
12/20/2022 12/20/2022
The quality of the Printable Version of the manual has been improved.
12/12/2022 12/12/2022
SDL2 support is in beta testing phase and will be included in the upcoming 1.7.0 release.
06/04/2021 06/04/2021
New tutorial: 1. Minimal "Hello world".
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
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
06/05/2019 06/05/2019
Updated Ada bindings for CORE (the GUI base is almost complete, and widget APIs remain).
05/28/2019 05/28/2019
Added link to the official Github page:
11/26/2018 11/26/2018
Updated: Installing Agar on Linux.

[ Previous announcements ] ElectronTubeStore