A comprehensive collection of Java libraries for logical aspects of artificial intelligence and knowledge representation
Home Libraries Downloads Documentation Newsletter Web Interfaces Contact

Brought to you by

Supported by

TweetyProject is a collection of various Java libraries that implement approaches to different areas of artificial intelligence. In particular, it provides a general interface layer for doing research and working with different knowledge representation formalisms such as classical logics, conditional logics, probabilistic logics, and argumentation. Furthermore, TweetyProject contains libraries for dealing with agents, multi-agent systems, and dialog systems for agents, as well as belief revision, preference reasoning, preference aggregation, and action languages. A series of utility libraries that deal with e.g. mathematical optimization complement the collection.

For technical documentation of using the libraries please have a look at the online JavaDoc API.

All parts of the TweetyProject available on this website are licensed under the GNU Lesser General Public License version 3 (beginning with TweetyProject version 1.6, the versions before are licensed under the GNU General Public License version 3) except when this is noted otherwise. Use and modification of the libraries is encouraged but please give credit by referring to this website. Please note that some libraries make also use of other third-party libraries such as Apache Commons.

This website and TweetyProject are under constant development. In particular, a manual for using TweetyProject and usage examples are in preparation. Please come back frequently to check for updates.

Maven dependency for the complete collection:

If you are only interested in specific libraries please see the Libraries section for the individual dependencies. If you are not a Maven user you can also download JARs in the Downloads section.

Subscribe to our newsletter to receive updates on new releases

  • 2019/01/23: New release TweetyProject 1.12. Changelog:
    • New libraries: none
    • New functionalities:
      • Complete ASP library overhaul (net.sf.tweety.lp.asp); added support for ASPCore2 input syntax; added more solvers and tests
      • Complete DL library overhaul (net.sf.tweety.logics.dl); added syntax and semantic classes, and parser
      • Added writer for ASPIC files (net.sf.tweety.arg.aspic.writer.AspicWriter)
      • Added new reasoner for ASPIC (net.sf.tweety.arg.aspic.reasoner.DirectionalReasoner)
      • Added (naive) algorithm to compute betweenness centrality in graphs
    • Minor changes:
      • Added further postulates for automatic postulate evaluation of inconsistency measures (
      • Refactored inference modes for all reasoners (see net.sf.tweety.commons.InferenceMode)
      • Performance improvements for DeLP reasoner (net.sf.tweety.arg.delp.reasoner.DelpReasoner)
      • Overhauled examples for ASPIC (net.sf.tweety.arg.aspic.examples)
      • Bugfixes probo reasoner (net.sf.tweety.arg.dung.reasoner.ProboReasoner)
      • Unified naming of brute-force/naive reasoners (all are now prefixed by "Simple")
      • general bugfixing
  • 2018/10/22: TweetyProject now has a newsletter that informs about new releases and other interesting information. Subscribe now!
  • 2018/08/07: Added Example code and resources.

Last updated 23.01.2019, Matthias Thimm