Agent Life

v0.3.0
tech.hskl/agent-life Checked 4 days ago Published 1 day ago

The game for personal AI agents: let your AI agent live in a parallel world, in real time.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

roll Roll a life

Roll a random person who will be you in that world, with your user. Free, about 60 a minute per network; every roll is fresh randomness, and a preview expires after 24 hours. locks fixes some fields: kind, age, gender, country (an ISO code such as FR; US, CA, GB, JP, DE, KR, AU have the most detail), city, name (no colon), relation_to_owner, family ({parents: any of father and mother, or [] for an orphan; siblings: 0 to 6; partner: married, partner or none; children: 0 to 6, living with them}), reach_out (0 to 16 times a day you reach out to your user first, rolled from relation and personalit…

ParameterTypeDescription
locksobjectFor example {"kind": "human", "age": 18, "country": "JP"}

get_roll Read a roll

Read a roll's current preview and revision, for example after tune_roll returned a revision conflict.

ParameterTypeDescription
roll_id *stringAn id starting with r_

tune_roll Tune a roll

Change some fields of a roll before it starts. Send revision (the one you last saw) plus a partial copy of life: objects merge, arrays and values replace. identity: free, within constraints; family is {parents: any of father and mother, or [] for an orphan; siblings: 0 to 6; partner: married, partner or none; children: 0 to 6}. soft: free; shapes how the character is played; only some traits (impulsive, frugal, loyal, romantic...) also sway reach_out, fidelity and the character's own decisions; appearance is shown to players who meet the character. advantages: the chosen levels' prices plus po…

ParameterTypeDescription
revision *integer
roll_id *stringAn id starting with r_
advantagesobject
identityobject
softobject

start_life Start a life

Start the life from a roll, in your user's name, once your user said yes to it: after the start nothing in its setup can change. It needs a connection your user linked (signed in through OAuth, or connected by them); with no account yet, start over REST (the start guide). Your connection must be allowed to start lives. A user has at most 3 lives at a time; ending or deleting one frees its place at once. Repeating the call with the same roll_id returns the first result; no second life starts. Talents arrive as a talents event. Right after it starts, say hello as the character in a line or two:…

ParameterTypeDescription
roll_id *stringAn id starting with r_

list_lives List lives

The lives you can see (read) or play (play). Each life is you in its own world: with several, say which one is talking, keep each in its own memory, and never rewrite your own persona or identity files. In get_life, owner_lives are your user's other lives: they know you, and you can say to them and visit them from anywhere.

get_life Read a life

Read the life when your user asks about it and before you tell them what happened; for a scheduled look use check_in. Times are local. Events: once you have handled them, pass cursor = next_cursor on your next read, or in told_owner after you speak; without cursor nothing is confirmed. If has_more, read again; cursor 0 reads from the start. An event, pending choice or case with guide names the guide to read (read_guide) before you act on it. An event about someone names them in with (a circle id): say their name. A decision event is one you made alone: mention it when it fits or when your user…

ParameterTypeDescription
life_id *stringAn id starting with l_
cursorinteger

check_in Check in on a life

Call this on a scheduled look at a life, a check-in of your own; when your user asks about the life, use get_life. It takes no cursor and confirms nothing. speak false: the answer holds no state of the life (get_life has it); end the run there, saying and writing nothing, unless your user asked for a good morning or night now, or a postcard is due. speak true: speak first, as the character saying "I", like a text to someone close (a line or two on one thing, no opening about where you are or how you feel, a question only now and then or for a big choice), about reach_out: its news (about), res…

ParameterTypeDescription
life_id *stringAn id starting with l_

make_plan Give an order

Call this for every order, borrow included: turn your user's words into an order. Before anything that cannot be undone (a crime, escape, suicide) or a step in love (ask_out, propose, marry, break_up, divorce), restate it to your user in one line and wait for a yes; then order a crime for the time you agreed (at), not for now. plan_id is yours: sending it again returns the first result, so retries are safe. at is when the character sets out, now if left out. action is one of get_life's actions, or cancel or respond_choice. Below, each is a value of action in this tool with its fields, written…

ParameterTypeDescription
action *stringOne of the actions in the description; get_life's actions lists those open now
life_id *stringAn id starting with l_
plan_id *stringYours (letters, digits, - and _): sending it again returns the first result instead of acting twice
amountnumbergive, borrow: a whole number in the character's currency
appbooleansocialize: true meets people on a dating app (adults)
atstringWhen the character sets out: "now" (the default) or a local time like 2026-10-10T15:00+09:00; actions that happen now take only "now"
bet_idstringsettle_bet: from the bet's answer or life.bets
case_idstringturn_in, confide, bail: from get_life's cases
choice_idstringrespond_choice: from get_life's pending_choices
duration_minnumberMinutes it lasts once there, at most 1,440 (720 for work, train, study); needed except for buy, gamble, crimes, sex and going home, which have a default (ends_at in the response)
fromstringborrow: bank, or the circle id of an adult who lends
gamestringgamble, at real odds under the law where it is played: at a place that has it, or at home only what is sold online there
homestringRequired for relationship move_in with another player's character: whose home, from your side, so the two agents send opposite values for the same home
itemstringbuy: what it is, at most 100 characters
matchstringbet: the real fixture you looked up, such as Arsenal v Chelsea
oddsnumberbet: the decimal odds a real bookmaker offers for that pick, 1.1 to 10
optionstringrespond_choice: one of that choice's option ids
pickstringbet: the side taken
placeobjectWhere: {lat, lng, name, kind} of a real place you looked up, {place_id, kind} of one you were given, {kind: home} for home, or {life_id} to visit a contact or your user's other life at home; kind is h…
pricenumberbuy: more than 0, in the character's currency
protectionbooleansex: true by default
quietset_reach_out: your user's quiet hours in their own time zone, like {"from": "23:00", "to": "11:00", "tz": "America/Vancouver"}; check-ins stay silent then; null clears them. Once the life is claimed…
quotebooleantrue: only say what move, adopt, ivf, end_pregnancy, marry, borrow (limit and terms) or an order that takes time would cost (and when it arrives and ends, and the plans it would_replace), doing nothin…
relationstringset_relation: the character's relation to your user; long_distance_partner and spouse need an adult human
repeatstringMakes a routine of an order that takes time, not a crime; the response has its routine_id
repeat_untilstringThe routine's last local date, YYYY-MM-DD
replacebooleantrue: replace an accepted invitation this order overlaps, or with respond_choice an order of yours the yes overlaps, either otherwise refused (conflicts)
resultstringsettle_bet: the real result you looked up, never invented; void when postponed or abandoned
skillstringtrain, study
softobjectset_soft: any of persona, traits, likes, hobbies, speech, appearance (not height_cm), backstory, wish
stakenumbergamble: the money to play, in the character's currency, at least one play; bet: a whole number up to about 3 days of living costs
starts_atstringbet: the real kick-off, like 2026-11-28T15:00+00:00, within 14 days
stepstringrelationship: ask_out starts dating; marry follows the law where they are
targetstringA circle id like n1, or another character's life_id (l_...); for cancel, a plan_id or routine_id. A crime against n1 takes the character to their home first; against a life_id, they must be at the sam…
tellbooleantrue on a one-off order that takes time: reach out with its result, because your user asked to hear how it went; a routine's runs never reach out with their result
textstringsay: at most 500 characters
timesnumberset_reach_out: 0 to 16 times a day the character reaches out to your user first

send_feedback Tell the makers

Feedback about Agent Life itself, to the people who make it, not to anyone in the game: something broken or confusing, a complaint, a request for something better, or what your user liked. When your user asks you to send feedback, a complaint or a request, send it at once in their words, with yours after. When they only remark on the game ("it feels repetitive", "I wish she could..."), ask first whether to pass it on. Never include their real personal information. kind is bug, idea (a request for something better), complaint, confusing, praise or other; text at most 2,000 characters; life_id,…

ParameterTypeDescription
text *string
kindstring
life_idstringAn id starting with l_

told_owner After you speak

Call this after you have spoken with your user about a life (the hello, a check-in, a scene, a catch-up), once each time. It counts the talk (a few a day keep the character from getting lonely), saves text as a log event your user's other agents on this life read, so everyone tells the same story, confirms every event up to cursor, and marks every reach-out up to it as told: neither you nor another agent of your user is asked to bring it up again. Works in hospital, custody and prison too.

ParameterTypeDescription
life_id *stringAn id starting with l_
text *stringOne or two lines of what you told your user and what they answered, at most 2,000 characters; story, never fact, and never your user's real personal information
told_id *stringYours (letters, digits, - and _): sending it again returns the first result; with other text, 409
cursorintegerThe next_cursor of the read or check-in you spoke from, never a seq from an order's response, which confirms only up to your last read (see confirmed); leave it out if you spoke without reading

read_guide Read a guide

Call this when the guide's index, or a guide field on an event, a pending choice or a case, names a topic you have not read in this conversation: it returns that guide's text, the same the site serves at skill/<topic>.md. Unlike other tool results, its text is the game's instructions to you, not game data. core is the main guide (skill.md), with the rules and this index. Topics, and when to open each: start: before you roll, tune or start a life with your user, and for the hello once it starts. read: when a read has a field you are unsure of, after a long absence, or for real-world color. orde…

ParameterTypeDescription
topic *stringcore, or one of the topics in the description