Skip to content

Add management client for project operations#15

Open
HQidea wants to merge 2 commits intopowerdrillai:mainfrom
HQidea:feat-project-management
Open

Add management client for project operations#15
HQidea wants to merge 2 commits intopowerdrillai:mainfrom
HQidea:feat-project-management

Conversation

@HQidea
Copy link
Collaborator

@HQidea HQidea commented Jan 30, 2026

Motivation

The library needs to support project management operations within organizations through the Mem0 API.
Users require the ability to create, retrieve, update, and delete projects programmatically.

Modifications

  • Add ManagementClient class for synchronous project management operations in memorylake/mem0/extend/management.py.
  • Add AsyncManagementClient class for asynchronous project management operations with async context manager support.
  • Implement CRUD operations: create_project, get_project, list_projects, update_project, and delete_project in both clients.
  • Support custom httpx client injection for both sync and async clients to allow connection pooling and custom configurations.
  • Export ManagementClient and AsyncManagementClient from memorylake.mem0 module for easy access.
  • Bump version from 0.1.1 to 0.1.2 to reflect the new feature addition.

@codecov
Copy link

codecov bot commented Jan 30, 2026

Codecov Report

❌ Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
memorylake/mem0/__init__.py 0.00% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant