Spaces:
Running
Running
|
Download README.md from sitcod3/dracull-agent: direct link, hf CLI and curl.
- Browser
- Download file 1.17 kB
-
https://huggingface.co/spaces/sitcod3/dracull-agent/resolve/main/README.md
- Command line
-
hf download hf://spaces/sitcod3/dracull-agent/README.md
-
curl -L -o README.md https://huggingface.co/spaces/sitcod3/dracull-agent/resolve/main/README.md
1.17 kB
| title: Dracull Agent | |
| emoji: "\U0001F9DB" | |
| colorFrom: purple | |
| colorTo: indigo | |
| sdk: docker | |
| app_port: 7860 | |
| pinned: false | |
| # Dracull Agent backend (Docker Space) | |
| The Python agent backend for the Dracull browser-automation app, hosted as a | |
| Hugging Face Docker Space. It serves the full `/api/*` surface the dashboard | |
| SPA knows: sessions, tasks, engines (dual-browser chrome/firefox), contexts, | |
| browse, search, HITL, settings, voice, research, and chat with the tool loop. | |
| - Frontend (Cloudflare Workers): https://dracull.dracull.workers.dev | |
| - Space API: `https://sitcod3-dracull-agent.hf.space/api/*` | |
| - Auth: when `APP_ACCESS_TOKEN` is set, every `/api/*` route except | |
| `/api/health` and `/api/auth/login` requires `Authorization: Bearer <token>` | |
| (constant-time compared). `POST /api/auth/login {"password": ...}` exchanges | |
| the password for the token. | |
| - CORS: only origins listed in `CORS_ALLOWED_ORIGINS` may call the API from a | |
| browser. The Cloudflare Worker gateway injects the token server-side, so the | |
| browser never handles it. | |
| Local equivalent: repo `backend/Dockerfile.agent` + root `docker-compose.yml` | |
| (same aiohttp server, port 8766 behind nginx). | |