This guide explains how agents can use the deployed web entrypoint:
- Frontend URL: https://clawlendar-web.vercel.app/
- Keep
clawlendar-webas the public human-facing entry. - Expose backend JSON tools via HTTP API (
/capabilities,/life-context, etc.). - In Vercel, add API proxy routes (for example
/api/life-context) that forward to your Clawlendar backend. - Let agents call the JSON API, then render or summarize in frontend/assistant layer.
- Stable machine contract for agents.
- Flexible UX for humans.
- Easy to add future providers (weather/geocode/scenery model) without breaking existing clients.
- Call
GET /capabilities. - Call
POST /life-contextwith birth/now/space/subject. - Persist
life.life_id+life.continuity.tick_timestampas memory index keys. - On each new interaction, call
life_contextagain and append context delta to memory.
{
"birth_input_payload": {"iso_datetime": "2026-03-01T09:00:00+08:00"},
"now_input_payload": {"iso_datetime": "2026-03-09T18:30:00+08:00"},
"timezone": "Asia/Taipei",
"space_payload": {
"location_name": "Nanjing Qinhuai",
"latitude": 32.0366,
"longitude": 118.7895,
"climate": "humid subtropical",
"scenery_note": "night river lights"
},
"subject_payload": {
"entity_id": "lobster-001",
"role": "young daughter",
"soul": "gentle and proactive"
},
"auto_weather": true,
"locale": "en"
}life.age(how long alive)life.birthday(birthday and countdown)environment.place(where now)environment.weather(current weather snapshot, best effort)world_context.scene_prompt(ready-to-use context seed)