<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>SQLite - Tag - Shengxu · Cloud Architecture &amp; DevOps</title><link>https://sun.shengxu.site/en/tags/sqlite/</link><description>Cloud architecture &amp; DevOps notes by Shengxu: Kubernetes, Cilium, observability, LLM infra, AI agents.</description><generator>Hugo 0.153.2 &amp; FixIt v0.4.0-alpha.3-20251225101113-8ffb9a95</generator><language>en</language><lastBuildDate>Wed, 28 Jan 2026 10:00:00 +0800</lastBuildDate><atom:link href="https://sun.shengxu.site/en/tags/sqlite/index.xml" rel="self" type="application/rss+xml"/><item><title>Practical · Building a Memory-Enabled AI Writing Partner (Part 2): Database (From JSON to Single Table to Relational Tables)</title><link>https://sun.shengxu.site/en/posts/fantasy-novel-agent-database-evolution/</link><pubDate>Wed, 28 Jan 2026 10:00:00 +0800</pubDate><guid>https://sun.shengxu.site/en/posts/fantasy-novel-agent-database-evolution/</guid><category domain="https://sun.shengxu.site/en/categories/ai/">AI</category><category domain="https://sun.shengxu.site/en/categories/devops/">DevOps</category><description>&lt;blockquote&gt;
&lt;p&gt;If you&amp;rsquo;ve already read &lt;em&gt;&lt;a href="https://sun.shengxu.site/posts/fantasy-novel-agent-architecture-evolution/"&gt;Building a Memory-Powered AI Writing Partner (Part 1): Multi-Agent Architecture Evolution&lt;/a&gt;&lt;/em&gt;, you likely have a high-level understanding of how multiple agents collaborate and how memory is chained together. But what truly makes a system viable long-term isn&amp;rsquo;t just a pretty architecture diagram—it requires a data foundation that can withstand growth: one that supports querying, modification, and rollback.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This article focuses on the evolution of the &amp;ldquo;fact layer&amp;rdquo; (the database): &lt;strong&gt;JSON files → SQLite single database (KV) → SQLite single database (relational tables)&lt;/strong&gt;. Semantic search, hybrid search, full graph indexing, and cloud migration are covered separately in the next article, &lt;em&gt;&lt;a href="https://sun.shengxu.site/posts/fantasy-novel-agent-retrieval-evolution/"&gt;Building a Memory-Enabled AI Writing Partner (ikun): Retrieval System (Vector Search, Hybrid Search, and Cloud Migration)&lt;/a&gt;&lt;/em&gt;.&lt;/p&gt;</description></item><item><title>Practical Guide · Building a Memory-Powered AI Writing Partner (Part 1): Multi-Agent Architecture Evolution</title><link>https://sun.shengxu.site/en/posts/fantasy-novel-agent-architecture-evolution/</link><pubDate>Sun, 25 Jan 2026 10:00:00 +0800</pubDate><guid>https://sun.shengxu.site/en/posts/fantasy-novel-agent-architecture-evolution/</guid><category domain="https://sun.shengxu.site/en/categories/ai/">AI</category><category domain="https://sun.shengxu.site/en/categories/devops/">DevOps</category><description>&lt;p&gt;When writing a long novel, the most painful part isn&amp;rsquo;t &amp;ldquo;not being able to write&amp;rdquo;—it&amp;rsquo;s &amp;ldquo;forgetting what you&amp;rsquo;ve already written.&amp;rdquo; Did I set up that foreshadowing properly? Was that character already injured in the last chapter? When exactly was that world-building rule established? Once your manuscript crosses the hundreds-of-thousands-of-words mark, relying solely on your brain and scattered notes quickly becomes unmanageable.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;FantasyNovelAgent&lt;/strong&gt; grew out of this exact need. It started as a simple Python script, then evolved to include dynamic memory and auto-archiving, later added multi-device sync, and is now taking its first steps toward a front-end/back-end separation with cloud-native storage. This article retraces that evolution path and explains the key trade-offs, offering a reference for similar projects.&lt;/p&gt;</description></item></channel></rss>