Tencent Technical Engineering
Author

Tencent Technical Engineering

Official account of Tencent Technology. A platform for publishing and analyzing Tencent's technological innovations and cutting-edge developments.

107
Articles
0
Likes
301
Views
0
Comments
Recent Articles

Latest from Tencent Technical Engineering

100 recent articles max
Tencent Technical Engineering
Tencent Technical Engineering
Dec 29, 2025 · Artificial Intelligence

Automate PPT Creation with CodeBuddy AI Skills: A Hands‑On Guide

This article walks through the common pain points of manual PPT preparation and shows how CodeBuddy’s document‑skills PPTX skill can automate slide generation, editing, and templating through step‑by‑step installation, configuration, and practical examples, including code snippets and visual results.

AICodeBuddyPPT automation
0 likes · 36 min read
Automate PPT Creation with CodeBuddy AI Skills: A Hands‑On Guide
Tencent Technical Engineering
Tencent Technical Engineering
Dec 24, 2025 · Artificial Intelligence

Build a Mini LLM from Scratch: Step‑by‑Step Guide to Tokenizer, Attention, and Transformer

This article walks through constructing a small large‑language model from the ground up, covering model architecture, tokenization methods, BPE vocabulary building, embedding, positional encoding, attention mechanisms, multi‑head attention, transformer blocks, training pipelines, inference, and sampling strategies, all with runnable Python code.

LLMPythonTransformer
0 likes · 34 min read
Build a Mini LLM from Scratch: Step‑by‑Step Guide to Tokenizer, Attention, and Transformer
Tencent Technical Engineering
Tencent Technical Engineering
Dec 19, 2025 · Artificial Intelligence

How Safe Is AI-Generated Code? Real‑World Risks and Mitigation Strategies

This study investigates the security performance of AI‑generated code in real‑world software projects, revealing high vulnerability rates, language‑specific adoption patterns, and evolving roles in the vulnerability lifecycle, and proposes a multi‑dimensional framework for risk mitigation and safe AI‑assisted development.

AIEmpirical Studycode generation
0 likes · 16 min read
How Safe Is AI-Generated Code? Real‑World Risks and Mitigation Strategies
Tencent Technical Engineering
Tencent Technical Engineering
Dec 15, 2025 · Artificial Intelligence

How to Add Human‑in‑the‑Loop Interrupts to LangGraph Agents for Safe, Controllable AI Workflows

This guide explains the concept of human‑in‑the‑loop (HITL) interruptions in LangGraph, outlines the core mechanisms such as persistent state and dynamic/static interrupts, and provides detailed Python examples for four classic patterns—approval/rejection, state editing, tool‑call review, and input validation—plus advanced topics like parallel interrupts and MCP‑based tool integration.

AI agentsHuman-in-the-loopLangGraph
0 likes · 35 min read
How to Add Human‑in‑the‑Loop Interrupts to LangGraph Agents for Safe, Controllable AI Workflows
Tencent Technical Engineering
Tencent Technical Engineering
Dec 8, 2025 · Artificial Intelligence

Building Persistent Long‑Term Memory for LLM Agents with LangGraph – A Complete Guide

This article explains how to give large language model agents lasting memory by combining short‑term and long‑term storage in LangGraph, covering concepts, implementation details, database persistence, tool integration, semantic search, memory‑management strategies, checkpoint handling, and a multi‑agent supervisor example.

Agent MemoryLLMLangGraph
0 likes · 43 min read
Building Persistent Long‑Term Memory for LLM Agents with LangGraph – A Complete Guide
Tencent Technical Engineering
Tencent Technical Engineering
Dec 3, 2025 · Artificial Intelligence

Why Transformers Power Modern LLMs: A Deep Dive into Architecture and Mechanics

This article provides a comprehensive, step‑by‑step explanation of the Transformer architecture that underpins large language models, covering tokenization, embeddings, positional encoding, attention mechanisms, feed‑forward networks, layer stacking, a detailed translation example, visualized attention weights, and a survey of recent open‑source LLM designs such as DeepSeek V3, OLMo 2, and Gemma 3.

AttentionEmbeddingLLM
0 likes · 38 min read
Why Transformers Power Modern LLMs: A Deep Dive into Architecture and Mechanics
Tencent Technical Engineering
Tencent Technical Engineering
Dec 1, 2025 · Artificial Intelligence

Do Machines Really Think? Inside Deep Reasoning, Scaling Laws & RLHF for LLMs

This article examines whether large language models truly think, explores the origins of deep reasoning through transformer architectures and scaling laws, reviews chain‑of‑thought and its variants, and analyzes how reinforcement learning from human feedback—including PPO, DPO, and GRPO—helps internalise step‑by‑step reasoning while pointing to future directions such as atomic thought, hierarchical models, and training‑free in‑context knowledge bases.

AI alignmentLLMRLHF
0 likes · 35 min read
Do Machines Really Think? Inside Deep Reasoning, Scaling Laws & RLHF for LLMs
Tencent Technical Engineering
Tencent Technical Engineering
Nov 24, 2025 · Artificial Intelligence

Inside Google gemini-cli: Turning the Terminal into an AI Agent with ReAct Architecture

This article systematically dissects Google’s open‑source gemini‑cli, revealing how it transforms a traditional command‑line terminal into an AI‑driven collaborative interface by detailing its ReAct loop, tool‑calling mechanisms, context management, and extensible architecture for building similar terminal agents.

AI AgentCLIGemini CLI
0 likes · 27 min read
Inside Google gemini-cli: Turning the Terminal into an AI Agent with ReAct Architecture
Tencent Technical Engineering
Tencent Technical Engineering
Nov 17, 2025 · Backend Development

How Profile‑Guided Optimization Supercharged WeChat’s Backend Services

This article details the year‑long exploration of Profile‑Guided Optimization (PGO) for WeChat’s backend, covering its theory, compiler implementations, practical experiments with Propeller and BOLT, transparent eBPF sampling, engineering challenges, and the measurable CPU and memory savings achieved across production services.

PGObackend servicescompiler
0 likes · 48 min read
How Profile‑Guided Optimization Supercharged WeChat’s Backend Services