专利搜索工具 是 AI Skill Hub 本期精选AI工具之一。综合评分 8.0 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
专利搜索工具 是一款基于 Rust 开发的开源工具,专注于 ai、cli、command-line-tool 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
专利搜索工具 是一款基于 Rust 开发的开源工具,专注于 ai、cli、command-line-tool 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:cargo install(推荐) cargo install patent # 方式二:从源码编译 git clone https://github.com/r14dd/patent cd patent cargo build --release # 二进制在 ./target/release/patent
# 查看帮助 patent --help # 基本运行 patent [options] <input> # 详细使用说明请查阅文档 # https://github.com/r14dd/patent
# patent 配置说明 # 查看配置选项 patent --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export PATENT_CONFIG="/path/to/config.yml"
<p align="center"> <img src="https://raw.githubusercontent.com/r14dd/patent/main/.github/logo-light.svg" width="600" alt="patent"> </p>
cargo install patent
Pre-built binaries are on the releases page.
Ollama (optional) powers the LLM verdict — install from ollama.com, then ollama pull qwen2.5. Use --fast to skip it entirely.
GitHub token (optional) — set GITHUB_TOKEN to raise the search rate limit from 10 to 30 requests/minute.
Linux build deps — needed before cargo install: - Fedora / RHEL: sudo dnf install openssl-devel gcc-c++ - Ubuntu / Debian: sudo apt install libssl-dev g++
glibc 2.38+ — both the prebuilt binaries and a from-source cargo install require glibc 2.38 or newer (Ubuntu 22.10+, Debian 12+, Fedora 38+). The bundled ONNX Runtime that powers local semantic search depends on it. On older distributions such as Ubuntu 22.04 (glibc 2.35), build inside a newer toolchain — e.g. a debian:12 / ubuntu:24.04 container — rather than on the host (#37).
patent "interactive cli to kill whatever's on a port"
```bash
| Flag | Description | Default |
|---|---|---|
--fast | no LLM, no wait — verdict derived from similarity scores | — |
--json | stdout JSON instead of the TUI | — |
--model <MODEL> | model name for the verdict; or PATENT_MODEL | qwen2.5 |
--api-base <URL> | OpenAI-compatible base URL (must end in /v1); or PATENT_API_BASE | — |
--api-key <KEY> | API key for --api-base; or PATENT_API_KEY / OPENAI_API_KEY | — |
--limit <N> | max matches to keep after ranking | 50 |
--completions <SHELL> | print shell completions and exit | — |
Settings can also be stored in a config.toml in your platform's config directory:
~/.config/patent/config.toml~/Library/Application Support/patent/config.toml%APPDATA%\patent\config.tomlmodel = "gpt-4o-mini"
api_base = "https://api.openai.com/v1"
api_key = "sk-..."
Precedence: CLI flag > environment variable > config file > built-in default.
Privacy: with--api-base, your search query is sent to that remote server to generate the verdict. The default local Ollama backend — and--fast, which skips the LLM entirely — keep everything on your machine.
高效的代码创意搜索工具,值得使用
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
经综合评估,专利搜索工具 在AI工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | patent |
| Topics | aiclicommand-line-tooldeveloper-toolsembeddingsrust |
| GitHub | https://github.com/r14dd/patent |
| License | Apache-2.0 |
| 语言 | Rust |
收录时间:2026-07-07 · 更新时间:2026-07-07 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。