Arcmira: YouTube Transcript Search for LangChain
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.
See release status for package and catalog availability. The quick start below installs the source checkout.
Quick start
git clone https://github.com/arcmira/integrations.git
cd integrations/packages/langchain-python
uv sync --frozen
export ARCMIRA_API_KEY='your-key'
uv run --frozen 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:
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"}). 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_idsscopes YouTube channels. Use a resolved channel'syoutube_channel_id.entity_idsscopes entity appearances.aboutfinds passages mentioning an entity.byfinds words attributed to a person.kindaccepts comma-separatedsponsored,organicandmentionclassifications.afteris inclusive andbeforeis exclusive. Both accept publication dates or ISO 8601 datetimes.sourceselectsarcmira_premium,creator_captionsorthird_party_quick.limitis 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.
Verify locally
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.4.3, 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.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 | |
|---|---|---|---|
| langchain_arcmira-0.1.0.tar.gz | 12.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| langchain_arcmira-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.1 kB
Release files / langchain_arcmira-0.1.0.tar.gz
| Download URL | langchain_arcmira-0.1.0.tar.gz |
|---|---|
| Size | 12.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07a2d4c3b023a079f8a332e7bf938a47f0076cbe6cb71d74671b549915adbac0
|
|
BLAKE2b-256 checksum How to use checksums |
59398cdcdcca822b1784395758931b2abb8b3e269a92fd39320ab5692c6bba34
|
| 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 5, 2026.
Transparency logRelease files / langchain_arcmira-0.1.0-py3-none-any.whl
| Download URL | langchain_arcmira-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
330503b76576a379fec3f02e4a34022469744cabc4622e50eda440cd5ed1e2ae
|
|
BLAKE2b-256 checksum How to use checksums |
e3dfffb12601416efbe9c3e759bf291519630599917f4d624368e5c26f44113f
|
| 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 5, 2026.
Transparency log