What It Is
Josty queries public search backends through ddgs in a measured order, one engine at a time, and stops once two distinct search indexes have answered, with mwmbl's rows fused but not counted (#105); it fuses rankings with Cormack-Clarke Reciprocal Rank Fusion (RRF), canonicalizes URLs, and optionally extracts bounded page text.
It also calls Mwmbl's keyless JSON search API directly. ddgs has no Mwmbl engine, so this one source is a native adapter: still one bounded call per query variant, still no key. Its rows are fused like any other engine's (#105). It takes only a query, so a run with --time-limit or --region reports the source as not_applicable (which does not make the run degraded) rather than returning results that ignore the filter, and --safe-search on makes it not_applicable too (see the skill's option table for which engines apply that hint at all).
It is designed for AI agents and developer scripts that need a self-contained search step without API keys, background daemons, or browser engines.
┌──────────────────────────────┐
│ Local Agent / Script Step │
└──────────────┬───────────────┘
│ single search execution
▼
┌──────────────────────────────┐
│ Josty │
│ - Bounded parallel fanout │
│ - Domain-weighted RRF (k=60)│
│ - In-process breaker & cache│
│ - Trafilatura text extract │
└──────────────┬───────────────┘
│
▼
┌──────────────────────────────┐
│ Public Backends │
│ via ddgs: Brave,DuckDuckGo, │
│ Yahoo, Mojeek, Startpage, │
│ Google │
│ native: Mwmbl (keyless JSON)│
└──────────────────────────────┘
Installation
# Run instantly with uvx (no install step needed):
uvx josty "Python 3.13 features" --limit 5
# Or install globally:
uv tool install josty
# or: pipx install josty
Quickstart
# 1. Basic search (returns top 5 results):
josty "Python 3.13 release highlights" --limit 5
# 2. Boost technical documentation domains (dev profile):
josty "FastAPI dependency injection" --profile dev --limit 5
# 3. Restrict search to specific domains (up to 5):
josty "httpx connection pool timeout" --site github.com --site python-httpx.org
# 4. Extract bounded Markdown page text from top results:
josty "RRF rank fusion algorithm" --limit 3 --fetch
# 5. Unix pipeline (stream search results straight into fetch):
josty search "FastAPI dependency injection" --limit 3 | josty fetch --stdin
Output & Status Contract
Normal searches emit one JSON document on stdout. Diagnostics and warnings route strictly to stderr.
{
"schema_version": "1.0",
"query": "FastAPI dependency injection",
"status": "complete",
"count": 3,
"partial": false,
"cached": false,
"provider_count": 7,
"nonempty_provider_count": 2,
"coverage": 0.286,
"providers": [...],
"results": [
{
"title": "Dependencies - FastAPI",
"url": "https://fastapi.tiangolo.com/tutorial/dependencies/",
"snippet": "FastAPI has a very powerful but intuitive Dependency Injection system...",
"sources": ["duckduckgo", "brave"],
"score": 0.039024,
"content": null
}
]
}
Status Values & Exit Codes
| Status | Meaning | Exit Code |
|---|---|---|
complete |
Results found; no backend failed. | 0 |
empty |
No results found; no backend failed (count=0). |
0 |
degraded |
Results found, but at least one backend failed; or page extraction failed. | 0 |
failed |
Every attempted backend failed; zero results returned. | 1 |
| Validation Error | Invalid CLI options or empty query. | 2 |
Limitations & Non-Goals
- No Privacy or Anonymity Guarantees: Josty does not proxy or anonymize traffic. Queries are sent directly to upstream search engines.
- Best-Effort Availability: Upstream public engines may throttle (HTTP 429), present anti-bot challenges, or change response formats. Josty isolates failures via circuit breakers and surfaces errors honestly rather than hiding them behind infinite retries.
- Not a Search Engine: Josty does not maintain an index or crawl the web. It is a lightweight client adapter over
ddgsand Mwmbl's public search API. - No Hidden Query Rewriting: If a search returns empty, Josty reports
status: "empty". The caller decides whether to broaden terms or adjust site filters. - No Proxy Configuration of Its Own: Josty has no
--proxyflag. Engine calls made throughddgs/primp inheritHTTP_PROXY,HTTPS_PROXY,ALL_PROXYandNO_PROXYfrom the environment; Mwmbl, GitHub, page fetch and--diagnoseopen direct connections and ignore those variables. On a proxied network, search can work while fetch/diagnose fail. If your proxy or VPN answers DNS with fake addresses in198.18.0.0/15, fetch refuses every host; pass--allow-fake-ip(or setJOSTY_ALLOW_FAKE_IP=1, orJosty(allow_fake_ip=True)) to let that one range through. Loopback, private, link-local and metadata addresses stay blocked. - Honest Fetch Identity:
--fetchidentifies itself asjosty/<version>and sends no browser client hints or browser User-Agent. Sites that only serve browsers may refuse it; the failure is reported rather than disguised.
Documentation
- Agent Tool Specification:
.agents/skills/josty/SKILL.md(full flag specifications, schemas, provider telemetry, and agent research rules). - Coding Agent Guide:
AGENTS.md(invariants, test commands, and module layout for agents working on this codebase). - Security Policy:
SECURITY.md.
Metadata
Release files for josty 0.11.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 |
|---|---|---|---|---|
| josty-0.11.0.tar.gz | 185.6 kB | With provenance | Details for josty-0.11.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| josty-0.11.0-py3-none-any.whl | Python 3 | none | any | Details for josty-0.11.0-py3-none-any.whl |
Total release size: 258.2 kB
Release files / josty-0.11.0.tar.gz
| Download URL | josty-0.11.0.tar.gz |
|---|---|
| Size | 185.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4591d41a7d97071c0e1dd001496276ee8f31ff9a1670a82adc30a668cc885800
|
|
BLAKE2b-256 checksum How to use checksums |
f222fc90b58f433945a7a8ce66605964c328424704924d744914f3367237ff9d
|
| 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 26, 2026.
Transparency logRelease files / josty-0.11.0-py3-none-any.whl
| Download URL | josty-0.11.0-py3-none-any.whl |
|---|---|
| Size | 72.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
94ec766cde009c2d1fe6c1dfa29178a1e3cc13e3d3403007f70285ae7f1fdffe
|
|
BLAKE2b-256 checksum How to use checksums |
7548edf5657aa1ba18a09eebff205c1aa2a61a8674b2bd363afc948471c8ad96
|
| 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 26, 2026.
Transparency logSecurity for josty 0.11.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for josty-0.11.0.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 26, 2026.
Transparency logA 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.