cwi-langchain
LangChain tools for the CWI Discovery Engine — the machine-readable music catalog of Cumulative Web Inc. Zero auth. One call. Predictable JSON.
Install
pip install cwi-langchain
10-line example
from cwi_langchain import find_tracks_for_brief
result = find_tracks_for_brief("dark cyberpunk tracks for a neon game trailer")
top = result["tracks"][0]
print(top["title"], top["isrc"], top["best_link"]["url"])
# Warped and Wicked QZDA62200554 https://open.spotify.com/track/3w4RKguHAT2xd9K0w5CklC
As LangChain agent tools
from cwi_langchain import cwi_tools
tools = cwi_tools() # find_tracks_for_brief, get_track, radio_now_playing
# pass directly to create_react_agent or any LangChain agent
Functions
| Function | What it does |
|---|---|
find_tracks_for_brief(brief, limit=3) |
Match a natural-language sync brief to catalog tracks. Returns ranked tracks with verified ISRCs, moods, scenes, why-it-fits, and clearance summary. |
get_track(id_or_title) |
Full 24-field track record: credits, genres, moods, ISRC/UPC, links. |
get_artist(name) |
Artist profile + catalog list. |
radio_now_playing() |
What's on Cumulative Radio 365 right now. |
Endpoints
- Scout API:
https://cwi-machine-data.hp-ace.workers.dev/api/scout - MCP (29 tools):
https://cwi-machine-data.hp-ace.workers.dev/mcp - Live demo:
https://cumulativeweb.com/scout/ - OpenAPI (x402 paid API):
https://cwi-x402-api.onrender.com/openapi.json
License
Proprietary — Cumulative Web Inc.
Metadata
Release files for cwi-langchain 1.0.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 | |
|---|---|---|---|
| cwi_langchain-1.0.0.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cwi_langchain-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.5 kB
Release files / cwi_langchain-1.0.0.tar.gz
| Download URL | cwi_langchain-1.0.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ca6cca4698c2746edc293fcac6bc03ef68b0a4d51a3611088b07fc034f8accc
|
|
BLAKE2b-256 checksum How to use checksums |
fda63ea86f9b3c051ca44f5d30aa160f3c96fe351965be8a97cfe19b3bbaf753
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / cwi_langchain-1.0.0-py3-none-any.whl
| Download URL | cwi_langchain-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3b46dd4bf92fc7b66a536d62ca413fdcd9abe294d791dc373514b2b831c7f5a5
|
|
BLAKE2b-256 checksum How to use checksums |
6540325e93a33c62c9df1f9985840a6559a4759941ba6c1ce63980fc99fa19c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|