Xike
Author

Xike

Stupid is as stupid does.

31
Articles
0
Likes
196
Views
0
Comments
Recent Articles

Latest from Xike

31 recent articles
Xike
Xike
Jun 11, 2026 · Artificial Intelligence

Adding Memory: Enabling Multi‑Turn Conversations in an LLM Agent

This guide demonstrates how to replace a simple message list with a ContextManager that tracks user and assistant turns, estimates token usage, applies a sliding‑window truncation based on a token budget, and provides a single build_for_llm entry point to keep multi‑turn dialogues stable and observable.

AgentLLMPython
0 likes · 11 min read
Adding Memory: Enabling Multi‑Turn Conversations in an LLM Agent
Xike
Xike
Jun 10, 2026 · Artificial Intelligence

Step 0: Build a Conversational Entry Point for Your AI Agent

This tutorial launches the Agent series by showing how to create a minimal, CLI‑driven entry point that wraps the model API in a Brain.chat() method, configures credentials via a .env file, handles errors gracefully, maintains multi‑turn conversation state, and outlines the project structure and next development steps.

AI agentCLIEnvironment Variables
0 likes · 15 min read
Step 0: Build a Conversational Entry Point for Your AI Agent
Xike
Xike
Jun 9, 2026 · Artificial Intelligence

From Demo to Production: Key Practices for Engineering LLM Agents

The article explains how to transform a prototype LLM agent into a reliable production service by defining service contracts, externalizing configuration, handling session state, implementing multi‑level rate limiting, and integrating observability, deployment, and rollback mechanisms to avoid common engineering pitfalls.

ConfigurationDeploymentLLM Agents
0 likes · 25 min read
From Demo to Production: Key Practices for Engineering LLM Agents
Xike
Xike
Jun 6, 2026 · Artificial Intelligence

When a Tool Call Ends: Observation Layer as the Quality‑Check Station for AI Agents

The article explains why AI agents often produce unreliable answers after a tool call finishes, identifies the missing observation layer as the quality‑check station, and details how to format, classify, grade errors, perform self‑critique, enforce a Definition of Done, and prevent loops or premature termination.

AI agentsError Handlingdefinition of done
0 likes · 22 min read
When a Tool Call Ends: Observation Layer as the Quality‑Check Station for AI Agents
Xike
Xike
Jun 2, 2026 · Artificial Intelligence

Why Agent Conversations Aren’t Just Chat Logs: Effective Context Management

The article explains that an Agent’s context is a structured snapshot built from role contracts, tool trajectories, and window budgeting, not a raw chat transcript, and details how proper context handling prevents forgetting, token bloat, and tool‑call mismatches in multi‑turn LLM workflows.

LLM AgentsReActTool Calls
0 likes · 16 min read
Why Agent Conversations Aren’t Just Chat Logs: Effective Context Management
Xike
Xike
Mar 20, 2026 · Fundamentals

Mastering Cursor AI: Advanced Rules, MCP, Commands, and Modes Explained

This guide walks you through Cursor AI’s advanced configuration—covering core features, custom Rules, the Model Context Protocol (MCP), user‑defined Commands, and switchable Modes—while showing practical Spring Boot and refactoring cases and quantifying efficiency gains.

AI-assisted codingConfigurationCursor AI
0 likes · 10 min read
Mastering Cursor AI: Advanced Rules, MCP, Commands, and Modes Explained
Xike
Xike
Mar 12, 2026 · Artificial Intelligence

How to Install and Optimize Claude Code for Chinese Users

This guide walks you through installing Claude Code on macOS and Windows, configuring it for mainland China using proxy‑free alternatives like OpenRouter, SiliconFlow, DeepSeek, DashScope or Ollama, and provides detailed tips on model selection, Skills, MCP setup, performance tuning, security, and troubleshooting.

AI coding assistantClaude CodeConfiguration
0 likes · 20 min read
How to Install and Optimize Claude Code for Chinese Users
Xike
Xike
Mar 10, 2026 · Artificial Intelligence

LangChain Basics: Build AI Apps from Scratch

This tutorial walks beginners through Python fundamentals, LangChain installation, core components like prompt templates, chains, and retrieval, and culminates in a complete intelligent customer‑service chatbot, showing step‑by‑step code and practical tips for building AI applications.

AI application developmentChainsLangChain
0 likes · 7 min read
LangChain Basics: Build AI Apps from Scratch
Xike
Xike
Mar 7, 2026 · Artificial Intelligence

AI Agent Development Guide: Core Concepts, Architecture, and Practical LangChain4j Examples

This guide explains what an AI Agent is, outlines its four core abilities, compares it with traditional programs, presents a layered architecture diagram, shows common use‑case scenarios, and provides step‑by‑step Java code using LangChain4j to build basic, multi‑tool, planning, reflective, and collaborative agents together with optimization tips and FAQs.

AI agentAgent ArchitectureJava
0 likes · 19 min read
AI Agent Development Guide: Core Concepts, Architecture, and Practical LangChain4j Examples
Xike
Xike
Mar 7, 2026 · Artificial Intelligence

Spring AI Hands‑On Introduction: Build AI‑Powered Apps with the Spring Ecosystem

This guide walks you through setting up Spring AI, configuring OpenAI credentials, using ChatClient for basic and advanced interactions, enabling function calling, managing conversation memory, and building real‑world projects such as a smart customer‑service bot, document summarizer, and code assistant, while also comparing Spring AI with LangChain4j and addressing common setup issues.

ChatClientFunction CallingRAG
0 likes · 15 min read
Spring AI Hands‑On Introduction: Build AI‑Powered Apps with the Spring Ecosystem