ratchet-research
Deep research capability for the Ratchet framework.
Install
pip install ratchet-research
What it does
Give your agent a research question. It decomposes it into sub-queries, searches the web, fetches page content, synthesizes everything into a cited report, and stores the result for future retrieval.
from ratchet.research import ResearchModule
# Register with your agent
agent.register(ResearchModule())
# Or use the pipeline directly
from ratchet.research import research
report = research("What are the latest improvements to transformer attention mechanisms?")
print(report.synthesis.summary)
Pipeline
- Plan — LLM decomposes question into 3-6 focused sub-queries
- Search — Web search via Brave, Serper, or DuckDuckGo (auto-detect)
- Fetch — Extract text content from result pages
- Synthesize — LLM combines sources into a cited report with confidence rating
- Store — Persist to JSONL with TF-IDF vector search for retrieval
Search providers
Set one of these environment variables to use a paid search API:
BRAVE_API_KEY— Brave Search (recommended)SERPER_API_KEY— Serper (Google results)
No key? Falls back to DuckDuckGo HTML scraping automatically.
License
MIT
Metadata
Release files for ratchet-research 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 |
|---|---|---|---|---|
| ratchet_research-0.1.0.tar.gz | 10.0 kB | Without provenance | Details for ratchet_research-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ratchet_research-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for ratchet_research-0.1.0-py3-none-any.whl |
Total release size: 23.9 kB
Release files / ratchet_research-0.1.0.tar.gz
| Download URL | ratchet_research-0.1.0.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3470607f9bc2b0f3a0ffc83b5b92ea3ce0f27b505cd2c1e280db618b6fc2ccb0
|
|
BLAKE2b-256 checksum How to use checksums |
9c298a5912fdbd27465bb89a317211df0517f62fc5ba54929b11051f42892c22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / ratchet_research-0.1.0-py3-none-any.whl
| Download URL | ratchet_research-0.1.0-py3-none-any.whl |
|---|---|
| Size | 13.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83bb276a6f3b9b57fb5baaeb25c8dfb1db9703c73ea36521aefd3aea5a613139
|
|
BLAKE2b-256 checksum How to use checksums |
97f0dcf72d15c361270c9c42f9ac51fca61bbd7e560d07bcf8b7a4a82aa66cb8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Security for ratchet-research 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.