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.1

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.1
File Size Uploaded Provenance Actions
langchain_reelspan-0.1.1.tar.gz 8.1 kB With provenance Details for langchain_reelspan-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 17.0 kB

Release files / langchain_reelspan-0.1.1.tar.gz

Download URL langchain_reelspan-0.1.1.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4781e1b184274f9d295dd5c403dc0ab960504de6cd03bd7f0a739eb6d46a5109
BLAKE2b-256 checksum
How to use checksums
ac15786e214af8406019c896926c284b14fcff1e491d2520bdd3890e4daeb7bf
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.1-py3-none-any.whl

Download URL langchain_reelspan-0.1.1-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9302e9fe805a0a4423f08fac6a996b4fb4e92ff9cd360bb1cf8e71fc6d059407
BLAKE2b-256 checksum
How to use checksums
912e6557722eaba4a718cbe8286eaa3a4571dbb4fee97c51614fdf8530ff66b5
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.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.

Full provenance

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

Select from 2 files

Attestation for langchain_reelspan-0.1.1.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.1 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