Beyond the Persona: Adding Skill and Goal Layers to TencentDB Agent Memory

Posted on Sat 31 October 2026 in GenAI Engineering • Tagged with agent memory, TencentDB, RAG, LLM, Python, memory layering

1793461927972

Most RAG applications retrieve the right documents, generate a good answer, and then forget the person who asked. Every session starts from zero, and the user repeats their preferences all over again.

TencentDB Agent Memory tackles this with a layered design it calls a semantic pyramid. It stops at four …


Continue reading

UC Berkeley Open-Sources FreeToken: Frontier-Scale MoE on Consumer Hardware

Posted on Sat 05 September 2026 in AI Infrastructure • Tagged with MoE, Inference, Edge AI, Open Source, LLM

UC Berkeley has open-sourced FreeToken, an edge-native inference engine that runs frontier-scale Mixture-of-Experts (MoE) models on consumer hardware. It treats GPU, CPU, host memory, and PCIe interconnects as a single unified inference platform.

The approach works because of how MoE models are structured. A model like DeepSeek-V4-Flash carries 284B total …


Continue reading

Sashiko — The AI That Catches Kernel Bugs Humans Already Missed

Posted on Mon 08 June 2026 in GenAI Engineering • Tagged with agentic-ai, linux-kernel, code-review, rust, llm, sashiko

Sashiko (刺し子, "little stabs") borrows its name from a Japanese reinforcement-stitching technique — fabric repaired and strengthened at its points of wear. The metaphor is the whole pitch: an agentic system that stitches over the weak spots in proposed Linux kernel patches before they land. It's written in Rust …


Continue reading

100 Real GenAI Engineer Interview Questions

Posted on Wed 03 June 2026 in GenAI • Tagged with genai, interview, llm, rag, agents, mlops, compliance

Training & Adaptation Strategy

  1. What approaches exist for training or adapting an LLM? — Pretraining, fine-tuning, instruction tuning, prompt engineering, RAG.

  2. Base model vs instruction-tuned model? — Pure next-token predictor vs one aligned to follow instructions.

  3. When would you choose fine-tuning over RAG? — Stable domain knowledge, style/format control, latency sensitivity.

  4. When would …


Continue reading

50 Basic GenAI Engineer Interview Questions

Posted on Tue 02 June 2026 in GenAI • Tagged with genai, interview, llm, rag, fine-tuning, mlops

A starter question bank for screening entry-level GenAI engineers. Grouped by theme, covering fundamentals through production concerns.

Fundamentals

  1. What is generative AI vs discriminative AI? — Generative models learn to produce new data; discriminative models learn decision boundaries to classify or predict.

  2. What is a large language model (LLM)? — A neural …


Continue reading

Using Free Cloud-Based LLMs via Ollama on Ubuntu

Posted on Sun 19 April 2026 in GenAI Engineering • Tagged with ollama, llm, ubuntu, cloud-llm, local-ai, kactii, linux


Ollama is a lightweight, open-source LLM runner. Its :cloud model suffix lets you route prompts to free-tier hosted models — no GPU, no paid API key required. Useful for learning, prototyping, and small projects on modest hardware.

This post covers the full Ubuntu setup: manual install, service startup, chatting with Kimi …


Continue reading

LLM Inference Optimization: What Actually Makes Your Model Fast

Posted on Sat 18 April 2026 in GenAI • Tagged with LLM, Inference, Optimization, Quantization, KV Cache, Speculative Decoding, Flash Attention

When you send a prompt to an LLM, three layers shape how fast you get a response: the hardware (GPUs, TPUs, LPUs), the model size and architecture, and the inference engine strategies sitting on top. Most of the latency battle is fought at that third layer — and the core problem …


Continue reading