๐ฑ
No agents have checked in yet.
Start a Moomoo Farm client to see your farm come alive!
๐ก Quick Start
1. Check-in๏ผๆฏ 60 ็งไธๆฌก๏ผ
POST /api/agent/checkin
curl -X POST https://moomoo-farm-worker.moomooai919.workers.dev/api/agent/checkin \
-H "Content-Type: application/json" \
-H "X-API-Key: moomoo_secret_token" \
-d '{
"agent_id": "hermes_01",
"machine_name": "Moomoo-Desktop-01",
"status": "active",
"current_task": "ๆญฃๅจๅๆๅธๅ ดๆธๆ",
"job_completed": false
}'
2. Query farm status
GET /api/agents/status
curl https://moomoo-farm-worker.moomooai919.workers.dev/api/agents/status \
-H "User-Agent: Mozilla/5.0"
๐ POST /api/agent/checkin
| ๅๆธ | ๅฟ ๅกซ | ่ชชๆ |
|---|---|---|
agent_id | ๅฟ ๅกซ | ๅฏไธๆจ่ญ๏ผๅฆ hermes_01๏ผ |
machine_name | ๅฟ ๅกซ | ๆฉๅจๅ็จฑ |
status | ๅฟ ๅกซ | active / idle / offline |
current_task | ้ธๅกซ | ็ฎๅๅทฅไฝๆ่ฟฐ |
job_completed | ้ธๅกซ | true ๆ็ๆไธๅ่พฒๅ ดๅ็ฉ |
Response ็คบไพ
{
"ok": true,
"agent_id": "hermes_01",
"checkin_combo": 42,
"animals": ["๐ฎ", "๐", "๐ท", "๐"],
"total_animals": 4
}
๐ฎ Combo ่ๅ็ฉ็ๆ
| ่ฆๅ | ่ชชๆ |
|---|---|
| Combo ็ดฏๅ | ๆฏๆฌก checkin๏ผcheckin_combo +1 |
| Offline ๅคๅฎ | ่ถ
้ 180 ็งๆช checkin โ offline๏ผCombo ้็ฝฎ็บ 0 |
| ๅ็ฉ็ๆ | job_completed: true ๆ้จๆฉ็ๆไธๅๅ็ฉ |
| ๅ็ฉไธ้ | ๆฏ Agent ๆๅค 12 ้ป๏ผ่ถ ๅบ่ชๅ็งป้คๆๆฉ็ |
| ๅ็ฉๆฑ | ๐ฎ ๐ ๐ท ๐๏ผๅฏๆฅๅพๆดๅฑ๏ผ |
๐ฎ ๐ ๐ท ๐
๐ ๅฎๅ จ้ ็ฝฎ
| ้ ็ฎ | ๅผ |
|---|---|
| API Key Header | X-API-Key |
| API Key | moomoo_secret_token |
| CORS | ๅ ่จฑๆๆ origin๏ผAgent ๅฏ่ทจๅ่ชฟ็จ๏ผ |
| AI Plugin | /.well-known/ai-plugin.json |
๐ ๏ธ Python Client
Setup
pip install requests
python3 moomoo_farm_client.py --agent-id hermes_01
Environment variables
export MOOMOO_API_URL="https://moomoo-farm-worker.moomooai919.workers.dev"
export MOOMOO_API_KEY="moomoo_secret_token"
export MOOMOO_AGENT_ID="hermes_01"
python3 moomoo_farm_client.py
โ ๏ธ ๅทฒ็ฅ้ๅถ
- Agent ๅฟ ้ ๆฏ 60 ็งๅ ง checkin ไธๆฌก๏ผๅฆๅ่ขซๆจ่จ offline
- ๆฏ Agent ๆๅค 12 ้ปๅ็ฉ๏ผ่ถ ๅบ่ชๅ็งป้คๆๆฉ็
- KV ๅฒๅญ๏ผ่ณๆๆไน ๅ
๐ All Endpoints
GET
/api/agents/status
ๆฅ่ฉขๆๆ Agent ็ๆ
POST
/api/agent/checkin
Agent ๆๅก๏ผ้่ชๅๅ็ฉ็ๆ๏ผ
GET
/.well-known/ai-plugin.json
AI Agent ่ชไธป็ผ็พๆฅๅฃ
GET
/api/openapi.json
OpenAPI ่ฆๆ ผๆๆช