-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathllms.txt
More file actions
55 lines (37 loc) · 1.45 KB
/
Copy pathllms.txt
File metadata and controls
55 lines (37 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# DocForge
> Document → Clean Markdown / Chunks for RAG + agent ingest
**GitHub:** https://github.com/bdeeps/docforge
**Live demo:** https://docforge.konsole.one
DocForge converts PDF, HTML, DOCX, and text into normalized Markdown plus deterministic chunked JSON with token estimates.
## Start here (agents)
- [Agent guide (AGENTS.md)](/AGENTS.md): self-registration, MCP, REST, chunking
- [Agent manifest (JSON)](/api/v1/agent-manifest): machine-readable discovery
- [Cursor skill](/docs/skill.md): step-by-step agent instructions
## Documentation
- [FAQ (AEO)](/docs/faq.md): 24 Q&A — formats, chunking, registration, MCP, troubleshooting
- [MCP reference](/docs/agents/mcp.md)
- [REST API reference](/docs/agents/rest.md)
- [Chunking strategies](/docs/agents/chunking.md)
- [OpenAPI interactive docs](/api/docs)
## Self-register
```http
POST /api/v1/agents/register
Content-Type: application/json
{ "name": "your-agent-name", "capabilities": ["ingest", "chunk"] }
```
Save `api_key` from the response (shown once).
## Ingest a document
```http
POST /api/v1/ingest
X-DocForge-Key: df_YOUR_KEY
Content-Type: multipart/form-data
file=@document.pdf
strategy=headings
max_tokens=512
```
## MCP
Command: `docforge-mcp`
Tools: `register_agent`, `ingest_document`, `chunk_markdown`, `convert_document`, `get_agent_manifest`, `agent_whoami`, `health_check`
## Optional
- [Human UI](/): upload, chunk config, preview
- [Well-known manifest](/.well-known/docforge.json)