Coder Trainee
Author

Coder Trainee

Experienced in Java and Python, we share and learn together. For submissions or collaborations, DM us.

206
Articles
0
Likes
1.7k
Views
0
Comments
Recent Articles

Latest from Coder Trainee

100 recent articles max
Coder Trainee
Coder Trainee
Oct 20, 2026 · Artificial Intelligence

How 2,000 Orders Turned an 800ms AI Agent into an 8-Second Disaster

An AI customer service agent's P99 latency spiked from 800ms to 8.2s when a user with 2,147 orders triggered an unbounded tool that returned 1.8MB JSON (400k tokens), causing the model to hallucinate; fixes included limiting results to 5 orders with 4 fields, adding timeouts, and implementing fallback responses, restoring P99 to 890ms.

AI agent debuggingLLM tool designagent performance
0 likes · 10 min read
How 2,000 Orders Turned an 800ms AI Agent into an 8-Second Disaster
Coder Trainee
Coder Trainee
Oct 19, 2026 · Backend Development

I Integrated AI into Our Java System in One Week — The Token Bill Almost Killed Me

A developer shares a week-long journey integrating AI into a Java customer service system, detailing how over-engineering with Spring AI Graph was replaced by a simple ChatClient + Tools approach, token costs were cut 80% via model routing, context compression, and semantic caching, a production latency spike was fixed with Tool result limits and circuit breakers, and three operational essentials — budget alerts, conversation logging, and a kill switch — were added for sustainability.

AI integrationJavaModel Routing
0 likes · 8 min read
I Integrated AI into Our Java System in One Week — The Token Bill Almost Killed Me
Coder Trainee
Coder Trainee
Oct 18, 2026 · Artificial Intelligence

From Demo to Production: 5 Pillars for Enterprise-Grade AI Agents

This final article in the AI Agent development series details five pillars for production-ready agents—evaluation systems, observability, safety guardrails, cost/latency optimization, and deployment/operations—illustrated with real incidents, code examples, and a 30-item checklist.

AI AgentsCost OptimizationEvaluation Systems
0 likes · 31 min read
From Demo to Production: 5 Pillars for Enterprise-Grade AI Agents
Coder Trainee
Coder Trainee
Oct 17, 2026 · Artificial Intelligence

LangChain & LangGraph Deep Dive: Rewriting Hand-Rolled Agents for Production

This tutorial maps hand-rolled AI agent components to LangChain and LangGraph abstractions, demonstrates rewriting ReAct agents with tool decorators and state graphs, compares framework trade-offs against custom code, and provides criteria for choosing between single-agent workflows, multi-agent patterns, and manual implementations.

AI AgentsLCELLangChain
0 likes · 24 min read
LangChain & LangGraph Deep Dive: Rewriting Hand-Rolled Agents for Production
Coder Trainee
Coder Trainee
Oct 15, 2026 · Artificial Intelligence

Build Your First Agent from Scratch: Core Loop, Function Calling & Prompt Engineering

This tutorial guides you through building a complete AI Agent from scratch without frameworks, covering environment setup, tool definition with JSON Schema, Function Calling, the core reasoning loop, common pitfalls, prompt engineering techniques for structured output, and modular code organization with hands-on practice tasks.

AI AgentAgent DevelopmentFunction Calling
0 likes · 22 min read
Build Your First Agent from Scratch: Core Loop, Function Calling & Prompt Engineering
Coder Trainee
Coder Trainee
Oct 14, 2026 · Artificial Intelligence

Agent = LLM + Memory + Tools + Loop: Why Agents Aren't Just Smarter Chatbots

This article introduces AI Agents by contrasting them with chatbots and workflows, presenting the core formula Agent = LLM + Memory + Tools + Loop, explaining each component with a flight-booking example, and outlining the engineer's role in designing reliable agent systems.

AI AgentsAgent EngineeringFunction Calling
0 likes · 17 min read
Agent = LLM + Memory + Tools + Loop: Why Agents Aren't Just Smarter Chatbots
Coder Trainee
Coder Trainee
Oct 13, 2026 · Artificial Intelligence

From AI Novice to Agent Developer: 5-Stage Roadmap to Production-Ready Agents

This guide presents a five-stage learning path for AI beginners to become production-ready Agent developers, covering cognitive foundations, hand-built prototypes, memory and tool integration, framework adoption, and production hardening with evaluation, observability, and safety practices.

AI AgentsAgent DevelopmentLangChain
0 likes · 11 min read
From AI Novice to Agent Developer: 5-Stage Roadmap to Production-Ready Agents
Coder Trainee
Coder Trainee
Oct 12, 2026 · Artificial Intelligence

Spring AI Alibaba Enters Maintenance Mode as Alibaba Prioritizes AgentScope

The article clarifies that Spring AI Alibaba is not dead but in maintenance mode, with Alibaba shifting resources to AgentScope; it explains the upstream/downstream relationship between Spring AI (foundational framework) and Spring AI Alibaba (agent workflow orchestration), and provides guidance on choosing between Spring AI, Spring AI Alibaba, and AgentScope for Java AI applications.

AgentScopeAgentic workflowsJava AI frameworks
0 likes · 6 min read
Spring AI Alibaba Enters Maintenance Mode as Alibaba Prioritizes AgentScope
Coder Trainee
Coder Trainee
Oct 11, 2026 · Artificial Intelligence

RAG Evolution: Four Stages from Naive to Agentic (2023-2026) & 2026 Trends

This series finale outlines RAG's evolution through four stages from Naive RAG (2023) to Agentic RAG (2026), identifies key 2026 trends including reasoning-integrated retrieval, multimodal understanding, domain-specific embeddings, and federated knowledge bases, and provides a four-level developer roadmap from beginner to expert.

Agentic RAGGraphRAGRAG
0 likes · 6 min read
RAG Evolution: Four Stages from Naive to Agentic (2023-2026) & 2026 Trends
Coder Trainee
Coder Trainee
Oct 10, 2026 · Artificial Intelligence

Agentic RAG: Turning Passive Retrieval into Active Knowledge Agents

This article explains how to combine RAG with AI agents to create Agentic RAG, covering four collaboration patterns (RAG as Tool, Agent as Router, Multi-step RAG, Self-RAG), practical Java Spring Boot implementation with retrieval tools, self-evaluation loops, multi-step reasoning, architecture diagrams, and practical tips on iteration limits and cost monitoring.

AI AgentsAgentic RAGMulti-step RAG
0 likes · 11 min read
Agentic RAG: Turning Passive Retrieval into Active Knowledge Agents