In-Memory Storage
Use in-memory storage for testing and development.
Kern supports using In-Memory storage with the InMemoryDb class. By doing this, you will be able to use all features that depend on having a database, without having to set one up.
Warning
Using the In-Memory storage is not recommended for production applications. Use it for demos, testing and any other use case where you don't want to setup a database.
Usage
1from kern.agent import Agent2from kern.db.in_memory import InMemoryDb34# Setup in-memory database5db = InMemoryDb()67# Create agent with database8agent = Agent(db=db)