Symbol Machines Memory SDK (Python)
A lightweight SDK that adds structured long-term memory to any LLM.
Learn more at https://symbolmachines.com
Installation
pip install symbolmachines
Usage
from symbolmachines import Symbol
symbol = Symbol(api_key="sk-...")
# Inject memory context before calling your LLM
context = symbol.memory.inject.create(input="What should i eat for lunch?")
# ... call your LLM with the contextual input ...
# Save memory after generation
symbol.memory.save.create(output="Eating sushi is a healthy meal.")
API
symbol.memory.inject.create(input=str)
Injects memory context into user input.
symbol.memory.save.create(output=str)
Writes an output into the Symbol's memory.
Configuration
symbol = Symbol(
api_key="sk-...",
base_url="https://api.symbol.ai/v1" # optional override
)
Metadata
Release files for symbolmachines 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| symbolmachines-0.1.1.tar.gz | 2.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| symbolmachines-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.1 kB
Release files / symbolmachines-0.1.1.tar.gz
| Download URL | symbolmachines-0.1.1.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ce2d560d4b3e5f4344d267b5e0c8337bc728fad25dac1bb321039dfbf6bce80
|
|
BLAKE2b-256 checksum How to use checksums |
54548237eaf84448f75ebd479705dc6d68647da6aa66f0540c0a6be377c1770b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.4
|
Release files / symbolmachines-0.1.1-py3-none-any.whl
| Download URL | symbolmachines-0.1.1-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0ca8f04b93ac7b3ca0ade96557c08ab9ea1efdf40a3b5ed60372700d954d1dea
|
|
BLAKE2b-256 checksum How to use checksums |
86b9680b2127465f2aa91485e831cdf75a59b7c3e6419434ac71f65779347e67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.4
|