Skip to main content

Arcmira: YouTube Transcript Search for LangChain

Arcmira · API docs · Authentication · Usage and billing

Give your agent timestamped evidence from YouTube videos and livestreams. Find who said what, search mentions of people and products, and filter passages classified as sponsored or organic.

Install the published PyPI package below. Arcmira is listed in the LangChain provider directory and tools catalog. See release status for verification details.

Quick start

pip install langchain-arcmira
export ARCMIRA_API_KEY='your-key'
python - <<'PY'
from langchain_arcmira import ArcmiraSearch

result = ArcmiraSearch().invoke({"q": "AI agents", "limit": 5})
for chunk in result["chunks"]:
    print(chunk["text"])
    print(chunk["watch_url"])
print(result["note"])
PY

Keep the API key in server-side configuration. It is excluded from model tool arguments and serialized tool configuration. Relative watch_url values resolve against https://arcmira.com.

Tools

Tool Purpose
ArcmiraSearch Search transcript passages with timestamps, source labels, speaker and entity filters, dates, and sponsored or organic classifications.
ArcmiraResolve Resolve a person, organization, product, topic or channel before using its IDs in a search.

Both are native LangChain BaseTool classes. Pass them to a LangChain agent or LangGraph ToolNode. For the LangGraph example, also install langgraph:

from langgraph.prebuilt import ToolNode
from langchain_arcmira import ArcmiraResolve, ArcmiraSearch

tools = [ArcmiraSearch(), ArcmiraResolve()]
research = ToolNode(tools)

Async callers use await tool.ainvoke({...}). Requests use an async HTTP client and propagate cancellation. The default timeout is 30 seconds; configure it with ArcmiraSearch(timeout=60).

Search precisely

Resolve one name at a time with ArcmiraResolve().invoke({"q": "Google", "type": "organization"}). The name must contain at least two characters. Optional context must contain 2–300 characters from the user's description of that name. Preserve the result's distinction between best, suggested and ask. A suggested match is an assumption to disclose. An ambiguous result needs clarification or separate research for each candidate.

Search takes IDs, not names:

  • channel_ids scopes YouTube channels. Use a resolved channel's youtube_channel_id.
  • entity_ids scopes entity appearances. about finds passages mentioning an entity. by finds words attributed to a person.
  • kind accepts comma-separated sponsored, organic and mention classifications.
  • after is inclusive and before is exclusive. Both accept publication dates or ISO 8601 datetimes.
  • source selects arcmira_premium, creator_captions or third_party_quick.
  • limit is 1–20, default 5. Entity resolution accepts a limit of 1–15.

Results preserve the API envelope, including coverage notes, partial-result indicators, ambiguity and access details. An empty result describes the indexed coverage, not everything said on YouTube. Speaker labels and account access vary.

Usage and failures

A paid read uses credits from your plan, then your on-demand budget. Search uses four credits per returned passage beyond the first five. Entity resolution uses no credits. Account access and freshness limits still apply.

A refused Premium filter remains an error. The tools do not substitute captions, widen date filters or turn failures into empty results. They raise LangChain ToolException for API and connection errors. Requests are not automatically retried. Malformed API responses produce a sanitized error.

These two tools do not fetch full transcripts or write monitors. Use the SDK or MCP server for those operations.

Develop and verify locally

git clone https://github.com/arcmira/integrations.git
cd integrations/packages/langchain-python
uv sync --frozen
uv run --frozen ruff check .
uv run --frozen pytest tests/unit_tests -q
# Optional, with your own API key. Searches return at most one passage per call.
uv run --frozen pytest tests/integration_tests -q
uv build
uv run --frozen twine check dist/*

The locked development environment uses Arcmira SDK 0.5.1, LangChain Core 1.6.5, LangChain Tests 1.1.9 and LangGraph 1.2.12. Third-party dependencies have a September 28, 2026 release cutoff. The first-party SDK uses its released PyPI wheel.

Report an issue with package versions, the API error code or request ID, and a small reproduction. Never include your API key or private account data.

Metadata

Release files for langchain-arcmira 0.1.5

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-arcmira 0.1.5
File Size Uploaded
langchain_arcmira-0.1.5.tar.gz 13.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for langchain-arcmira 0.1.5
File Interpreter ABI Platform
langchain_arcmira-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 23.7 kB

Release files / langchain_arcmira-0.1.5.tar.gz

Download URL langchain_arcmira-0.1.5.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8c36daff39ea05b8a821b79b4f622f82571bcefae63ea88e1af20ac4a0c3ed05
BLAKE2b-256 checksum
How to use checksums
68edce06331867edb92331292e2ade5cca015a66877381f236dedd818127809e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 10, 2026.

Transparency log

Release files / langchain_arcmira-0.1.5-py3-none-any.whl

Download URL langchain_arcmira-0.1.5-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33bc43a7b470b481436a41646f74dc35f83b2dbbcee5374bffb2aa388da5ac3c
BLAKE2b-256 checksum
How to use checksums
31ed0f4081cf82a70e0e5fcc05776204ab61a582c041def7043172753df48428
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 10, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.6

2 release files

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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