AI PDF自动填充 是 AI Skill Hub 本期精选Agent工作流之一。综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
AI PDF自动填充 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
AI PDF自动填充 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:pip 安装(推荐)
pip install ai-pdf-autofiller
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install ai-pdf-autofiller
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/lindseystead/ai-pdf-autofiller
cd ai-pdf-autofiller
pip install -e .
# 验证安装
python -c "import ai_pdf_autofiller; print('安装成功')"
# 命令行使用
ai-pdf-autofiller --help
# 基本用法
ai-pdf-autofiller input_file -o output_file
# Python 代码中调用
import ai_pdf_autofiller
# 示例
result = ai_pdf_autofiller.process("input")
print(result)
# ai-pdf-autofiller 配置文件示例(config.yml) app: name: "ai-pdf-autofiller" debug: false log_level: "INFO" # 运行时指定配置文件 ai-pdf-autofiller --config config.yml # 或通过环境变量配置 export AI_PDF_AUTOFILLER_API_KEY="your-key" export AI_PDF_AUTOFILLER_OUTPUT_DIR="./output"
Backend service for filling AcroForm PDFs from structured user data.
The project favors deterministic behavior first: it normalizes keys, applies stable aliases, coerces values, and only uses optional semantic inference or controlled fallback mapping when explicitly enabled. The result is a small, testable pipeline that is easier to audit than heuristic-only form filling.
Install development dependencies:
poetry install
or
pip install -r requirements-dev.txt
Run the API locally:
make run-api
Run the local smoke check:
PYTHONPATH=src python -m scripts.smoke_check
Run the demo workflow against the bundled sample:
PYTHONPATH=src python -m scripts.demo_workflow samples/sample_form.pdf
curl -s -X POST http://localhost:8000/fill \
-F "pdf_file=@samples/sample_form.pdf;type=application/pdf" \
-F 'user_data={"firstname":"Jane","lastname":"Doe","dob":"1990-01-01"}' \
-F "strict=true" \
-o filled.pdf
MODEL_PROVIDER_API_KEY: enables semantic inference and fallback mappingAPI_AUTH_ENABLED: API key validation on POST /fill (default true; set false for trusted/local use)API_AUTH_TOKEN: expected token value when auth is enabledAPI_KEY_HEADER: header name used for the incoming tokenMAX_UPLOAD_BYTES: maximum accepted PDF size in bytesMAX_PDF_PAGES: maximum accepted page count (default 200)PDF_READ_TIMEOUT_SECONDS: budget for PDF parsing/extraction (default 20)RATE_LIMIT_PER_MINUTE: per-client POST /fill budget; 0 disables (default 60)LOG_LEVEL: process log level for the API service高效的PDF自动填充工具,值得使用
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,AI PDF自动填充 在Agent工作流赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | ai-pdf-autofiller |
| 原始描述 | 开源AI工作流:Automated PDF form filling with intelligent field mapping using AI-assisted sema。⭐10 · Python |
| Topics | ai-automationbackenddata-mappingdocument-automation |
| GitHub | https://github.com/lindseystead/ai-pdf-autofiller |
| License | MIT |
| 语言 | Python |
收录时间:2026-05-31 · 更新时间:2026-06-02 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端