Remote Control lets other programs drive Xedant Agent for you — no browser needed. There are two ways: an HTTP API (a standard way for programs to talk to each other) — creating chats, sending prompts, managing the queue, and live SignalR events (real-time updates pushed to your program); and a file queue through Yandex.Disk (AgentRemote) — exchanging files that carry tasks and transcripts. The HTTP side has a page of its own, API: authentication with a key, every /api/remote command, the prompt queue, the bot list, the wider set of endpoints the same key unlocks, and live event updates. This page covers the file-based way through Yandex.Disk.
Remote Control through Yandex.Disk (AgentRemote)
Xedant Agent can work as a “file queue” through Yandex.Disk: drop a file with a task into the folder — the agent creates a chat, does the work, and puts the finished transcript back. You can steer the agent from any device that has Yandex.Disk, with no web interface and no SSH. A separate desktop app, AgentRemote (Windows), is built on the same mechanics: it watches the folder on Disk and shows chats and messages in a friendly interface.
How it works
- Turn the feature on: set the
AGENT_YANDEX_DISK_TOKENenvironment variable (your Disk OAuth token) — a background monitor starts by itself and begins watching the folder. - Drop a
.txtfile with a task into the folder root — it joins the queue and is processed in order. A numeric prefix in the file name (for example,01-fix-auth.txt) sets that order. Each prompt gets its own chat. - For follow-up messages, drop a
.txtfile inside the chat’s own folder (a subfolder named after the chat number) — it runs next in that chat. - Transcripts are saved back to Disk as
.mdfiles, one next to each prompt. Autofix runs are logged the same way, asautofix-*.txt/.mdfiles.
Environment variables
AGENT_YANDEX_DISK_TOKEN— your Yandex.Disk OAuth token; setting it turns the feature on;AGENT_YANDEX_DISK_FOLDER— the root folder of the queue (defaults toapp:/Yandex.Disk);AGENT_YANDEX_DISK_POLL_INTERVAL— how often to check for new files, in seconds (defaults to10).
For programmatic access to chats, prompts, and the queue over HTTP, see the API page.
Next: Telegram Bot →