About Agar

Agar (libAgar) is a cross-platform GUI toolkit. Agar provides a base framework and a collection of GUI widgets from which GUI applications can be built. Agar can be styled and themed using a CSS-style engine.

A pure Agar application will work natively under X11, Windows, MacOS X and SDL. Agar takes advantage of hardware acceleration when it is available. Agar may also attach to an existing SDL or OpenGL context and operate as a self-contained window manager for the application. Agar will work with zero dependencies (although FreeType is recommended for best font quality). Agar is compact, efficient and fully thread-safe.

The selection of widgets included in Agar is intended to address the needs of typical applications. New Agar widgets are easily implemented using a C/C++ class registration interface. Separate libraries targetting more specialized applications include FreeSG, Edacious, Agar-MATH, Agar-VG and Agar-DEV.

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 release is 1.5.0.

The Agar project is sponsored by Hosting and

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]
04/16/2010 04/16/2010:
New stable release: agar-1.4.0 (Landscapes of Frozen Methane)
[Release Notes]
08/30/2009 08/30/2009:
New stable release: agar-1.3.4 (Pandemonic Incantation)
[Release Notes]

[ Previous announcements ]

How to get help

If you have any questions, comments or suggestions, don't hesitate to contact the maintainer. There are also forums and the #agar channel on (web interface).

Your feedback and contributions help us build a better library with better documentation. Don't hesitate to send us your bug reports and enhancement/feature requests with Bugzilla.

You do not need to purchase a license in order to use Agar in commercial applications and we do not require any kind of compensation, but if you find Agar useful, we hope that you will sign up for our technical support service.


"A display connected to a digital computer gives us a chance to gain familiarity with concepts not realizable in the physical world. It is like a looking glass into a mathematical wonderland." -- Ivan Sutherland

(c) 2016 Hypertriton Inc.
Hosted on OpenBSD servers at in NYC.
Sponsored by
Hosted by Sponsored by