You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Standalone API-first beta application for safe Yandex Direct automation for small business.
3
+
DirectPilot is an API-first backend service for safe interaction with Yandex Direct, Yandex Metrika, and Wordstat. It is designed for programmatic integration only (REST/JSON API) and stores no business logic in external UIs.
4
4
5
-
## Boundary
5
+
## Current product mode
6
6
7
-
DirectPilot is not part of Hermes. Hermes, another agent, a web UI, or any other model should use the same REST/JSON API. DirectPilot owns Yandex OAuth tokens, Direct/Metrica integrations, permissions, budget limits, approval pipeline, and audit log.
8
-
9
-
## MVP mode
10
-
11
-
Default mode is `mock`: no calls to Yandex and no write actions. Real/sandbox Yandex access is configured via local `.env` only.
12
-
13
-
## Current Yandex access check
14
-
15
-
Local credentials were copied from the user's Obsidian note into `.env` with `chmod 600`.
16
-
17
-
- Yandex OAuth token check: PASS via `https://login.yandex.ru/info?format=json`.
18
-
- Yandex Direct API `clients.get`: BLOCKED by Yandex with error code `58` / `Незавершенная регистрация` — the app access request must be completed in the Direct interface and approved before Direct API calls will work.
19
-
- Current local mode: `sandbox`; DirectPilot targets `https://api-sandbox.direct.yandex.com/json/v5` for Direct API checks.
20
-
21
-
See: `docs/yandex-access-status.md`.
22
-
23
-
## Documentation
24
-
25
-
-`docs/API_SIMPLE.md` — human-readable API guide in Russian: campaign drafts, keywords, negative keywords, ad groups, ads, validation, preview, budget/bids, Yandex read-only facade, pause/resume.
26
-
-`docs/implementation_scope.md` — selected implementation scope and safety boundary.
27
-
28
-
## References
29
-
30
-
-`docs/references/elama-vs-promopult.md` — comparison of eLama and PromoPult: what to borrow for DirectPilot Beta and what to avoid in MVP.
7
+
- Orientation: **live-first**
8
+
- Active testing/runtime mode: **`live_readonly`**
9
+
- Behavior: production Yandex data is read in real-time; write operations are blocked unless explicitly enabled.
31
10
32
11
## Quick start
33
12
34
13
```bash
35
14
uv sync
36
-
uv run pytest -q
37
-
uv run uvicorn app.main:app --reload
15
+
uv run uvicorn app.main:app --reload --host 127.0.0.1 --port 8000
38
16
```
39
17
40
-
OpenAPI: http://127.0.0.1:8000/openapi.json
18
+
- Local OpenAPI: `http://127.0.0.1:8000/openapi.json`
0 commit comments