The client.projects namespace allows you to manage the lifecycle of projects. A Project serves as a strict security and data boundary; memories from one project cannot be accessed by another.
Project Lifecycle
create
Initializes a new project within an organization. If the project already exists, it returns the existing project details.
project = client.projects.create( org_id="my_org", project_id="my_project", description="Main memory store for our customer support agent", metadata={"environment": "production"})
Parameter
Type
Description
org_id
str
Organization identifier.
project_id
str
Unique project identifier within the org.
description
str
Optional text describing the project.
metadata
dict
Optional key-value pairs for organizational labeling.