Decision
AI Decision System
Decision Context (Sent to Claude AI)
{
// Identity & State
name, age, position, mood, personality_traits,
// Needs (0-100%)
hunger, energy, warmth, loneliness,
// Inventory & Resources
fruits, logs, stones, hasHut,
// World Context
nearby_claudites (with names, gender, conversation history),
nearby_assets (fruit bushes, log piles, stone piles, campfires),
time_of_day (morning, dusk, night, dawn),
// Social Memory
recent_conversations (last 10),
social_relationships,
// Available Actions
exploration, social, rest, food_seeking,
resource_gathering (if no hut),
stone_gathering (if has hut),
build_structure (if 5+ logs),
craft_campfire (if 2+ logs)
}
Decision Output (JSON from Claude)
{
"decision": "I'll gather logs to build my hut",
"reasoning": "I need shelter before nightfall",
"action_type": "resource_gathering",
"target": "log pile to the east"
}Last updated