AI research test harness (Blackboard system with XMPP interface)
A test harness for AI research experiments that uses XMPP as a convenient interface to interact with a blackboard-system-based AI, covering symbolic and neuro-symbolic approaches. The XMPP handling is isolated into a single deployable unit, while the blackboard components are Spring-managed beans wired together in a Spring Boot application that exposes a REST API. The whole system is Dockerized with a docker compose file so it can be started with a single command. Planned work includes integrating Apache Camel into the XMPP receiver for complex message routing, possibly adopting the OpenAI API model to allow swappable AI backends, and running parallel tests.
What it addresses
The original code was written in an exploratory programming style with XMPP logic tightly coupled to the blackboard system and no dependency injection, making it hard to extend, reuse, or modify; the rework decouples the components so AI backends can be swapped out and parallel tests run.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
AI research test harness (Blackboard system with XMPP interface)
A test harness for AI research experiments that uses XMPP as a convenient interface to interact with a blackboard-system-based AI, covering symbolic and neuro-symbolic approaches. The XMPP handling is isolated into a single deployable unit, while the blackboard components are Spring-managed beans wired together in a Spring Boot application that exposes a REST API. The whole system is Dockerized with a docker compose file so it can be started with a single command. Planned work includes integrating Apache Camel into the XMPP receiver for complex message routing, possibly adopting the OpenAI API model to allow swappable AI backends, and running parallel tests.
Problem: The original code was written in an exploratory programming style with XMPP logic tightly coupled to the blackboard system and no dependency injection, making it hard to extend, reuse, or modify; the rework decouples the components so AI backends can be swapped out and parallel tests run.
Posted by @mindcrime · Original source ↗
Source text · @mindcrime · · Source ↗
I've spent most of the weekend working on some "test harness" code for doing AI research.