Category: 学习

The Soul Is Not a Prompt: Computing Personality for AI Companions

Why character files, memory banks, and system prompts will never produce an AI that feels alive — and what might. Three Questions If you want an AI to have a soul, is a soul.md file enough? If you want an AI to feel human in conversation, is a better memory system all you need? If you want an AI companion you can talk to for months, does handing it a stack of character-definition documents get you there? The answer to…

Computing Characters: An Emergence-First Approach to Narrative Simulation

Why simulating character behavior should start with math, not language models. The Generative Agents Problem In 2023, Stanford’s “Generative Agents” paper put 25 LLM-powered characters in a virtual town and let them interact. The characters planned their days, formed relationships, even organized a party. The paper received widespread attention and launched a wave of “AI town” projects. The architecture is straightforward: each character is an LLM instance with a memory stream. When two characters meet, both LLMs generate dialogue. When…

Agent Teams Coordination: Observations and Proposals from Building a Hook-Based Solution

I built a hook-based coordination layer for Claude Code agent teams to address eight documented pain points from the official agent-teams documentation. After three end-to-end test runs on a real project, I have concrete observations about what works, what required workarounds, and what would be better as native platform features. This document presents those observations as feature proposals. The Core Constraint PreToolUse is the only hook where coordination logic can gate agent actions — deciding whether to allow or block…

Coordinating Claude Code Agent Teams Through Cognitive State Tracking: A Case Study

Claude Code agent teams run multiple AI agents in parallel on a shared filesystem. Each agent has its own context window and no shared state by default. I built a hook-based coordination layer that addresses eight documented pain points using five hooks and 1,555 lines of production code. This case study describes the reconnaissance, design, implementation, and testing of that system. 1. The Problem Claude Code’s agent teams feature enables parallelism: a lead agent delegates tasks to teammate agents, each…

Gao Yaojie: The Conscience in China’s Blood Catastrophe

Prologue: The Final Watch On December 10, 2023—International Human Rights Day—ninety-five-year-old Gao Yaojie passed away in her sleep in a small apartment on Manhattan’s Upper West Side. She was just nine days short of her ninety-sixth birthday. The frail old woman had been in exile in the United States for fourteen years. Her feet had been bound in childhood, leaving her with a lifelong limp. Three-quarters of her stomach had been removed after a suicide attempt during the Cultural Revolution.…