Skip to main content

langchain-reelspan

LangChain and LangGraph tools for Reelspan. Let an agent publish videos, photos and text to TikTok, YouTube, Instagram, Facebook, X, Threads, LinkedIn, Pinterest, Bluesky, Reddit and more, schedule them, check each network's result and read analytics.

pip install langchain-reelspan
export REELSPAN_API_KEY=rs_live_...   # dashboard → Developers → API keys
from langchain.agents import create_agent
from langchain_reelspan import ReelspanToolkit

tools = ReelspanToolkit(profile="acme").get_tools()
agent = create_agent("anthropic:claude-sonnet-5-5", tools)

agent.invoke({"messages": [{"role": "user", "content":
    "Post https://cdn.example.com/launch.mp4 to TikTok and YouTube tomorrow 9am Berlin time with a short caption."}]})

Tools

Tool
reelspan_list_profiles Profiles (brands) and their connected networks
reelspan_publish_video A video from a URL (Drive/Dropbox links work), a local path or a library media id
reelspan_publish_photos One photo or a carousel, with alt text
reelspan_publish_text Text; long text becomes a thread on X and Bluesky
reelspan_post_status Each network's result
reelspan_retry_post Send the failed networks again
reelspan_post_history Recent posts
reelspan_scheduled_posts, reelspan_cancel_scheduled_post The schedule
reelspan_analytics, reelspan_post_analytics, reelspan_best_times Analytics

Publishing tools take scheduled_date + timezone, add_to_queue, first_comment and settings for network options ({"privacy_level": "PUBLIC_TO_EVERYONE", "reddit_subreddit": "videos"}; Upload-Post field names work too).

Options

from reelspan import Reelspan

ReelspanToolkit(
    client=Reelspan(api_key="rs_live_..."),  # default: reads REELSPAN_API_KEY
    profile="acme",                # pin to one profile; the model can't post as another
    platforms=["linkedin", "x"],   # only these networks
    read_only=True,                # only tools that read
    wait=True,                     # wait for each network's result after posting (default)
)

Single tools work too: ReelspanPublishText(profile="acme").invoke({"platforms": ["x"], "caption": "Hi"}).

Errors (a wrong key, a network that isn't allowed, a missing profile) come back to the model as tool messages it can act on. Posts carry an idempotency key, so a retried call never double-posts.

API reference · Python SDK · MCP server

MIT licensed. Security reports: see SECURITY.md.

Metadata

Release files for langchain-reelspan 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langchain-reelspan 0.1.0
File Size Uploaded Provenance Actions
langchain_reelspan-0.1.0.tar.gz 8.2 kB With provenance Details for langchain_reelspan-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for langchain-reelspan 0.1.0
File Interpreter ABI Platform Actions
langchain_reelspan-0.1.0-py3-none-any.whl Python 3 none any Details for langchain_reelspan-0.1.0-py3-none-any.whl

Total release size: 17.0 kB

Release files / langchain_reelspan-0.1.0.tar.gz

Download URL langchain_reelspan-0.1.0.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f3ae4a34c3f706f37a91ba1139af5f49314c57194a7fb1dfeb59c69049b9d7e1
BLAKE2b-256 checksum
How to use checksums
53b2d929826b1566c16c80c97bc1832f20a13f5f55520434980c823f2782d6fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / langchain_reelspan-0.1.0-py3-none-any.whl

Download URL langchain_reelspan-0.1.0-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ae424db86d9f65b88973eb7a245ee92e5c9621d403188d1ab1f31bcf4cbc673
BLAKE2b-256 checksum
How to use checksums
4721ef41b4e411feb0cb8b984d5c10ed6e4f93c8ca5040e0bf17d22035ec4645
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Security for langchain-reelspan 0.1.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for langchain_reelspan-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page