About Agar

Agar is a powerful open-source, cross-platform toolkit for graphical applications in C / C++ (with bindings to other languages). Designed for ease of integration, Agar follows the philosophy of building the GUI around the application, and not the other way around. Agar applications are easily ported to any platform (including embedded platforms without OS), and Agar itself is free of dependencies. When compiled with optional threads support, Agar's entire documented API is thread-safe.

The AG_Driver interface makes Agar applications portable to a wide variety of platforms, APIs and graphics systems (in either vector or raster mode). Agar applications can work under window-based platforms (such as Xlib, Windows API and MacOS X Quartz/Cocoa), and non-window-based environments (such as an SDL context). Unlike most GUI toolkits, Agar takes maximum advantage of modern graphics hardware where it is available, and goes to great lengths to minimize movement of data between CPU and GPU.

The base Agar library is intended to be as general and compact as possible. Separate libraries targetting more specialized applications include Agar-MATH (optimized math extensions), Agar-VG (vector graphics) and Agar-DEV (developer tools). The Agar-based FreeSG library implements a 2D/3D engine system with constraint solver and computational geometry routines. The Edacious suite provides a set of Agar classes useful in electronics design. New Agar widgets are easily implemented to suit specific applications.

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. Agar is mature, well-maintained and has been growing organically since 2002. The latest release of Agar is version 1.4.1.

The Agar project is sponsored by Hosting and

04/08/2014 The Subversion repository is now accessible via SSL certificate warnings should no longer appear at that address.
05/22/2013 The MinGW and Visual Studio Installation Guides have been updated.
07/29/2012 The Online Manual now displays images; several cosmetic fixes were also applied.
03/20/2011 New stable release: agar-1.4.1 (Landscapes of Frozen Methane) [What's new]
04/16/2010 New stable release: agar-1.4.0 (Landscapes of Frozen Methane) [What's new]
08/30/2009 New stable release: agar-1.3.4 (Pandemonic Incantation) [What's new]
06/03/2009 Due to some changes in the build system, users of the latest development version of Agar (as of r8187) who rely on the make proj feature, must upgrade to BSDBuild-2.5.
10/30/2008 New stable release: agar-1.3.3 (Blackened Soil Remains) [What's new]
03/02/2008 New stable release: agar-1.3.2 (Landscapes Turn To Ash) [What's new]
03/02/2008 Created agar-commits mailing list for automated commit notifications of the Agar source code exlusively. Note that the previous source-diff list will continue to receive notices as well. The new list provides a RSS feed.

[ 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 an #agar channel on (here is a web interface to it).

Contribuer à Agar 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.

"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

Hosted by Eliminate DRM!