Concurrent and Distributed NARS

68 views
Skip to first unread message

djire...@gmail.com

unread,
Jan 8, 2026, 8:49:31 PMJan 8
to open-nars
Hi everybody,

I've been experimenting with NARS running on the BEAM virtual machine and using the Erlang's Open Telecom Platform (OTP). 

This  gives concurrency and distributed computing (along with fault tolerance) out-of-the-box (of course not without it's own problems). 

I was thinking about writing it up for the next AGI Conf 2026, but wondered if there were any other attempts at a concurrent / distributed NARS I could refer to. I recall there were at least 50 implementations (from a slide presented by someone else) but couldn't find any distributed implementations nor were they mentions in this google group. 

I was considering to heavily cite  "The Event Buffer of OpenNARS" paper which had a parallel architecture to it. 

Appreciate any thoughts. 

Regards,
David

 







 

Pei Wang

unread,
Jan 9, 2026, 8:50:40 AMJan 9
to open...@googlegroups.com
Hi David,

The relevant works I can think of at the moment:
There have been discussions and experiments on multi-agent cooperation and hardware acceleration for OpenNARS and ONA; however, I have not found any publicly available writing or code.

Looking forward to your results!

Regards,

Pei


--
You received this message because you are subscribed to the Google Groups "open-nars" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-nars+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/open-nars/9eca5628-0bc4-42bf-a274-c64a4a057f0fn%40googlegroups.com.

David Ireland

unread,
Jan 9, 2026, 4:04:58 PMJan 9
to open...@googlegroups.com
Thanks Pei.  I hadn't seen Dejan Mitrovic's thesis. 



Patrick Hammer

unread,
Jan 10, 2026, 6:47:17 PMJan 10
to open...@googlegroups.com
Hi David!

The most advanced distributed NARS implementation so far is Tony Lofthouse's ALANN2018, which scales NARS (NAL-1 to NAL-6) to thousands of threads operating concurrently on shared concept memory with high efficiency: https://github.com/opennars/ALANN2018

However, temporal and procedural reasoning are much harder to handle in a distributed architecture, and ALANN2018 did not address them. More generally, these aspects have also long been the weakest parts of NARS conceptually, not just implementation-wise, with many missing and underspecified ideas, making embodied NARS-based divert far from AGI expectations.

I recently tried to push beyond ONA's sensorimotor capabilities, with some success, focusing on improved temporal and event-stream reasoning but with NAL1-8 support: https://github.com/patham9/estream
While limited, NAL-based sensorimotor can still be useful though, as it can allow agents to adapt very effectively when event encodings are at the right abstraction level.

Best regards,
Patrick

David Ireland

unread,
Jan 10, 2026, 8:24:36 PMJan 10
to open...@googlegroups.com
Hi Patrick,

Thanks! I've been meaning to read Tony's book. 

Am I right in assuming the temporal issues in a distributed cluster are because it would be incredibly difficult to synchronise a time stamp? 

Are you also able to elaborate on some of the other weaker aspects?

Thanks.
Regards,
David
 

--
You received this message because you are subscribed to the Google Groups "open-nars" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-nars+...@googlegroups.com.

Patrick Hammer

unread,
Feb 20, 2026, 7:41:59 AMFeb 20
to open-nars
Hi David!

I just saw that you responded, sorry for the delay.
This is mainly a coordination problem. To detect temporal patterns, large numbers of events must be combined during reasoning. In a distributed design where events are routed to separate concepts, this quickly breaks down: coordination becomes difficult, and some form of centralized structure (buffers, FIFOs, etc.) becomes necessary.

Independent of AIKR, the scale of event integration truly matters. At high well-prepared/engineered abstraction levels, relations like <a =/> b> with single events can be useful. But for high-throughput, sensory-like streams, even sequences or parallel conjunctions of ~20 events are often insufficient. Dependencies between events are often way more complex than simply "sequence of events A predicts B", and behavior demands extremely fine-grained, tightly coordinated action, something that is undermined both by distributed system realities and by the constraints of logical descriptions.

Best regards,
Patrick

djire...@gmail.com

unread,
Apr 14, 2026, 5:04:20 AM (11 days ago) Apr 14
to open-nars
Hi all interested, 

With regards to the concurrent / distributed NARS (developed for the BEAM VM i.e. Erlang)  I mentioned in the previous post  - I've been experimenting with distributed  & isolated  concepts (that have standard bag data structures) that are able to communicate to other concepts to share tasks/ beliefs etc.  One of the major bottlenecks presenting is the multiple variable introduction rule taking up most of the messaging bandwidth  - the speed up is substantial however, if I turn it off. 

It's a rule that matches a wide range of premises (hence the problem) but I can see it's practical uses  - On a side note I've been wondering if it also supports a rudimentary NAL-7 layer.

I've noticed OpenNARS for Applications has commented out these rules in the source code and wondered why that is and thought I'd ask.  

I'd appreciate any further thoughts and suggestions as I'm deciding whether to try to hack a solution or go back to the "drawing board". 

Thanks.

Regards,
David
Reply all
Reply to author
Forward
0 new messages