- Home
- Skills
- Game Development
- farmer-bridge
More screenshots
Works with the AI Agents you already use
Farmer Bridge
Local BepInEx bridge skill for The Farmer Was Replaced: read farm, grid, drones and tech tree, write and run game code, load a save — over a loopback JSON API on Windows.
Free
farmer-bridge
Example session with this skill installed
What is planted on my farm right now, and is anything ready to harvest?
- Read your context and instructions
- Compiled the farmer-bridge
GET /health -> {"ok":true,"bridge":"farmer-bridge","version":"0.1.4","port":15800}
GET /state -> world 16x16, dlc "Mining", execution active
{
"ok": true, "world": [16,16], "maxUncoveredDepth": 0,
"cells": [
{"x":0,"y":0,"entity":"Pumpkin","name":"pumpkin","grown":true,"growPct":1},
{"x":1,"y":0,"entity":"Pumpkin","name":"pumpkin","grown":true,"growPct":1},
{"x":2,"y":0,"entity":"Pumpkin","name":"pumpkin","grown":true,"growPct":1},
"... 6 more cells, all Pumpkin / pumpkin / grown / 1.0"
]
}
Summary: the sampled 3x3 block is a fully grown pumpkin field; water is 0 and no companion entity is attached, so the agent can queue a harvest routine or check the rest of the 16x16 board with grid --w 16 --h 16.
Next steps
python scripts/farmer.py grid --x 0 --y 0 --w 16 --h 16python scripts/farmer.py run --name mainpython scripts/farmer.py output
Connects securely to your tools. The creator never sees your data.
About this skill
farmer-bridge is a Windows skill that lets an agent play and inspect The Farmer Was Replaced through a local bridge. The game-side BepInEx plugin exposes the simulation as JSON on 127.0.0.1:15800; the skill teaches the agent how to check the bridge, read state, write code to a code page, run it, and read the output.
It is meant for single-player automation and analysis: inspect what is planted where, check drone positions and the tech tree, run a scripted routine, or load a specific save before a session. Typical requests: what is on my farm, run this code in the game, buy the loops upgrade, load my save.
This skill does not bundle the game, BepInEx or the plugin DLL. You install the game and BepInEx 5.4.23.6 (x64); the plugin DLL is the one part the agent can fetch for you. If the bridge is missing and you explicitly approve it, the skill downloads the latest farmer-bridge-v*.zip plus its SHA256SUMS.txt from the official GitHub release, verifies the hash, and extracts only FarmerBridge.dll into <game>\BepInEx\plugins. Without your approval it only prints the release link. It never downloads BepInEx or the game.
Requirements: Windows 10/11, Python 3.9+ (client uses only the standard library), The Farmer Was Replaced, BepInEx 5.4.23.6 x64, and FarmerBridge 0.1.3+ installed by the user.
What it does:
- checks GET /health before doing anything and reports how to fix a missing bridge;
- reads state, grid (surface and underground via depth), drones, items, unlocks, tech, doc, files, execution, output;
- writes source into a code page (/file, /code), runs it (/run), stops or steps it (/stop, /step);
- buys tech by the game's own rules (/buy, spends materials);
- saves and loads, and starts a save by name (/save, /load, /start);
- with explicit user approval, installs the plugin DLL from the official release, verifying SHA256 and extracting only that file.
What it does not do: no screenshots, OCR, mouse or keyboard simulation; no game memory edits of its own — it only calls the plugin's documented JSON endpoints; no anti-cheat or multi-player interaction; no downloads without explicit approval, and never BepInEx or the game; no game files, saves, BepInEx binaries or DLLs are bundled in this package.
- Windows only; the bridge talks to the Windows game build through BepInEx.
- The game and BepInEx are not included; without them the skill cannot do anything. The plugin DLL can be installed by the agent, but only with your explicit approval.
- The bridge binds to 127.0.0.1 with no authentication — never expose the port.
- /code, /run, /buy and /save change game state or the save; confirm before running them.
- Game updates can change internal types; the plugin may need an update before the skill works again.
- A save name containing /, \ or .. is rejected by the plugin.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 5 days ago
- Free with an Agensi account
Requires
Permissions
File Scopes
The skill reads its own Python scripts and sends JSON to the local bridge at 127.0.0.1:15800. Its only outbound request is the official GitHub release download, and only after you approve installing the plugin. It uses no accounts or API keys; the only file it writes outside the skill directory is FarmerBridge.dll in BepInEx\plugins\, after that approval.