Categories: None [Edit]

kbs

https://rubygems.org/gems/kbs
https://github.com/madbomber/kbs
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.

Total

Ranking: 183,933 of 192,137
Downloads: 1,087

Daily

Ranking: 59,666 of 192,103
Downloads: 2

Depended by

RankDownloadsName
64,70716,256sqa

Depends on

RankDownloadsName
141,193,981,621minitest
82549,362,367redis
99460,193,193simplecov
279179,551,852sqlite3

Owners

#GravatarHandle
1iconmadbomber