langchain-capturekit
LangChain integration for CaptureKit: read web pages as clean Markdown and get an AI profile of a website.
Installation
pip install -U langchain-capturekit
export CAPTUREKIT_API_KEY="your-api-key"
Get an API key at app.capturekit.dev.
Tools
| Class | Tool name | What it does |
|---|---|---|
CaptureKitPageContent |
capturekit_page_content |
Load a web page in a real browser through CaptureKit and return it as Markdown. |
CaptureKitAnalyzePage |
capturekit_analyze_page |
Get an AI profile of a web page through CaptureKit. |
Each tool takes api_key (defaults to CAPTUREKIT_API_KEY), base_url and timeout, plus the settings shown in its docstring. Errors (invalid key, no credits, rate limit, timeout) come back to the model as a ToolException message, without the API key. Every tool has an async version.
from langchain_capturekit import CaptureKitPageContent
tool = CaptureKitPageContent()
print(tool.invoke({"url": "https://example.com"}))
In an agent
from langchain.agents import create_agent
from langchain_capturekit import CaptureKitPageContent, CaptureKitAnalyzePage
agent = create_agent("openai:gpt-4.1-mini", tools=[CaptureKitPageContent(), CaptureKitAnalyzePage()])
result = agent.invoke({"messages": [{"role": "user", "content": "..."}]})
Document loader
CaptureKitLoader loads pages as Markdown Documents, with source, title and description in the metadata:
from langchain_capturekit import CaptureKitLoader
docs = CaptureKitLoader(["https://example.com", "https://example.org"], continue_on_failure=True).load()
Development
pip install -e ".[test]"
pytest tests/unit_tests
License
MIT
Metadata
Release files for langchain-capturekit 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 | Provenance | Actions |
|---|---|---|---|---|
| langchain_capturekit-0.1.0.tar.gz | 8.7 kB | Without provenance | Details for langchain_capturekit-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| langchain_capturekit-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for langchain_capturekit-0.1.0-py3-none-any.whl |
Total release size: 17.5 kB
Release files / langchain_capturekit-0.1.0.tar.gz
| Download URL | langchain_capturekit-0.1.0.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d0f52adbf9c8e22ef4b02e667607e64770741819c13aef9167254b77a3140ba7
|
|
BLAKE2b-256 checksum How to use checksums |
44aedf8211280b2ccf25b23adc46d905edc8a898aed74ebf03bbfca76df198cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / langchain_capturekit-0.1.0-py3-none-any.whl
| Download URL | langchain_capturekit-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e7c027946c9ec3dce3f4aa46e25c2b8aed3f1e389b7572b7a87129343fa0e7c4
|
|
BLAKE2b-256 checksum How to use checksums |
328d2252ce4da6edf4fcc777622ef9d6315a4e58650b79dc413cc8585ecdd5ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for langchain-capturekit 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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.