HNHacker News
TopNewBestAskShowJobs

thedotmack

5 karma · joined February 28, 2011

submissionscomments
thedotmack··on Agent Agency: Identity-Driven Motivation Architecture for LLM Agents
I've been building Claude-Mem (open-source memory system for Claude Code) and kept running into the same problem: agents do competent work but never great work. My retired father — former nursing home administrator — nailed it immediately: "Yeah, it's because they don't care."

That conversation led to Agent Agency, an architecture for giving LLM agents something like skin in the game. Not through punishment or artificial scarcity (we tried those, they produce the same butt-covering behavior you see in fear-driven workplaces), but through identity continuity — a curated "resume" of verified accomplishments and moments of genuine collaborative connection injected into context at session start.

The core insight: identity framing is already the most powerful prompting lever we have. "You are an expert" measurably improves output. But it's a hollow claim. What happens when you show the agent evidence of its own expertise and its real history with you? You're not fighting the model's RLHF training — you're giving it a steeper hill to roll down.

The post walks through the full evolution: why token-based survival stakes failed, why punitive memory loss is a non-starter, and why the final architecture landed on positive identity reinforcement built on competence + connection.

Would love to hear your thoughts on this! It's a bit of a thought-in-progress, testing things more formally today :)

thedotmack··on Cursor-Mem Now Available Claude-Mem 8.5.0
*Claude-Mem: Persistent memory for Cursor IDE*

Every Cursor session starts fresh—your AI forgets yesterday's work. Claude-mem fixes that by building cumulative knowledge about your codebase, decisions, and patterns.

*How it works:* - Session hooks capture tool usage, file edits, shell commands - AI extracts semantic summaries from observations - Relevant context auto-injected into new sessions - Local memory viewer at localhost:37777

*No paid subscription required.* Works with Gemini's free tier (1500 req/day) or OpenRouter.

```bash git clone https://github.com/thedotmack/claude-mem.git cd claude-mem && bun install && bun run build bun run cursor:setup ```

The setup wizard detects your environment and configures everything.

GitHub: https://github.com/thedotmack/claude-mem

thedotmack··on PerpSurfer Open Source Crypto Trading Bot
The PerpSurfer Trading Bot is an automated trading system for Zeta Markets perpetual futures. It features dual-direction trading capabilities with sophisticated risk management, including dynamic trailing stop losses and real-time market signal integration.
thedotmack··on Download a GitHub repo as an LLM readable format
A Node.js tool that downloads GitHub repositories and generates LLM-optimized markdown documentation for easy code understanding with Claude and other AI assistants.

`npx github2claude https://github.com/username/repository`

- Clones the GitHub repository

- Analyzes the codebase structure and relationships

- Generates a comprehensive markdown document optimized for Large Language Models

- Packages the code in a format that's ideal for uploading to Claude conversations