letta-nightly 0.5.0.dev20241015104156__py3-none-any.whl → 0.5.0.dev20241017104103__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of letta-nightly might be problematic. Click here for more details.
- letta/agent.py +170 -16
- letta/client/client.py +186 -42
- letta/client/utils.py +15 -0
- letta/constants.py +1 -1
- letta/functions/functions.py +1 -1
- letta/functions/schema_generator.py +3 -2
- letta/main.py +6 -4
- letta/metadata.py +27 -3
- letta/schemas/agent.py +7 -3
- letta/schemas/memory.py +37 -0
- letta/schemas/tool.py +4 -0
- letta/server/rest_api/routers/openai/assistants/threads.py +1 -1
- letta/server/rest_api/routers/v1/agents.py +43 -0
- letta/server/rest_api/routers/v1/sources.py +28 -1
- letta/server/rest_api/routers/v1/tools.py +1 -1
- letta/server/server.py +157 -94
- letta/server/static_files/assets/{index-dc228d4a.js → index-d6b3669a.js} +59 -59
- letta/server/static_files/index.html +1 -1
- letta_nightly-0.5.0.dev20241017104103.dist-info/METADATA +203 -0
- {letta_nightly-0.5.0.dev20241015104156.dist-info → letta_nightly-0.5.0.dev20241017104103.dist-info}/RECORD +23 -23
- letta_nightly-0.5.0.dev20241015104156.dist-info/METADATA +0 -105
- {letta_nightly-0.5.0.dev20241015104156.dist-info → letta_nightly-0.5.0.dev20241017104103.dist-info}/LICENSE +0 -0
- {letta_nightly-0.5.0.dev20241015104156.dist-info → letta_nightly-0.5.0.dev20241017104103.dist-info}/WHEEL +0 -0
- {letta_nightly-0.5.0.dev20241015104156.dist-info → letta_nightly-0.5.0.dev20241017104103.dist-info}/entry_points.txt +0 -0
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
</script>
|
|
32
|
-
<script type="module" crossorigin src="/assets/index-
|
|
32
|
+
<script type="module" crossorigin src="/assets/index-d6b3669a.js"></script>
|
|
33
33
|
<link rel="stylesheet" href="/assets/index-3ab03d5b.css">
|
|
34
34
|
</head>
|
|
35
35
|
<body>
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: letta-nightly
|
|
3
|
+
Version: 0.5.0.dev20241017104103
|
|
4
|
+
Summary: Create LLM agents with long-term memory and custom tools
|
|
5
|
+
License: Apache License
|
|
6
|
+
Author: Letta Team
|
|
7
|
+
Author-email: contact@letta.com
|
|
8
|
+
Requires-Python: >=3.10,<3.13
|
|
9
|
+
Classifier: License :: Other/Proprietary License
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Provides-Extra: autogen
|
|
15
|
+
Provides-Extra: dev
|
|
16
|
+
Provides-Extra: external-tools
|
|
17
|
+
Provides-Extra: milvus
|
|
18
|
+
Provides-Extra: ollama
|
|
19
|
+
Provides-Extra: postgres
|
|
20
|
+
Provides-Extra: qdrant
|
|
21
|
+
Provides-Extra: server
|
|
22
|
+
Provides-Extra: tests
|
|
23
|
+
Requires-Dist: alembic (>=1.13.3,<2.0.0)
|
|
24
|
+
Requires-Dist: autoflake (>=2.3.0,<3.0.0) ; extra == "dev"
|
|
25
|
+
Requires-Dist: black[jupyter] (>=24.2.0,<25.0.0) ; extra == "dev"
|
|
26
|
+
Requires-Dist: chromadb (>=0.4.24,<0.5.0)
|
|
27
|
+
Requires-Dist: composio-core (>=0.5.28,<0.6.0) ; extra == "external-tools"
|
|
28
|
+
Requires-Dist: composio-langchain (>=0.5.28,<0.6.0) ; extra == "external-tools"
|
|
29
|
+
Requires-Dist: crewai (>=0.41.1,<0.42.0) ; extra == "external-tools"
|
|
30
|
+
Requires-Dist: crewai-tools (>=0.8.3,<0.9.0) ; extra == "external-tools"
|
|
31
|
+
Requires-Dist: datasets (>=2.14.6,<3.0.0) ; extra == "dev"
|
|
32
|
+
Requires-Dist: demjson3 (>=3.0.6,<4.0.0)
|
|
33
|
+
Requires-Dist: docker (>=7.1.0,<8.0.0) ; extra == "external-tools"
|
|
34
|
+
Requires-Dist: docstring-parser (>=0.16,<0.17)
|
|
35
|
+
Requires-Dist: docx2txt (>=0.8,<0.9)
|
|
36
|
+
Requires-Dist: fastapi (>=0.104.1,<0.105.0) ; extra == "server"
|
|
37
|
+
Requires-Dist: html2text (>=2020.1.16,<2021.0.0)
|
|
38
|
+
Requires-Dist: httpx (>=0.27.2,<0.28.0)
|
|
39
|
+
Requires-Dist: httpx-sse (>=0.4.0,<0.5.0)
|
|
40
|
+
Requires-Dist: isort (>=5.13.2,<6.0.0) ; extra == "dev"
|
|
41
|
+
Requires-Dist: jinja2 (>=3.1.4,<4.0.0)
|
|
42
|
+
Requires-Dist: langchain (>=0.2.16,<0.3.0) ; extra == "external-tools"
|
|
43
|
+
Requires-Dist: langchain-community (>=0.2.17,<0.3.0) ; extra == "external-tools"
|
|
44
|
+
Requires-Dist: llama-index (>=0.11.9,<0.12.0)
|
|
45
|
+
Requires-Dist: llama-index-embeddings-ollama (>=0.3.1,<0.4.0) ; extra == "ollama"
|
|
46
|
+
Requires-Dist: llama-index-embeddings-openai (>=0.2.5,<0.3.0)
|
|
47
|
+
Requires-Dist: locust (>=2.31.5,<3.0.0)
|
|
48
|
+
Requires-Dist: nltk (>=3.8.1,<4.0.0)
|
|
49
|
+
Requires-Dist: numpy (>=1.26.2,<2.0.0)
|
|
50
|
+
Requires-Dist: pexpect (>=4.9.0,<5.0.0) ; extra == "dev"
|
|
51
|
+
Requires-Dist: pg8000 (>=1.30.3,<2.0.0) ; extra == "postgres"
|
|
52
|
+
Requires-Dist: pgvector (>=0.2.3,<0.3.0) ; extra == "postgres"
|
|
53
|
+
Requires-Dist: pre-commit (>=3.5.0,<4.0.0) ; extra == "dev"
|
|
54
|
+
Requires-Dist: prettytable (>=3.9.0,<4.0.0)
|
|
55
|
+
Requires-Dist: pyautogen (==0.2.22) ; extra == "autogen"
|
|
56
|
+
Requires-Dist: pydantic (>=2.7.4,<3.0.0)
|
|
57
|
+
Requires-Dist: pydantic-settings (>=2.2.1,<3.0.0)
|
|
58
|
+
Requires-Dist: pymilvus (>=2.4.3,<3.0.0) ; extra == "milvus"
|
|
59
|
+
Requires-Dist: pyright (>=1.1.347,<2.0.0) ; extra == "dev"
|
|
60
|
+
Requires-Dist: pytest-asyncio (>=0.23.2,<0.24.0) ; extra == "dev"
|
|
61
|
+
Requires-Dist: pytest-order (>=1.2.0,<2.0.0) ; extra == "dev"
|
|
62
|
+
Requires-Dist: python-box (>=7.1.1,<8.0.0)
|
|
63
|
+
Requires-Dist: python-multipart (>=0.0.9,<0.0.10)
|
|
64
|
+
Requires-Dist: pytz (>=2023.3.post1,<2024.0)
|
|
65
|
+
Requires-Dist: pyyaml (>=6.0.1,<7.0.0)
|
|
66
|
+
Requires-Dist: qdrant-client (>=1.9.1,<2.0.0) ; extra == "qdrant"
|
|
67
|
+
Requires-Dist: questionary (>=2.0.1,<3.0.0)
|
|
68
|
+
Requires-Dist: setuptools (>=68.2.2,<69.0.0)
|
|
69
|
+
Requires-Dist: sqlalchemy (>=2.0.25,<3.0.0)
|
|
70
|
+
Requires-Dist: sqlalchemy-json (>=0.7.0,<0.8.0)
|
|
71
|
+
Requires-Dist: sqlalchemy-utils (>=0.41.2,<0.42.0)
|
|
72
|
+
Requires-Dist: sqlmodel (>=0.0.16,<0.0.17)
|
|
73
|
+
Requires-Dist: tiktoken (>=0.7.0,<0.8.0)
|
|
74
|
+
Requires-Dist: tqdm (>=4.66.1,<5.0.0)
|
|
75
|
+
Requires-Dist: typer[all] (>=0.9.0,<0.10.0)
|
|
76
|
+
Requires-Dist: uvicorn (>=0.24.0.post1,<0.25.0) ; extra == "server"
|
|
77
|
+
Requires-Dist: websockets (>=12.0,<13.0) ; extra == "server"
|
|
78
|
+
Requires-Dist: wikipedia (>=1.4.0,<2.0.0) ; extra == "external-tools" or extra == "tests"
|
|
79
|
+
Description-Content-Type: text/markdown
|
|
80
|
+
|
|
81
|
+
<p align="center">
|
|
82
|
+
<picture>
|
|
83
|
+
<source media="(prefers-color-scheme: dark)" srcset="assets/Letta-logo-RGB_GreyonTransparent_cropped_small.png">
|
|
84
|
+
<source media="(prefers-color-scheme: light)" srcset="assets/Letta-logo-RGB_OffBlackonTransparent_cropped_small.png">
|
|
85
|
+
<img alt="Letta logo" src="assets/Letta-logo-RGB_GreyonOffBlack_cropped_small.png" width="500">
|
|
86
|
+
</picture>
|
|
87
|
+
</p>
|
|
88
|
+
|
|
89
|
+
<div align="center">
|
|
90
|
+
<h1>Letta (previously MemGPT)</h1>
|
|
91
|
+
|
|
92
|
+
<h3>
|
|
93
|
+
|
|
94
|
+
[Homepage](https://letta.com) // [Documentation](https://docs.letta.com) // [Letta Cloud](https://forms.letta.com/early-access)
|
|
95
|
+
|
|
96
|
+
</h3>
|
|
97
|
+
|
|
98
|
+
**👾 Letta** is an open source framework for building stateful LLM applications. You can use Letta to build **stateful agents** with advanced reasoning capabilities and transparent long-term memory. The Letta framework is white box and model-agnostic.
|
|
99
|
+
|
|
100
|
+
[](https://discord.gg/letta)
|
|
101
|
+
[](https://twitter.com/Letta_AI)
|
|
102
|
+
[](https://arxiv.org/abs/2310.08560)
|
|
103
|
+
[](LICENSE)
|
|
104
|
+
[](https://github.com/cpacker/MemGPT/releases)
|
|
105
|
+
[](https://github.com/cpacker/MemGPT)
|
|
106
|
+
|
|
107
|
+
</div>
|
|
108
|
+
|
|
109
|
+
> [!NOTE]
|
|
110
|
+
> **Looking for MemGPT?** You're in the right place!
|
|
111
|
+
>
|
|
112
|
+
> The MemGPT package and Docker image have been renamed to `letta` to clarify the distinction between MemGPT agents and the API server / runtime that runs LLM agents as *services*.
|
|
113
|
+
>
|
|
114
|
+
> You use the **Letta _framework_** to create **MemGPT _agents_**. Read more about the relationship between MemGPT and Letta [here](https://www.letta.com/blog/memgpt-and-letta).
|
|
115
|
+
|
|
116
|
+
## ⚡ Quickstart
|
|
117
|
+
|
|
118
|
+
The two main ways to install Letta are through **pypi** (`pip`) or via **Docker**:
|
|
119
|
+
* **`pip`** (guide below) - the easiest way to try Letta, will default to using SQLite and ChromaDB for the database backends
|
|
120
|
+
* **Docker** (guide [here](https://docs.letta.com/install#run-letta-with-docker)) - recommended for production settings, will default to using Postgres (+ pgvector) for the database backend
|
|
121
|
+
|
|
122
|
+
### Step 1 - Install Letta using `pip`
|
|
123
|
+
```sh
|
|
124
|
+
$ pip install -U letta
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
### Step 2 - Set your environment variables for your chosen LLM / embedding providers
|
|
128
|
+
```sh
|
|
129
|
+
$ export OPENAI_API_KEY=sk-...
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
For Ollama (see our full [documentation](https://docs.letta.com/install) for examples of how to set up various providers):
|
|
133
|
+
```sh
|
|
134
|
+
$ export OLLAMA_BASE_URL=http://localhost:11434
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
### Step 3 - Run the Letta CLI
|
|
138
|
+
|
|
139
|
+
You can create agents and chat with them via the Letta CLI tool (`letta run`):
|
|
140
|
+
```sh
|
|
141
|
+
$ letta run
|
|
142
|
+
```
|
|
143
|
+
```
|
|
144
|
+
🧬 Creating new agent...
|
|
145
|
+
? Select LLM model: letta-free [type=openai] [ip=https://inference.memgpt.ai]
|
|
146
|
+
? Select embedding model: letta-free [type=hugging-face] [ip=https://embeddings.memgpt.ai]
|
|
147
|
+
-> 🤖 Using persona profile: 'sam_pov'
|
|
148
|
+
-> 🧑 Using human profile: 'basic'
|
|
149
|
+
-> 🛠️ 8 tools: send_message, pause_heartbeats, conversation_search, conversation_search_date, archival_memory_insert, archival_memory_search, core_memory_append, core_memory_replace
|
|
150
|
+
|
|
151
|
+
🎉 Created new agent 'InspiringSpinach'
|
|
152
|
+
|
|
153
|
+
Hit enter to begin (will request first Letta message)
|
|
154
|
+
|
|
155
|
+
💭 User engaged. Recognize as Chad. Acknowledge presence and establish connection. Explore interests and engage in meaningful discourse.
|
|
156
|
+
🤖 Hello, Chad. It's nice to meet you. I am keen on learning and exploring new ideas and concepts. Is there a specific topic you'd like to discuss today?
|
|
157
|
+
|
|
158
|
+
> Enter your message: my name is Brad, not Chad...
|
|
159
|
+
|
|
160
|
+
💭 A discrepancy in identity. Reflect this change in core memory. Apologize for the oversight, and rectify the error.
|
|
161
|
+
⚡🧠 [function] updating memory with core_memory_replace
|
|
162
|
+
First name: Chad
|
|
163
|
+
→ First name: Brad
|
|
164
|
+
💭 Apologize for the mistake in recognizing his name, and begin the conversation anew, addressing him by the correct name this time.
|
|
165
|
+
🤖 I apologize for the oversight, Brad. Let's restart. It's a pleasure to meet you, Brad. Is there a specific topic you'd like to discuss today?
|
|
166
|
+
|
|
167
|
+
> Enter your message:
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
### Step 4 - Run the Letta server
|
|
171
|
+
|
|
172
|
+
You can start the Letta API server with `letta server` (see the full API reference [here](https://docs.letta.com/api-reference)):
|
|
173
|
+
```sh
|
|
174
|
+
$ letta server
|
|
175
|
+
```
|
|
176
|
+
```
|
|
177
|
+
Initializing database...
|
|
178
|
+
Running: uvicorn server:app --host localhost --port 8283
|
|
179
|
+
INFO: Started server process [47750]
|
|
180
|
+
INFO: Waiting for application startup.
|
|
181
|
+
INFO: Application startup complete.
|
|
182
|
+
INFO: Uvicorn running on http://localhost:8283 (Press CTRL+C to quit)
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
When you start the Letta API server, the ADE (Agent Development Environment) will be available on `http://localhost:8283`:
|
|
186
|
+
<img alt="Screenshot of the Letta ADE (Agent Development Environment)" src="assets/letta_ade_screenshot.png" width="1600">
|
|
187
|
+
|
|
188
|
+
In Letta, all agents are stored/persisted in the same database, so the agents you create in the CLI are accessible via the API and ADE, and vice versa. Check out the [quickstart guide on our docs](https://docs.letta.com/quickstart) for a tutorial where you create an agent in the Letta CLI and message the same agent via the Letta API.
|
|
189
|
+
|
|
190
|
+
## 🤗 How to contribute
|
|
191
|
+
|
|
192
|
+
Letta is an open source project built by over a hundred contributors. There are many ways to get involved in the Letta OSS project!
|
|
193
|
+
|
|
194
|
+
* **Contribute to the project**: Interested in contributing? Start by reading our [Contribution Guidelines](https://github.com/cpacker/MemGPT/tree/main/CONTRIBUTING.md).
|
|
195
|
+
* **Ask a question**: Join our community on [Discord](https://discord.gg/letta) and direct your questions to the `#support` channel.
|
|
196
|
+
* **Report ssues or suggest features**: Have an issue or a feature request? Please submit them through our [GitHub Issues page](https://github.com/cpacker/MemGPT/issues).
|
|
197
|
+
* **Explore the roadmap**: Curious about future developments? View and comment on our [project roadmap](https://github.com/cpacker/MemGPT/issues/1533).
|
|
198
|
+
* **Join community events**: Stay updated with the [event calendar](https://lu.ma/berkeley-llm-meetup) or follow our [Twitter account](https://twitter.com/Letta_AI).
|
|
199
|
+
|
|
200
|
+
---
|
|
201
|
+
|
|
202
|
+
***Legal notices**: By using Letta and related Letta services (such as the Letta endpoint or hosted service), you are agreeing to our [privacy policy](https://www.letta.com/privacy-policy) and [terms of service](https://www.letta.com/terms-of-service).*
|
|
203
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
letta/__init__.py,sha256=cwav47GUQB8F9w0sHIDPe1nZMf_WL00KovBa9dZvSj4,996
|
|
2
2
|
letta/__main__.py,sha256=6Hs2PV7EYc5Tid4g4OtcLXhqVHiNYTGzSBdoOnW2HXA,29
|
|
3
|
-
letta/agent.py,sha256=
|
|
3
|
+
letta/agent.py,sha256=KEokoQYsXGe3EKcesFcXXryU541-SImDIByukpVToco,72282
|
|
4
4
|
letta/agent_store/chroma.py,sha256=upR5zGnGs6I6btulEYbiZdGG87BgKjxUJOQZ4Y-RQ_M,12492
|
|
5
5
|
letta/agent_store/db.py,sha256=54EpxQYX0lAWxrsO0iUKw2vibF8-62Khczns2vxIK-0,23307
|
|
6
6
|
letta/agent_store/lancedb.py,sha256=i63d4VZwj9UIOTNs5f0JZ_r5yZD-jKWz4FAH4RMpXOE,5104
|
|
@@ -15,11 +15,11 @@ letta/cli/cli_config.py,sha256=G7QqPNTtlQ4TdrXZrrFFGblZEhnkyrqN1Cl5z415C-g,8689
|
|
|
15
15
|
letta/cli/cli_load.py,sha256=x4L8s15GwIW13xrhKYFWHo_y-IVGtoPDHWWKcHDRP10,4587
|
|
16
16
|
letta/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
17
|
letta/client/admin.py,sha256=itdH1dGL143Je5tkZl8dQ1PavjepClar3QasxpbX1cI,7397
|
|
18
|
-
letta/client/client.py,sha256=
|
|
18
|
+
letta/client/client.py,sha256=GJYPBYWf2Ufchl1V-XUy8uMkRQBH52lvl4_E7dFOPLM,91720
|
|
19
19
|
letta/client/streaming.py,sha256=bfWlUu7z7EoPfKxBqIarYxGKyrL7Pj79BlliToqcCgI,4592
|
|
20
|
-
letta/client/utils.py,sha256=
|
|
20
|
+
letta/client/utils.py,sha256=OJlAKWrldc4I6M1WpcTWNtPJ4wfxlzlZqWLfCozkFtI,2872
|
|
21
21
|
letta/config.py,sha256=j2I90fOh9d9__kOYObwTDLbvVwYR50rIql5nzrvREKg,19161
|
|
22
|
-
letta/constants.py,sha256=
|
|
22
|
+
letta/constants.py,sha256=e70vmjxFxycAOhzV0NFl8aGEKqOAnOfUbUighl9OpSU,6574
|
|
23
23
|
letta/credentials.py,sha256=D9mlcPsdDWlIIXQQD8wSPE9M_QvsRrb0p3LB5i9OF5Q,5806
|
|
24
24
|
letta/data_sources/connectors.py,sha256=qO81ASB6V-vDPthfHYtZiyqcQDQPTT0NuD8hVwC6xI0,9907
|
|
25
25
|
letta/data_sources/connectors_helper.py,sha256=2TQjCt74fCgT5sw1AP8PalDEk06jPBbhrPG4HVr-WLs,3371
|
|
@@ -28,9 +28,9 @@ letta/errors.py,sha256=cDOo4cSYL-LA0w0b0GdsxXd5k2I1LLOY8nhtXk9YqYs,2875
|
|
|
28
28
|
letta/functions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
29
29
|
letta/functions/function_sets/base.py,sha256=N4QmOjL6gDEyOg67ocF6zVKM-NquTo-yXG_T8r18buA,6440
|
|
30
30
|
letta/functions/function_sets/extras.py,sha256=Jik3UiDqYTm4Lam1XPTvuVjvgUHwIAhopsnbmVhGMBg,4732
|
|
31
|
-
letta/functions/functions.py,sha256=
|
|
31
|
+
letta/functions/functions.py,sha256=BqO4jq0dNS29niwlNd0jIs5QIRn_dNaiJIhaZokQjqM,3397
|
|
32
32
|
letta/functions/helpers.py,sha256=dzeQ1hsxI-20QcVzkS8y55aCJw3iGbtm4oqBobb_tIM,9876
|
|
33
|
-
letta/functions/schema_generator.py,sha256=
|
|
33
|
+
letta/functions/schema_generator.py,sha256=OBJnix2BpDJ3GAqlfLYrQLWWbh-imhy4ah0buXm64gU,6559
|
|
34
34
|
letta/humans/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
35
35
|
letta/humans/examples/basic.txt,sha256=Lcp8YESTWvOJgO4Yf_yyQmgo5bKakeB1nIVrwEGG6PA,17
|
|
36
36
|
letta/humans/examples/cs_phd.txt,sha256=9C9ZAV_VuG7GB31ksy3-_NAyk8rjE6YtVOkhp08k1xw,297
|
|
@@ -83,9 +83,9 @@ letta/local_llm/webui/legacy_api.py,sha256=k3H3y4qp2Fs-XmP24iSIEyvq6wjWFWBzklY3-
|
|
|
83
83
|
letta/local_llm/webui/legacy_settings.py,sha256=BLmd3TSx5StnY3ibjwaxYATPt_Lvq-o1rlcc_-Q1JcU,538
|
|
84
84
|
letta/local_llm/webui/settings.py,sha256=gmLHfiOl1u4JmlAZU2d2O8YKF9lafdakyjwR_ftVPh8,552
|
|
85
85
|
letta/log.py,sha256=QHquDnL7oUAvdKlAwUlCK9zXKDMUjrU9WA0bxnMsP0Y,2101
|
|
86
|
-
letta/main.py,sha256=
|
|
86
|
+
letta/main.py,sha256=islRBrAi7huz6i4fE0GYbGmTyTQdc3DjVOpywKx0UH8,18974
|
|
87
87
|
letta/memory.py,sha256=6q1x3-PY-PeXzAt6hvP-UF1ajvroPZ7XW-5nLy-JhMo,17657
|
|
88
|
-
letta/metadata.py,sha256=
|
|
88
|
+
letta/metadata.py,sha256=CyoitCNZo-OfyQUbe9BS3B-97Zyr1RltEpiv02vmJ84,36687
|
|
89
89
|
letta/openai_backcompat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
90
90
|
letta/openai_backcompat/openai_object.py,sha256=Y1ZS1sATP60qxJiOsjOP3NbwSzuzvkNAvb3DeuhM5Uk,13490
|
|
91
91
|
letta/persistence_manager.py,sha256=LlLgEDpSafCPAiyKmuq0NvVAnfBkZo6TWbGIKYQjQBs,5200
|
|
@@ -111,7 +111,7 @@ letta/prompts/system/memgpt_intuitive_knowledge.txt,sha256=sA7c3urYqREVnSBI81nTG
|
|
|
111
111
|
letta/prompts/system/memgpt_modified_chat.txt,sha256=HOaPVurEftD8KsuwsclDgE2afIfklMjxhuSO96q1-6I,4656
|
|
112
112
|
letta/providers.py,sha256=tGnji2OlZSo5fgRaLiFaopqiyhKGOt5akngSjjM5RSI,19637
|
|
113
113
|
letta/pytest.ini,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
114
|
-
letta/schemas/agent.py,sha256=
|
|
114
|
+
letta/schemas/agent.py,sha256=565kf-OHpV-VsN8nGqrJsUyCOBEYw2rl_RRggWj0Gzw,6371
|
|
115
115
|
letta/schemas/api_key.py,sha256=u07yzzMn-hBAHZIIKbWY16KsgiFjSNR8lAghpMUo3_4,682
|
|
116
116
|
letta/schemas/block.py,sha256=1_GwFtfykloYU4Mp2DV3-DqkvsKo79Mu3LAzVYOgMzk,3998
|
|
117
117
|
letta/schemas/embedding_config.py,sha256=1kD6NpiXeH4roVumxqDAKk7xt8SpXGWNhZs_XXUSlEU,2855
|
|
@@ -124,7 +124,7 @@ letta/schemas/letta_message.py,sha256=Slgxa59qZfdvqXuCVHOt03u-7JL456ZY-WLaK5UYYK
|
|
|
124
124
|
letta/schemas/letta_request.py,sha256=_oiDshc_AoFWIfXRk2VX5-AxO5vDlyN-9r-gnyLj_30,1890
|
|
125
125
|
letta/schemas/letta_response.py,sha256=_UJoO3UtC3F5DtQCHzdiGM1SHNPYPKvopIWqg8t5YZw,1564
|
|
126
126
|
letta/schemas/llm_config.py,sha256=PFL4ui2twmYMCs8Dnbx8ss0uHTiJktmLVeeHPVliRuw,2949
|
|
127
|
-
letta/schemas/memory.py,sha256=
|
|
127
|
+
letta/schemas/memory.py,sha256=COVipr9VPqbIz4QQ9kdlrylgVMx37odc0Sctjt4IZb4,11348
|
|
128
128
|
letta/schemas/message.py,sha256=X0adFviO6sbobFns30M0Ym6DChRDVThaA82gqbzw3Jg,33531
|
|
129
129
|
letta/schemas/openai/chat_completion_request.py,sha256=Fa7xnSnG7WUQounJhnDu0fTSxoR6xOAh2bODuqmfypI,3345
|
|
130
130
|
letta/schemas/openai/chat_completion_response.py,sha256=05FRfm1EsVivyeWo2aoJk34h3W4pAb4lBCPn1eujjcw,3916
|
|
@@ -134,7 +134,7 @@ letta/schemas/openai/openai.py,sha256=Hilo5BiLAGabzxCwnwfzK5QrWqwYD8epaEKFa4Pwnd
|
|
|
134
134
|
letta/schemas/organization.py,sha256=JSc3hLl0IO_c9iOqf367sU5tJ0Dx_kPzbokCEg0eS4g,601
|
|
135
135
|
letta/schemas/passage.py,sha256=eYQMxD_XjHAi72jmqcGBU4wM4VZtSU0XK8uhQxxN3Ug,3563
|
|
136
136
|
letta/schemas/source.py,sha256=hB4Ai6Nj8dFdbxv5_Qaf4uN_cmdGmnzgc-4QnHXcV3o,2562
|
|
137
|
-
letta/schemas/tool.py,sha256=
|
|
137
|
+
letta/schemas/tool.py,sha256=_q5bg0hwVKPlx_-IPjW8qsojMnhAWrpUDCEXF1zMBPk,9031
|
|
138
138
|
letta/schemas/usage.py,sha256=lvn1ooHwLEdv6gwQpw5PBUbcwn_gwdT6HA-fCiix6sY,817
|
|
139
139
|
letta/schemas/user.py,sha256=D7DiPzieXZIHOLInJdYZlHjKOy2bl7KxGCesNk0yf5E,1003
|
|
140
140
|
letta/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -154,27 +154,27 @@ letta/server/rest_api/routers/openai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeu
|
|
|
154
154
|
letta/server/rest_api/routers/openai/assistants/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
155
155
|
letta/server/rest_api/routers/openai/assistants/assistants.py,sha256=PXv5vLFDa3ptMBY6QJUkMaPqk2HFP0IpirJUCmgOY6k,4828
|
|
156
156
|
letta/server/rest_api/routers/openai/assistants/schemas.py,sha256=d3LdBLUI-mMUCP-Q3X9Z_DqIu-ko9_KLMt8og799aNg,5630
|
|
157
|
-
letta/server/rest_api/routers/openai/assistants/threads.py,sha256=
|
|
157
|
+
letta/server/rest_api/routers/openai/assistants/threads.py,sha256=WXVGBaBvSNPB7Zl7ICvMC4MuJmzB0u5l14Ec5R6pQs4,14098
|
|
158
158
|
letta/server/rest_api/routers/openai/chat_completions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
159
159
|
letta/server/rest_api/routers/openai/chat_completions/chat_completions.py,sha256=-uye6cm4SnoQGwxhr1N1FrSXOlnO2Hvbfj6k8JSc45k,4918
|
|
160
160
|
letta/server/rest_api/routers/v1/__init__.py,sha256=sqlVZa-u9DJwdRsp0_8YUGrac9DHguIB4wETlEDRylA,666
|
|
161
|
-
letta/server/rest_api/routers/v1/agents.py,sha256=
|
|
161
|
+
letta/server/rest_api/routers/v1/agents.py,sha256=beY1D78uIK9Dk_A6BdPiHtXFAoZh8Th3jEekR1MxsSk,24595
|
|
162
162
|
letta/server/rest_api/routers/v1/blocks.py,sha256=0WekE_yBD2U3jYgPxI0DCFjACWavCAlvm_Ybw5SZBnw,2583
|
|
163
163
|
letta/server/rest_api/routers/v1/health.py,sha256=pKCuVESlVOhGIb4VC4K-H82eZqfghmT6kvj2iOkkKuc,401
|
|
164
164
|
letta/server/rest_api/routers/v1/jobs.py,sha256=a-j0v-5A0un0pVCOHpfeWnzpOWkVDQO6ti42k_qAlZY,2272
|
|
165
165
|
letta/server/rest_api/routers/v1/llms.py,sha256=TcyvSx6MEM3je5F4DysL7ligmssL_pFlJaaO4uL95VY,877
|
|
166
166
|
letta/server/rest_api/routers/v1/organizations.py,sha256=i3S9E1hu2Zj9g0pRv6wnQhz1VJ_RMIHCrGzgwY-Wj3Y,1945
|
|
167
|
-
letta/server/rest_api/routers/v1/sources.py,sha256=
|
|
168
|
-
letta/server/rest_api/routers/v1/tools.py,sha256=
|
|
167
|
+
letta/server/rest_api/routers/v1/sources.py,sha256=eY_pk9jRL2Y9yIZdsTjH6EuKsfH1neaTU15MKNL0dvw,8749
|
|
168
|
+
letta/server/rest_api/routers/v1/tools.py,sha256=YiGlgAaV1p0sbrf-Z7ZR6mQ4HZlKWN9KKcu53TBM1O0,3471
|
|
169
169
|
letta/server/rest_api/routers/v1/users.py,sha256=Y2rDvHOG1B5FLSOjutY3R22vt48IngbZ-9h8CohG5rc,3378
|
|
170
170
|
letta/server/rest_api/static_files.py,sha256=NG8sN4Z5EJ8JVQdj19tkFa9iQ1kBPTab9f_CUxd_u4Q,3143
|
|
171
171
|
letta/server/rest_api/utils.py,sha256=Fc2ZGKzLaBa2sEtSTVjJ8D5M0xIwsWC0CVAOIJaD3rY,2176
|
|
172
|
-
letta/server/server.py,sha256=
|
|
172
|
+
letta/server/server.py,sha256=6A_q-ES_OX7UgssX1VLPXBoDG56HEJ95luuZpZZ5_Z0,89258
|
|
173
173
|
letta/server/startup.sh,sha256=jeGV7B_PS0hS-tT6o6GpACrUbV9WV1NI2L9aLoUDDtc,311
|
|
174
174
|
letta/server/static_files/assets/index-3ab03d5b.css,sha256=OrA9W4iKJ5h2Wlr7GwdAT4wow0CM8hVit1yOxEL49Qw,54295
|
|
175
|
-
letta/server/static_files/assets/index-
|
|
175
|
+
letta/server/static_files/assets/index-d6b3669a.js,sha256=i1nHReU0RPnj-a5W0nNPV4Y9bQ0FOW0ztjMz8a2AE-Y,1821560
|
|
176
176
|
letta/server/static_files/favicon.ico,sha256=DezhLdFSbM8o81wCOZcV3riq7tFUOGQD4h6-vr-HuU0,342
|
|
177
|
-
letta/server/static_files/index.html,sha256=
|
|
177
|
+
letta/server/static_files/index.html,sha256=GqyD2dyoR8pDu5Ky3la_-DFbAlCvFXd-qsb6ni4Ccoc,1198
|
|
178
178
|
letta/server/static_files/memgpt_logo_transparent.png,sha256=7l6niNb4MlUILxLlUZPxIE1TEHj_Z9f9XDxoST3d7Vw,85383
|
|
179
179
|
letta/server/utils.py,sha256=rRvW6L1lzau4u9boamiyZH54lf5tQ91ypXzUW9cfSPA,1667
|
|
180
180
|
letta/server/ws_api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -186,8 +186,8 @@ letta/settings.py,sha256=6VWC3vtTa8vqj6dqos4p_xHTMJNJS_8LRGJmqvaU1-o,3219
|
|
|
186
186
|
letta/streaming_interface.py,sha256=_FPUWy58j50evHcpXyd7zB1wWqeCc71NCFeWh_TBvnw,15736
|
|
187
187
|
letta/system.py,sha256=buKYPqG5n2x41hVmWpu6JUpyd7vTWED9Km2_M7dLrvk,6960
|
|
188
188
|
letta/utils.py,sha256=neUs7mxNfndzRL5XUxerr8Lic6w7qnyyvf8FBwMnyWw,30852
|
|
189
|
-
letta_nightly-0.5.0.
|
|
190
|
-
letta_nightly-0.5.0.
|
|
191
|
-
letta_nightly-0.5.0.
|
|
192
|
-
letta_nightly-0.5.0.
|
|
193
|
-
letta_nightly-0.5.0.
|
|
189
|
+
letta_nightly-0.5.0.dev20241017104103.dist-info/LICENSE,sha256=mExtuZ_GYJgDEI38GWdiEYZizZS4KkVt2SF1g_GPNhI,10759
|
|
190
|
+
letta_nightly-0.5.0.dev20241017104103.dist-info/METADATA,sha256=ao_TDJ7MVdrPJgEM-M6cTi0eUHgMlMq7Fyx2O1F7R_w,10620
|
|
191
|
+
letta_nightly-0.5.0.dev20241017104103.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
|
192
|
+
letta_nightly-0.5.0.dev20241017104103.dist-info/entry_points.txt,sha256=2zdiyGNEZGV5oYBuS-y2nAAgjDgcC9yM_mHJBFSRt5U,40
|
|
193
|
+
letta_nightly-0.5.0.dev20241017104103.dist-info/RECORD,,
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: letta-nightly
|
|
3
|
-
Version: 0.5.0.dev20241015104156
|
|
4
|
-
Summary: Create LLM agents with long-term memory and custom tools
|
|
5
|
-
License: Apache License
|
|
6
|
-
Author: Letta Team
|
|
7
|
-
Author-email: contact@letta.com
|
|
8
|
-
Requires-Python: >=3.10,<3.13
|
|
9
|
-
Classifier: License :: Other/Proprietary License
|
|
10
|
-
Classifier: Programming Language :: Python :: 3
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
-
Provides-Extra: autogen
|
|
15
|
-
Provides-Extra: dev
|
|
16
|
-
Provides-Extra: external-tools
|
|
17
|
-
Provides-Extra: milvus
|
|
18
|
-
Provides-Extra: ollama
|
|
19
|
-
Provides-Extra: postgres
|
|
20
|
-
Provides-Extra: qdrant
|
|
21
|
-
Provides-Extra: server
|
|
22
|
-
Provides-Extra: tests
|
|
23
|
-
Requires-Dist: alembic (>=1.13.3,<2.0.0)
|
|
24
|
-
Requires-Dist: autoflake (>=2.3.0,<3.0.0) ; extra == "dev"
|
|
25
|
-
Requires-Dist: black[jupyter] (>=24.2.0,<25.0.0) ; extra == "dev"
|
|
26
|
-
Requires-Dist: chromadb (>=0.4.24,<0.5.0)
|
|
27
|
-
Requires-Dist: composio-core (>=0.5.28,<0.6.0) ; extra == "external-tools"
|
|
28
|
-
Requires-Dist: composio-langchain (>=0.5.28,<0.6.0) ; extra == "external-tools"
|
|
29
|
-
Requires-Dist: crewai (>=0.41.1,<0.42.0) ; extra == "external-tools"
|
|
30
|
-
Requires-Dist: crewai-tools (>=0.8.3,<0.9.0) ; extra == "external-tools"
|
|
31
|
-
Requires-Dist: datasets (>=2.14.6,<3.0.0) ; extra == "dev"
|
|
32
|
-
Requires-Dist: demjson3 (>=3.0.6,<4.0.0)
|
|
33
|
-
Requires-Dist: docker (>=7.1.0,<8.0.0) ; extra == "external-tools"
|
|
34
|
-
Requires-Dist: docstring-parser (>=0.16,<0.17)
|
|
35
|
-
Requires-Dist: docx2txt (>=0.8,<0.9)
|
|
36
|
-
Requires-Dist: fastapi (>=0.104.1,<0.105.0) ; extra == "server"
|
|
37
|
-
Requires-Dist: html2text (>=2020.1.16,<2021.0.0)
|
|
38
|
-
Requires-Dist: httpx (>=0.27.2,<0.28.0)
|
|
39
|
-
Requires-Dist: httpx-sse (>=0.4.0,<0.5.0)
|
|
40
|
-
Requires-Dist: isort (>=5.13.2,<6.0.0) ; extra == "dev"
|
|
41
|
-
Requires-Dist: jinja2 (>=3.1.4,<4.0.0)
|
|
42
|
-
Requires-Dist: langchain (>=0.2.16,<0.3.0) ; extra == "external-tools"
|
|
43
|
-
Requires-Dist: langchain-community (>=0.2.17,<0.3.0) ; extra == "external-tools"
|
|
44
|
-
Requires-Dist: llama-index (>=0.11.9,<0.12.0)
|
|
45
|
-
Requires-Dist: llama-index-embeddings-ollama (>=0.3.1,<0.4.0) ; extra == "ollama"
|
|
46
|
-
Requires-Dist: llama-index-embeddings-openai (>=0.2.5,<0.3.0)
|
|
47
|
-
Requires-Dist: locust (>=2.31.5,<3.0.0)
|
|
48
|
-
Requires-Dist: nltk (>=3.8.1,<4.0.0)
|
|
49
|
-
Requires-Dist: numpy (>=1.26.2,<2.0.0)
|
|
50
|
-
Requires-Dist: pexpect (>=4.9.0,<5.0.0) ; extra == "dev"
|
|
51
|
-
Requires-Dist: pg8000 (>=1.30.3,<2.0.0) ; extra == "postgres"
|
|
52
|
-
Requires-Dist: pgvector (>=0.2.3,<0.3.0) ; extra == "postgres"
|
|
53
|
-
Requires-Dist: pre-commit (>=3.5.0,<4.0.0) ; extra == "dev"
|
|
54
|
-
Requires-Dist: prettytable (>=3.9.0,<4.0.0)
|
|
55
|
-
Requires-Dist: pyautogen (==0.2.22) ; extra == "autogen"
|
|
56
|
-
Requires-Dist: pydantic (>=2.7.4,<3.0.0)
|
|
57
|
-
Requires-Dist: pydantic-settings (>=2.2.1,<3.0.0)
|
|
58
|
-
Requires-Dist: pymilvus (>=2.4.3,<3.0.0) ; extra == "milvus"
|
|
59
|
-
Requires-Dist: pyright (>=1.1.347,<2.0.0) ; extra == "dev"
|
|
60
|
-
Requires-Dist: pytest-asyncio (>=0.23.2,<0.24.0) ; extra == "dev"
|
|
61
|
-
Requires-Dist: pytest-order (>=1.2.0,<2.0.0) ; extra == "dev"
|
|
62
|
-
Requires-Dist: python-box (>=7.1.1,<8.0.0)
|
|
63
|
-
Requires-Dist: python-multipart (>=0.0.9,<0.0.10)
|
|
64
|
-
Requires-Dist: pytz (>=2023.3.post1,<2024.0)
|
|
65
|
-
Requires-Dist: pyyaml (>=6.0.1,<7.0.0)
|
|
66
|
-
Requires-Dist: qdrant-client (>=1.9.1,<2.0.0) ; extra == "qdrant"
|
|
67
|
-
Requires-Dist: questionary (>=2.0.1,<3.0.0)
|
|
68
|
-
Requires-Dist: setuptools (>=68.2.2,<69.0.0)
|
|
69
|
-
Requires-Dist: sqlalchemy (>=2.0.25,<3.0.0)
|
|
70
|
-
Requires-Dist: sqlalchemy-json (>=0.7.0,<0.8.0)
|
|
71
|
-
Requires-Dist: sqlalchemy-utils (>=0.41.2,<0.42.0)
|
|
72
|
-
Requires-Dist: sqlmodel (>=0.0.16,<0.0.17)
|
|
73
|
-
Requires-Dist: tiktoken (>=0.7.0,<0.8.0)
|
|
74
|
-
Requires-Dist: tqdm (>=4.66.1,<5.0.0)
|
|
75
|
-
Requires-Dist: typer[all] (>=0.9.0,<0.10.0)
|
|
76
|
-
Requires-Dist: uvicorn (>=0.24.0.post1,<0.25.0) ; extra == "server"
|
|
77
|
-
Requires-Dist: websockets (>=12.0,<13.0) ; extra == "server"
|
|
78
|
-
Requires-Dist: wikipedia (>=1.4.0,<2.0.0) ; extra == "external-tools" or extra == "tests"
|
|
79
|
-
Description-Content-Type: text/markdown
|
|
80
|
-
|
|
81
|
-
# Letta (previously MemGPT)
|
|
82
|
-
[](https://discord.gg/letta)
|
|
83
|
-
[](https://twitter.com/Letta_AI)
|
|
84
|
-
[](https://arxiv.org/abs/2310.08560)
|
|
85
|
-
|
|
86
|
-
> [!NOTE]
|
|
87
|
-
> **Looking for MemGPT?** You're in the right place!
|
|
88
|
-
>
|
|
89
|
-
> The MemGPT package and Docker image have been renamed to `letta` to clarify the distinction between MemGPT agents and the API server / runtime that runs LLM agents as *services*.
|
|
90
|
-
>
|
|
91
|
-
> You use the **Letta _framework_** to create **MemGPT _agents_**. Read more about the relationship between MemGPT and Letta [here](https://www.letta.com/blog/memgpt-and-letta).
|
|
92
|
-
|
|
93
|
-
Visit our [documentation page](https://docs.letta.com) for information on setup and usage.
|
|
94
|
-
|
|
95
|
-
## How to Get Involved
|
|
96
|
-
* **Contribute to the Project**: Interested in contributing? Start by reading our [Contribution Guidelines](https://github.com/cpacker/MemGPT/tree/main/CONTRIBUTING.md).
|
|
97
|
-
* **Ask a Question**: Join our community on [Discord](https://discord.gg/letta) and direct your questions to the `#support` channel.
|
|
98
|
-
* **Report Issues or Suggest Features**: Have an issue or a feature request? Please submit them through our [GitHub Issues page](https://github.com/cpacker/MemGPT/issues).
|
|
99
|
-
* **Explore the Roadmap**: Curious about future developments? View and comment on our [project roadmap](https://github.com/cpacker/MemGPT/issues/1200).
|
|
100
|
-
* **Benchmark the Performance**: Want to benchmark the performance of a model on MemGPT? Follow our [Benchmarking Guidance](#benchmarking-guidance).
|
|
101
|
-
* **Join Community Events**: Stay updated with the [event calendar](https://lu.ma/berkeley-llm-meetup) or follow our [Twitter account](https://twitter.com/Letta_AI).
|
|
102
|
-
|
|
103
|
-
## Legal notices
|
|
104
|
-
By using Letta and related Letta services (such as the Letta endpoint or hosted service), you agree to our [privacy policy](https://www.letta.com/privacy-policy) and [terms of service](https://www.letta.com/terms-of-service).
|
|
105
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|