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 | Provenance | Actions |
|---|---|---|---|---|
| symbolmachines-0.1.1.tar.gz | 2.4 kB | Without provenance | Details for symbolmachines-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| symbolmachines-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for symbolmachines-0.1.1-py3-none-any.whl |
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
|
Security for symbolmachines 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.