RubyGems Navigation menu

kbs 0.1.0

A comprehensive Ruby implementation of a Knowledge-Based System featuring: • RETE Algorithm: Optimized forward-chaining inference engine with unlinking optimization for high-performance pattern matching • Declarative DSL: Readable, expressive syntax for rule definition with built-in condition helpers • Blackboard Architecture: Multi-agent coordination with message passing and knowledge source registration • Flexible Persistence: SQLite (durable), Redis (fast), and hybrid storage backends with audit trails • Concurrent Execution: Thread-safe auto-inference mode for real-time processing • AI Integration: Native support for LLM integration (Ollama, OpenAI) for hybrid symbolic/neural reasoning • Production Features: Session management, fact history, query API, statistics tracking Perfect for expert systems, trading algorithms, IoT monitoring, portfolio management, and AI-enhanced decision systems.

Gemfile:
=

install:
=

Versions:

  1. 0.1.0 October 10, 2025 (346 KB)
  2. 0.0.1 October 08, 2025 (63 KB)

Runtime Dependencies (1):

sqlite3 ~> 1.6

Development Dependencies (3):

minitest ~> 5.16
redis ~> 5.0
simplecov ~> 0.22

Owners:

Pushed by:

Authors:

  • Dewayne VanHoozer

SHA 256 checksum:

=

Total downloads 352

For this version 195

Version Released:

License:

MIT

Required Ruby Version: >= 3.2.0

Links: