raked is a minimal AI assistant in TypeScript, built to be read.
If you want to understand how an agent actually fits together, it's all in one hackable codebase: the agent loop, sessions, memory, tools, and skills. Small enough to follow end to end, complete enough to cover the concepts that matter.
Clone it, drop in your Anthropic API key, and start poking: