惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
美团技术团队
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
月光博客
月光博客
J
Java Code Geeks
Jina AI
Jina AI
罗磊的独立博客
宝玉的分享
宝玉的分享
S
SegmentFault 最新的问题
D
DataBreaches.Net
博客园 - 叶小钗
腾讯CDC
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Last Week in AI
Last Week in AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Google DeepMind News
Google DeepMind News
阮一峰的网络日志
阮一峰的网络日志
B
Blog
V
Visual Studio Blog
雷峰网
雷峰网
博客园 - 【当耐特】
Apple Machine Learning Research
Apple Machine Learning Research
Engineering at Meta
Engineering at Meta
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
From Journaling to Evidence-Based Reflection: Building In...
yang yaru · 2026-05-06 · via DEV Community

yang yaru

Not just another chatbot, but a reflection assistant that reasons over your own history.

For a long time, I had one frustration with journaling: we write a lot, but very little turns into structured self-understanding.

Entries are scattered across notes, hard to retrieve, and even harder to connect over time. So when we ask, “What’s been draining me lately?”, we usually answer from memory bias, not evidence.

That is why I built InnerTrace — an AI-powered self-growth system based on LLMs, long-term memory, and reflection loops.


The Problem I Wanted to Solve

Most journaling tools are good at capturing thoughts, but weak at helping users reason over them.

Common gaps:

  • Plenty of records, low reuse
  • Emotional and behavioral patterns are hard to detect
  • Reflection outcomes are often intuitive, not evidence-grounded

InnerTrace is designed to bridge that gap:

Raw daily input -> structured understanding -> evidence-based reflection -> actionable suggestions


What InnerTrace Actually Does

At a high level, the system works like this:

  1. You write freely (no rigid template)
  2. LLMs extract structured signals (emotion, events, topics, stress/energy)
  3. The system stores multi-layer memory (raw logs + structured insights + periodic summaries)
  4. The agent retrieves relevant history by topic/time window
  5. It returns reasoning results with evidence and suggested actions

So instead of giving generic motivational output, InnerTrace tries to answer with traceable context.


Core Design Principles

1) No hallucinated psychology

InnerTrace reflects only from user-provided history, not assumptions.

2) Evidence-first insight

Key conclusions should be tied to concrete records and time windows.

3) Gentle guidance, not judgment

The goal is practical direction, not moral evaluation.


Technical Stack (Current Version)

Backend

  • Java 17
  • Spring Boot
  • MyBatis-Plus

Storage

  • MySQL for structured data
  • Redis for cache
  • Vector memory via pgvector / Milvus is in progress

AI Layer

  • LLM API for analysis and reasoning
  • Embedding model for semantic memory expansion

Infrastructure

  • Async task processing

The service architecture is modularized into:

  • Journal Module
  • Analysis Module
  • Memory Module
  • Reflection Module
  • Agent Module

This makes it easier to evolve toward multi-agent reasoning and deeper personalization later.


How It Differs from Typical AI Journal Apps

I see three practical differences:

  • Long-term memory over single-turn chat
  • Evidence aggregation over generic comfort text
  • Actionable micro-suggestions over abstract advice

If a user asks, “Why have I felt tired recently?”, the goal is not just a fluent answer. The goal is to connect repeated contexts, time ranges, and patterns — then provide a reasoned response backed by historical evidence.


Current Progress & Roadmap

Completed:

  • Journal input and storage
  • Structured analysis pipeline

In progress / next:

  • Vector memory retrieval
  • Weekly/monthly reflection reports
  • Multi-agent reasoning
  • Personalization tuning
  • Rich visualization dashboard

What I Learned While Building

Two lessons stood out:

  1. “LLM can speak” != “system can reason well”

    Product quality depends heavily on memory modeling, retrieval strategy, and evidence organization.

  2. Growth-oriented AI needs temporal consistency

    Without cross-time context, even great single responses become short-lived reassurance.


Screenshots

Quick Start

Backend (8080):

cd InnerTrace
mvn clean package
java -jar target/*.jar
# or
mvn spring-boot:run

Enter fullscreen mode Exit fullscreen mode

Frontend (3000):

cd innertrace_frontend
npm install
npm run dev

Enter fullscreen mode Exit fullscreen mode

Then open http://localhost:3000.

Before running, configure your database and LLM API key in application.yml.

Repositories

- Frontend: https://github.com/yaruyng/InnerTrace_frontend

If you’re also exploring AI for long-term self-growth, I’d love to exchange ideas.

A question I’m actively thinking about: what should a reflection AI optimize for first — accuracy, empathy, or actionability?