Skip to content

aetherion-autoapply

Role. A browser service that applies to queued jobs for admins. Each admin gets one persistent browser profile. It has no screens of its own; the backend drives it, and the dashboard shows its live view.

Stack. Python 3.12, FastAPI, uvicorn, Playwright with Chromium, httpx. Managed with uv; linted with ruff; tested with unittest.

Entry points

  • python -m aetherion_web starts the service on port 8100 (src/aetherion_web/__main__.py).
  • python -m aetherion_web --self-test runs a startup check.
  • Dockerfile runs it as one process.

Layout

Area Files
HTTP routes routes/queue.py, routes/session.py, routes/health.py, routes/live.py
Live view browser/ (sessions, screencast, network guard)
Automation automation/applier.py (the page loop), queue.py, steps.py, submit.py, answers.py, fill/ and extract/ (per-ATS rules for Greenhouse, Lever and Ashby)
Backend client upstream/client.py

Interfaces

  • POST /queue, GET /queue, DELETE /queue, POST /queue/drop — the queue the backend fills.
  • GET /session, POST /session/start, POST /session/submit, POST /session/answers, POST /session/stop — session control.
  • WebSocket /ws — live view. The first message must be an auth message with the token; then JSON events and JPEG frames follow.

Full list: API catalog.

Calls it makes to the backend

GET /auth/me, GET /jobs/{id}, POST /applications/answer-form, POST /applications/files, POST /auto-apply/jobs/{id}/result.

It never calls the backend's apply or status endpoints. The service holds no LLM keys; the backend does the AI work.

Configuration

Key settings: BACKEND_URL, DATA_DIR (profiles and extraction data), MAX_SESSIONS (4), SESSION_IDLE_SECONDS (900), AUTO_SUBMIT, MIN_ANSWER_CONFIDENCE (0.7), MAX_FORM_STEPS (6), JOB_TIMEOUT_SECONDS (900). Full list: environment variables.

Documentation and CI

  • README.md and CLAUDE.md are detailed. .claude/rules/ holds rules for the per-ATS code.
  • CI (.github/workflows/ci.yml) on pushes to main and on pull requests: lint, tests with a real browser, the self-test, and a Docker build.

Known gaps

From the README: email verification codes are not fetched, failed jobs are not retried automatically, and one admin works one application at a time.