Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💎 Letta 1.0 Stable Release #1533

Open
8 of 12 tasks
sarahwooders opened this issue Jul 10, 2024 · 2 comments
Open
8 of 12 tasks

💎 Letta 1.0 Stable Release #1533

sarahwooders opened this issue Jul 10, 2024 · 2 comments

Comments

@sarahwooders
Copy link
Collaborator

sarahwooders commented Jul 10, 2024

Letta (MemGPT) 1.0 Stable Release

We are working to release a stable version of MemGPT in a 1.0 release, which will be intended for production use. The release will include:

  • Refactoring of DB code (e.g. the MetadataStore) to solve scaleability and connection issues (e.g. Add a consistent pool manager #1488)
  • Consistent API interface for the REST API and the Python SDK, such as matching parameters and return types
  • Introduce stable database schemas and alembic migrations for future releases
  • Addition of production-grade testing, logging, and access control

To view progress on the release, you can check the integration branch.

General Cleanup

  • Remove all nonessential code, dead or retired code, unofficially supported code from the codebase
  • Isolate non-core elements into package add-ons
  • Refactor MemGPT configuration to separate out server (e.g. DB) configuration and LLM/embedding configuration

Logging

  • Singular parent logger throughout codebase and removal of all print and printd calls (except for in the CLI)
  • Consistent use of py logging best practices for libraries and applications

Data Schemas

  • Consistent data schemas (e.g. AgentState) across CLI, Python Client, and REST API represented with pydantic models
  • Manage all persisted state (e.g. agent state) in an ORM
  • Supported DB migrations for all future versions using alembic

Auth + Access

  • Removal of authentication and access control (determined to be out-of-scope: developers should implement this within their own applications)

Testing

  • Automated testing for all officially supported integrations (LLM/embedding provider, storage provider) - remove any untested integrations (suggest migrating to adapters or fork)
  • SLA Support:
    • Atomic unit and integration tests (should not depend on a live OpenAI API key for testing)
    • Static code analysis threshold prospector or components of)
  • Full CI run for each patch within all supported minors for Python client (versions 3.10, 3.11, 3.12)

Documentation

Timeline

Planned for mid-October

@sarahwooders sarahwooders changed the title MemGPT Stable 1.0 Release [meta] MemGPT Stable 1.0 Release Jul 10, 2024
@sarahwooders sarahwooders pinned this issue Jul 10, 2024
@sarahwooders sarahwooders changed the title [meta] MemGPT Stable 1.0 Release MemGPT Stable 1.0 Release Jul 10, 2024
@a67793581
Copy link
Contributor

At present, I find that there is a problem with the generation of the open API. It cannot generate the correct parameters. Therefore, I can only manually modify the open API JSON file. The following is the /admin/users interface that I modified. It does not generate the body parameters for the GET request.

    "/admin/users": {
      "get": {
        "tags": [
          "admin"
        ],
        "summary": "Get All Users",
        "description": "Get a list of all users in the database",
        "operationId": "get_all_users_admin_users_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "requestBody": {
          "description": "Parameters to filter users.",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetAllUsersRequest"
              }
            }
          }
        },
      "GetAllUsersRequest": {
        "type": "object",
        "properties": {
          "cursor": {
            "type": "string",
            "format": "uuid",
            "description": "Cursor to which to start the paginated request."
          },
          "limit": {
            "type": "integer",
            "description": "Maximum number of users to retrieve per page."
          }
        },
        "required": [],
        "example": {
          "cursor": "00000000-0000-0000-0000-000000000000",
          "limit": 50
        }
      },

@sarahwooders sarahwooders changed the title 💎 MemGPT Stable 1.0 Release 💎 Letta Stable 1.0 Release Sep 28, 2024
@cpacker cpacker changed the title 💎 Letta Stable 1.0 Release 💎 Letta 1.0 Stable Release Oct 16, 2024
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

No branches or pull requests

3 participants