Skip to main content
praisonai.knowledge, praisonai.memory, and praisonai.eval are compatibility import paths — they forward to praisonaiagents.* through alias_package shims, so older code and tutorials keep working with no change.

Quick Start

1

Old code keeps working

2

Prefer the canonical path for new code

3

Classes are the same object

Import Mapping

Plain import praisonai does not load praisonai.knowledge, praisonai.memory, or praisonai.eval. The shim is installed only when you explicitly run from praisonai.X import ... (or import praisonai.X), which keeps cold start fast.

Best Practices

It is the canonical path — the SDK reference and new tutorials use it.
They are a stable compatibility surface backed by alias_package shims and will keep working, just like the praisonai.bots / praisonai.gateway / praisonai.daemon shims.
Submodules are the same object under both paths, so patching a submodule attribute (e.g. praisonai.memory.adapters.SqliteMemoryAdapter) applies everywhere. The top-level praisonai.memory package is a separate shim that forwards attribute reads, so patch top-level names on praisonaiagents.memory instead. See alias_package shim: lazy vs eager.

Wrapper Internals

Four-tier package model and alias_package shim details

praisonai-bot Migration

The equivalent compat page for bots, gateway, and daemon