DEXPULL — Local AI Hub
Back to product

Product documentation

Dexpull PC Agent

A local AI agent that chats with you, searches your entire PC with exclusions, reads file excerpts and launches installed Dexpull products.

Paste this link into ChatGPT and it will understand the full setup:/api/docs/pc-agent

Dexpull PC Agent — full setup and usage guide

Dexpull PC Agent makes your own computer AI-powered. It chats through your local Ollama model, finds files across your drives, and can launch Dexpull products. Nothing is uploaded: inference, indexing and file reads all happen on this machine.

1. Download and install

Sign in at https://dexpull.in
Open Products -> Dexpull PC Agent
Issue a free 30-day key and press "Download for localhost"

Then:

Expand-Archive .\dexpull-pc-agent.zip -DestinationPath .\dexpull-pc-agent -Force
cd .\dexpull-pc-agent
setup-windows.cmd
start-agent.cmd

The start script prints a local admin token and opens http://localhost:3200. Paste the token once; the browser stores it on this machine only.

2. Requirements and configuration

Windows 10/11, Python 3.10+
Ollama with qwen3:4b (install it from Model Manager in YouTube Automation)

Optional environment variables:

DEXPULL_AGENT_ROOT=E:\YouTubeAI\pc-agent
DEXPULL_AGENT_MODEL=qwen3:4b
DEXPULL_AGENT_MAX_FILE_KB=256
DEXPULL_AGENT_MAX_FILES=200000
OLLAMA_URL=http://127.0.0.1:11434

3. Full-disk index with exclusions

Indexing walks all drives and stores text in SQLite FTS5. It never uploads file contents.

Always excluded:

Windows, Program Files, Program Files (x86), ProgramData, $Recycle.Bin
node_modules, .venv, .git, .next, __pycache__, site-packages, AppData, Temp, Cache
media/binaries, files over 256 KB by default, and the agent's own database folder
.env*, id_rsa, credentials.json, youtube_token.json, Google client-secret JSON files

Use the Index tab and press "Start full-disk index". Progress shows processed, indexed and error counts live. The default cap is 200,000 files.

4. Chat and file finding

Find files: search file names and text content, with snippets from the local index
Chat: matching snippets are added to the Ollama prompt as local context
The answer lists the source file paths it actually used
If no file matches, the model answers without file context and says so

Voice input in the chat uses Whisper Tiny in the browser, the same on-device model as the WhatsApp product. The model is downloaded once and cached locally.

5. Product launcher

The Products tab lists four allowlisted entries:

Dexpull YouTube Automation   D:\AAYoutubeVideoUplaoding  start-studio.cmd   :3000
Dexpull WhatsApp Automation  D:\DexpullWhatsAppAutomation start-whatsapp.cmd :3100
Dexpull PC Agent             D:\DexpullPCAgent           start-agent.cmd    :3200
Dexpull Platform             E:\dexpull                  npm run dev        :4000

Only these registered products can be launched. Arbitrary commands are never accepted.

6. File structure

dexpull-pc-agent\
  setup-windows.cmd
  start-agent.cmd
  README.md
  static\
    index.html          Dexpull-styled single-page UI
    styles.css          Dexpull light / pure-black dark tokens
    app.js              chat, search, products, index, voice
    dexpull-logo*.svg
  backend\
    requirements.txt
    run.py              uvicorn on 127.0.0.1:3200
    tools\print_token.py
    app\
      config.py         paths, exclusions, product registry
      db.py             SQLite + FTS5
      indexer.py        bounded full-disk indexer
      main.py           API + static UI

7. API and admin token

Every API except /api/health requires the header X-Admin-Token:

POST /api/admin/index          start indexing
GET  /api/admin/index/status   progress
POST /api/search               { q, limit }
POST /api/file                 { path } -> text excerpt
GET  /api/products             installed products
POST /api/launch               { product_id } -> allowlisted launch only
POST /api/chat                 { message, use_files } -> { answer, sources, model }

The token is generated once at E:\YouTubeAI\pc-agent\admin.token. There is deliberately no API endpoint that returns it; it is printed only in the terminal by start-agent.cmd.

8. Verification

curl http://127.0.0.1:3200/api/health
Open http://localhost:3200 and paste the token
Start an index, then search for a word you know exists
Ask a question in Chat and confirm the answer cites real source paths

9. Security notes

Full-disk indexing, file reads, search and launching require the admin token
Only four registered products can be launched
Ollama runs locally at 127.0.0.1:11434
Browser voice inference is on-device after a one-time model download
Secret filenames and media are excluded, but you should still review exclusions for your machine

10. Paste this into ChatGPT

https://dexpull.in/api/docs/pc-agent

Copy that URL into ChatGPT. It returns plain Markdown with Content-Type text/markdown, including the commands, exclusions, ports, file structure and security notes.