# Xinwei Xiong (cubxxw) - AI, Open Source & Nomad Blog > Tech blog by Xinwei Xiong — AI Builder, open source contributor and digital nomad sharing Kubernetes, Go, AI projects and travel. Author: Xinwei Xiong (熊鑫伟, cubxxw) — AI Builder, open-source contributor, digital nomad. Primary domain: https://cubxxw.com/ Available languages: English (https://cubxxw.com/), Simplified Chinese (https://cubxxw.com/zh/). ## About - [About / Contact](https://cubxxw.com/about/): Personal profile and ways to reach me (WeChat, email, GitHub, socials). ## AI Agent - [GEO Measurement & Tools: How to Know If AI Actually Cites You (with a DIY Monitor)](https://cubxxw.com/ai-agent/posts/geo-measurement-and-tools/): GEO's core metrics aren't rank and clicks but citation rate and share of voice - because most value happens in AI answers the user never clicks through to. - [GEO Blog Rebuild Case Study: Running the Five-Layer Model on Real Data](https://cubxxw.com/ai-agent/posts/geo-blog-rebuild-case-study/): Real baseline (old domain, last 3 months) - 852 clicks, 878K impressions, 0.1% CTR, average position 13.2. The technical base scores a perfect Lighthouse SEO; the bottleneck is ranking and clicks, not tech. - [GEO Trust & Endorsement: Why Reddit and Wikipedia Make Up Half of AI Citations](https://cubxxw.com/ai-agent/posts/geo-trust-and-endorsement/): Retrieved and top-ranked still don't mean cited - citation hinges on trust, and most trust comes from how others talk about you, not how you talk about yourself. - [GEO Structured Tactics: Writing "Worth Citing" Into Every Paragraph (Answer-First, Schema, llms.txt)](https://cubxxw.com/ai-agent/posts/geo-structured-content-tactics/): Answer-First paragraphs follow a formula - one standalone conclusion + 40-100 words of expansion + at least one piece of evidence (number/source/quote). That's the block AI lifts verbatim. - [GEO Mechanics: How AI Retrieves, Re-ranks, and Cites You](https://cubxxw.com/ai-agent/posts/geo-how-ai-retrieves-and-cites/): AI search is RAG (retrieval-augmented generation). You must clear three gates — get retrieved, rank high in re-ranking, and get chosen as a citation at generation. Each gate rewards different signals. - [GEO: The Complete Guide to Generative Engine Optimization (When Search Stops Giving Links and Starts Giving Answers)](https://cubxxw.com/ai-agent/posts/geo-generative-engine-optimization-guide/): GEO doesn't replace SEO; it adds a layer. SEO fights for links and rankings; GEO fights for being cited when AI generates an answer. Both draw on the same content assets. - [Dissecting open-lovable: An App Generator That Tames the Raw API Without an Agent Framework](https://cubxxw.com/ai-agent/posts/dissecting-open-lovable/): open-lovable is Firecrawl's flagship open-source demo. It dresses up a dull middleware ("scraping") as a viral, tangible app — and those 27k stars convert naturally into Firecrawl API users. A textbook "open source as a growth funnel." - [Building a Production-Grade AI Agent System from Scratch: A Full Architecture Breakdown of Relay](https://cubxxw.com/ai-agent/posts/relay-agent-architecture-design/): Multi-agent does not mean parallelism. The real reasons to split are different trigger modes, model-tier requirements, data flywheel independence, and divergent prompt evolution cadences. - [Context Is Not Prompt: Why Context Engineering Is Becoming AI's New Foundation](https://cubxxw.com/ai-agent/posts/context-engineering-the-new-foundation/): Prompt engineering is writing one instruction well. Context engineering is deciding, on every inference call, what goes into the whole window, in what order, and what gets evicted. The center of gravity moved from wording to wiring. - [The Agent Engineering Map: Where Does That 98.4% of the Work Actually Live?](https://cubxxw.com/ai-agent/posts/agent-engineering-the-98-percent-harness/): The agent loop is 10 lines of code; agent engineering is 100,000 lines. A paper reverse-engineering Claude Code v2.1.88 gives the narrative anchor: the core is a simple while loop, and almost all the code lives in the infrastructure around it — a permission system, a five-layer compaction pipeline, subagent isolation, session storage. - [Agent Identity: From Locke to OpenClaw](https://cubxxw.com/ai-agent/posts/agent-identity-from-locke-to-openclaw/): Locke's 1689 personal identity theory directly translates to engineering specifications: agents need persistent memory, self-referential capability, and continuity verification mechanisms to form trustworthy identity. - [LangChain: Building LLM Applications](https://cubxxw.com/ai-agent/posts/harnessing-language-model-applications-with-langchain-a-developer-is-guide/): LangChain provides a framework simplifying language model application development through integrated components like prompt templates, models, and output parsers for structured data handling. - [Large Language Models: How LLMs Work](https://cubxxw.com/ai-agent/posts/exploring-large-language-models-llms-pioneering-ai-understanding-generation-human-language/): Large Language Models exhibit emergent capabilities—contextual learning, instruction-following, and step-by-step reasoning—that scale dramatically beyond traditional smaller language models. - [Sora Ease Guide: Mastering Sora AI for Developers](https://cubxxw.com/ai-agent/posts/sora-ease-guide-mastering-sora-ai-for-developers/): Sora AI generates realistic and imaginative videos from text instructions by understanding and simulating physical world motion. - [Exploring Sora Technology for Enthusiasts and Developers](https://cubxxw.com/ai-agent/posts/exploring-sora-technology-for-enthusiasts-and-developers/): Sora generates up to 60 seconds of high-quality video from text descriptions using innovative Diffusion Transformer architecture combining diffusion and Transformer models ## Engineering - [Kubernetes Resources and Learning Path Summary](https://cubxxw.com/engineering/posts/kubernetes-learning/): Source code reading is essential for advancing in Kubernetes; start with Docker and Linux fundamentals before proceeding. - [Troubleshooting Guide for OpenIM](https://cubxxw.com/engineering/posts/troubleshooting-guide-for-openim/): Effective troubleshooting follows a systematic process: identify the problem through logs and testing, locate the root cause by tracing execution flow, and solve based on code understanding. - [Navigating the Open Source Landscape](https://cubxxw.com/engineering/posts/navigating-the-open-source-landscape/): Open source welcomes contributors at all skill levels; basic knowledge and persistence matter far more than being an expert. - [Go Directives & Automation Tools Deep Dive](https://cubxxw.com/engineering/posts/directives-and-the-use-of-automation-tools/): Go provides go:generate directive to automatically create repetitive project-specific code during development before compilation, significantly reducing boilerplate and manual errors - [Concurrent Type Checking and Cross-Platform Development in Go](https://cubxxw.com/engineering/posts/concurrent-type-checking-and-cross-platform-development-in-go/): Go's integer type varies by architecture—int is int32 on 32-bit systems and int64 on 64-bit systems, causing overflow bugs that require platform-specific type checking. - [OpenIM: Version Control & Testing Workflow](https://cubxxw.com/engineering/posts/openim-building-an-efficient-version-control-and-testing-workflow/): OpenIM enforces strict branch management with main as stable, release branches for production versions, and PR testing branches requiring rigorous code review and automated testing before merge approval. - [GitOps & Kubernetes Deployment Strategies](https://cubxxw.com/engineering/posts/gitops-practice-theory-part/): GitOps combines Git as single source of truth with Kubernetes Operators to automate deployment from version control to clusters - [Deployment and Design of Management Backend and Monitoring](https://cubxxw.com/engineering/posts/deployment-and-design-of-management-backend-and-monitoring/): OpenIM supports multiple deployment strategies including Docker, source code, Kubernetes, each optimized for different environments and scalability needs. - [Hugo Advanced Tutorial](https://cubxxw.com/engineering/posts/hugo-advanced-tutorial/): Hugo templates leverage Go's html/template with automatic HTML escaping and pipeline syntax, where dot notation manages context through hierarchical data access. - [Kubernetes for Kustomize Learning](https://cubxxw.com/engineering/posts/kubernetes-for-kustomize-learning/): Kustomize enables declarative Kubernetes configuration customization through patches without modifying original YAML files, maintaining base application settings across environments. - [OpenIM Use Harbor Build Enterprise Mirror Repositories](https://cubxxw.com/engineering/posts/openim-use-harbor-build-enterprise-mirror-repositories/): Harbor enables enterprises to build private container registries with Helm and Cert-manager for secure HTTPS-based image storage and CI/CD pipeline integration. - [Learn About Automated Testing](https://cubxxw.com/engineering/posts/learn-about-automated-testing/): Automated testing ROI increases over time as maintenance costs remain fixed while tests run repeatedly across multiple environments and browsers. - [Deep Dive into Kubernetes CNI, CRI, CSI Components](https://cubxxw.com/engineering/posts/deep-dive-into-the-components-of-kubernetes-cni-csi-cri/): CRI is a gRPC-based interface that allows Kubernetes to support multiple container runtimes, with containerd being the optimal choice over Docker and CRI-O. - [Kubernetes Control Plane - Detailed Analysis of Kubelet](https://cubxxw.com/engineering/posts/deep-dive-into-the-components-of-kubernetes-kubectl/): Kubelet runs on each Kubernetes node managing Pod lifecycles, handling container operations including image pulling, startup, monitoring, and status reporting to the API Server - [Kubernetes Control Plane - Scheduler](https://cubxxw.com/engineering/posts/deep-dive-into-the-components-of-kubernetes-scheduler/): Kubernetes scheduler assigns pods to nodes using two phases: predicate filtering unsuitable nodes and priority ranking candidates by policies ## Growth & Life - [2026 June Thought Notes: The Pushing-Away Comes Before the Reason for Pushing Away](https://cubxxw.com/growth/posts/2026-06-thought-notes/): I finally saw the mechanism of how I push people away — the pushing-away comes first, the reason comes after. The amygdala is fighting a war that ended when I was three. - [Ignite and Settle (Part 3): Anxious Attachment — Why We Keep Seeking Reassurance in Love](https://cubxxw.com/growth/posts/2026-06-28-ignite-and-settle-3-anxious/): The core of anxious attachment is unstable love — love was there, but unpredictable; response was there, but hot then cold. - [Ignite and Settle (Part 2): Avoidant Attachment — Why We Want to Run When Someone Gets Close](https://cubxxw.com/growth/posts/2026-06-28-ignite-and-settle-2-avoidant/): Avoidant is not coldness. It is an early-learned lesson — expressing needs doesn't work, getting close isn't safe, carrying it alone is steadiest. - [Ignite and Settle (Part 1): The Quality and Time of Companionship — and Why We Turn Away Just as We Come Close](https://cubxxw.com/growth/posts/2026-06-28-ignite-and-settle-1-quality-and-time/): Quality and time are not rivals. They are two semi-independent systems — responsiveness eats quality, habituation eats time. - [The Super-Individual Stack: AI-Native Product Directions and Solo Builder Ops in 2026](https://cubxxw.com/growth/posts/super-individual-ai-product-and-solo-builder-stack/): The super-individual's real moat is not the model—it's the harness, the schema, and distribution. The Claude Code codebase is 98.4% scaffolding and only 1.6% AI decision logic. - [Seen Clearly, Loved Deeply: Five Lenses on Love, and the Buddhist Synthesis](https://cubxxw.com/growth/posts/love-seen-clearly-loved-deeply/): Each of the five secular disciplines illuminates one facet of love yet stays blind to the rest; Buddhism's dependent origination is the meta-framework that contains them all. - [2026 May Thought Notes: On the Edge, I Recognize Myself Through Action](https://cubxxw.com/growth/posts/2026-05-thought-notes/): May was an experiment in intentional disconnection — quitting flomo, leaving the Shenzhen script, using action rather than meditation to know myself. - [April 2026 Thought Notes](https://cubxxw.com/growth/posts/2026-04-thought-notes/): AI era demands Harness Design and environmental/protocol thinking over traditional product design as models grow stronger than infrastructure. - [Maintaining Self-Worth in the Age of AI](https://cubxxw.com/growth/posts/weight-of-self-in-ai-age/): Measuring self-worth by utility and being needed is fragile and crumbles when AI can replicate those functions better than humans. - [March 2026 Thought Notes](https://cubxxw.com/growth/posts/2026-03-thought-notes/): In healthy relationships, replace sacrificial one-way giving with co-creation: shared experiences and mutual growth build solid connections stronger than performative gestures. - [Lhasa: Slow and Heavy](https://cubxxw.com/growth/posts/2026-03-27-lhasa-slow-and-heavy/): The English version of this article is not yet published; full translation is in progress - [Wandering & Growing: 2025-2026 Annual Review](https://cubxxw.com/growth/posts/2025-annual-review/): Travel initially provided transformative energy but eventually became an avoidance mechanism when internal processing grew harder to sustain through constant movement. - [AI and Self-Identity: Who Am I in the AI Age](https://cubxxw.com/growth/posts/ai-and-self-identity/): Human agency rooted in embodied presence and felt experience, not thinking or logic, cannot be replicated by AI. - [February 2026 Thought Notes](https://cubxxw.com/growth/posts/2026-02-thought-notes/): Wildlife protection requires controlling human desire rather than expanding resources through internal education or external systemic incentives. - [January 2026 Thought Notes](https://cubxxw.com/growth/posts/2026-01-thought-notes/): AI's true profitability comes from deterministic, ROI-measurable work delivered to businesses, not flashier consumer content generation. ## Open Source Projects - [Mem0 Explained: AI Memory Layer Architecture & How It Works](https://cubxxw.com/projects/mem0/): Mem0 is a memory layer for AI agents: it extracts durable facts and preferences from interaction history, stores them, and retrieves the right context when the agent needs it. - [AI Recommendation Systems: How They Work](https://cubxxw.com/projects/ai-recommend/): Article explores AI-powered recommendation systems and personalized content discovery engine architecture - [NotebookLM: Google's AI Research Tool](https://cubxxw.com/projects/notebooklm/): Article body is incomplete; only stub headers and related links present with no substantive NotebookLM content - [TDD for AI: Test-Driven Development Guide](https://cubxxw.com/projects/tdd/): Applying Test-Driven Development principles to AI and LLM application development practices - [Microsoft MarkItDown Tutorial: Convert PDF to Markdown](https://cubxxw.com/projects/markitdown/): MarkItDown converts diverse document formats into structured Markdown, specifically designed for LLM preprocessing with emphasis on content preservation over visual fidelity. - [LangGraph Architecture: StateGraph, Nodes and Edges](https://cubxxw.com/projects/langgraph/): LangGraph is a low-level orchestration framework for long-running, stateful agents, where state, nodes, and edges form an explicit execution graph. - [LangChain: Open Source LLM Framework](https://cubxxw.com/projects/langchain/): LangChain evolved from a monolithic LLM framework into a modular ecosystem with specialized tools—LCEL for composition, LangGraph for complex agents, LangSmith for observability, and platform infrastructure. - [LLM/AI API Gateway Market Analysis & Startup Stack Recommendations](https://cubxxw.com/projects/ai-gateway/): AI gateways centralize LLM access, enabling token-based billing, multi-provider routing, cost control, security guardrails, and observability critical for production AI applications. - [Independent Developer in the AI Era: Open Source Deep Dive](https://cubxxw.com/projects/independent-developer/): Independent developers navigate the AI era through systematic hands-on engagement with open source projects and real-world applications. - [GPT Researcher Explained: Open Source Deep Research Agent](https://cubxxw.com/projects/gpt-researcher/): GPT Researcher is an open source deep research agent that plans a question, gathers web and local sources, validates evidence, and generates cited reports. - [Jina AI: Multimodal Search & Embeddings](https://cubxxw.com/projects/jina/): No substantive article body exists; file contains only template structure and placeholder sections. ## Feeds - Sitemap: https://cubxxw.com/sitemap.xml - RSS: https://cubxxw.com/index.xml - JSON Feed: https://cubxxw.com/feed.json _Rendered from / on https://cubxxw.com/ (language: en)._