Repository navigation
Libraries and extensions
-
lib_pln: PLN implementation running on PeTTa. See Smokes.metta for usage examples.
-
lib_nars: Basic NAL1-6 NARS implementation.
-
lib_llm: OpenAI API for programmatic GPT usage in MeTTa. Example: llm_cities.metta
-
lib_localvlm: library for LLM/VLM interaction with self-hosted models and embedding vector calculation, compatible with the scalable storage&retrieval via FAISS. See localvlm_example.metta for usage examples.
-
lib_vibespace: library allowing a LLM to see the atom space content and have MeTTa code specified as natural language prompts which are executed at program execution time. See vibespace_example.metta for usage examples.
This is a growing set of libraries one can import via git-import!:
-
lib_snapshot: this library snapshots intermediate program states to disk for later resume with a new swipl process instance. See snapshot-example for usage examples.
-
petta_lib_logger: logger library for PeTTa to log timestamped messages into a file at various log levels. See logger_example.metta for usage examples.
-
petta_lib_easypy: python import library which differently than
import!that requirespy-callafter Python import, creates wrapper functions, that way the Python functions can be called directly from MeTTa as if they were MeTTa code. See easypy_example.metta for usage. -
MeTTa-Library-Pack: very large library from MesTTo including string manipulation, graph, space, network management and much more. Note that it is only partially compatible with PeTTa and may ideally require TSMeTTa.
If you need atom spaces with different algorithmic properties:
-
faiss_ffi: Atom-tagged vector spaces: FAISS spaces setup
-
mork_ffi: Pathmap-based atom spaces: MORK spaces setup
-
lib_builtin_types: Type information for all core functions
-
lib_datastructures: Commonly used data structures
-
lib_import: Scalable import mechanisms and package management
-
lib_spaces: Convenience functions for Atom Space interaction
-
lib_combinatorics: Combinatorial constructs and generators
-
lib_he: Compatibility layer for Hyperon-Experimental code
-
lib_patrick: General function composition, as-pattern, and loops constructs.
-
lib_roman:: Rich Higher-Order Function library.