Skip to the content.

OpenNARS is the open-source implementation of NARS. The reasoner “core” of OpenNARS is under the MIT license. OpenNARS 4 is a new version of OpenNARS with some new features, implemented in Python.

Foundations

A recent overview of NARS can be found here. This introduction of NARS is also recommended.

Narsese as a Formal Language

NARS is a reasoning system, while its knowledge representation is called Narsese 1, which defines the grammar and sentences acceptable by the system.

To interact with NARS, human users should express sentences in Narsese. OpenNARS 4 inherits the same grammar from previous versions. For details, please refer to:

NAL as a Logic of Intelligence

Non-Axiomatic Logic (NAL) is a logic of intelligence in the sense that it “provides a unified explanation for many cognitive functions of the human mind, and is also concrete enough to guide the actual building of a general purpose ‘thinking machine’.” 2 For details, please refer to

NARS

Based on the formal language (Narsese) and the logic theory (NAL), at the topmost level, the newest architecture of NARS involves memory, an inference engine, channels as the interface with the environment, and a control mechanism that organizes inference steps together and modifies the inner states of memory and channels.

The memory of NARS can be viewed as a network of concepts, also called as conceptual network. It is implemented based on some data-structures. OpenNARS 4 adopts the same memory design and basic data-structures (including Concept, Task and Belief, TaskLink and TermLink, etc.) as version 3.

However, OpenNARS 4 adopts different ways to implement the inference engine, and some new features (see here) are added to the control mechanism.

For the moment, there are two alternatives to the inference engine in OpenNARS 4 – a declarative approach to implement the inference engine (though not fully implemented), and the other that is similar to OpenNARS 3.

New Features in OpenNARS 4

Current architecture of NARS Fig. 1. The current architecture of NARS 3

Technical Report

The OpenNARS 4 Technical Report is in progress.

Links


References

  1. Wang, Pei. Non-axiomatic logic: A model of intelligent reasoning. World Scientific, 2013. ↩

  2. Wang, Pei. “The logic of intelligence.” Artificial general intelligence. Berlin, Heidelberg: Springer Berlin Heidelberg, 2007. 31-62. ↩

  3. Wang, Pei, et al. The conceptual design of openNARS 3.1. Technical report, Temple University, Philadelphia, United States, 2020. ↩