loom-sdk
The official Python client for Loom — the memory layer for research intelligence, by MetaCognition.
Give your research agents a persistent, temporal memory: add papers, notes, and data, then recall exactly what matters — with provenance — across sessions.
Install
pip install loom-sdk
Quickstart
Get an API key from the dashboard, then:
from loom_sdk import Loom
mem = Loom(
org_id="lab",
user_id="alice",
base_url="https://api.loom.getmetacognition.com",
api_key="sk_live_...",
)
# add a paper to memory
mem.ingest_paper(
"10.1/astro",
title="Astrocytic calcium signalling",
text="astrocyte calcium gliotransmission ...",
oa=True,
)
# search it back — each result carries its source
for span in mem.recall("calcium signalling", budget_tokens=8000):
print(span["text"], "->", span["provenance"]["paper_doi"])
What you can do
mem.ingest_document("paper.pdf", open("paper.pdf", "rb").read()) # PDF/Excel/Word/CSV/MD/text
mem.put_analysis("10.1/astro", analysis_markdown) # extract claims
mem.recall_papers("astrocyte calcium") # find papers
mem.graph.link("session_1", used_papers=["10.1/astro"]) # link a session
mem.insights.directions() # novel directions
mem.account.get() # account + usage
The client is a thin wrapper over the Loom HTTP API — every method maps to one call.
Documentation
Full docs: https://loom.getmetacognition.com
License
MIT
Metadata
Release files for loom-sdk 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| loom_sdk-0.1.0.tar.gz | 10.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| loom_sdk-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.2 kB
Release files / loom_sdk-0.1.0.tar.gz
| Download URL | loom_sdk-0.1.0.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c8fefc04f9e1acd29be7e2fde768a786e2414c81dbdb62fde9f769d13e32516
|
|
BLAKE2b-256 checksum How to use checksums |
b3654230c147d1d861e038772457c1338453dcd4b4e49e6e01ce974f47bf8bbc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|
Release files / loom_sdk-0.1.0-py3-none-any.whl
| Download URL | loom_sdk-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b468a1be54af4cd94259193eb765285448999ad143d4a87f8c25366a2a55950
|
|
BLAKE2b-256 checksum How to use checksums |
92efe5a8956c651f2e96ca6545bd2dc3d266063f895822ff45b22b84f832ab34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|