AgentWorks | Learn AI, Build with AI (@AgentWorkshq) header
AgentWorks | Learn AI, Build with AI (@AgentWorkshq) profile picture

Engineering publication on AI agents, MCP and governance. Learn AI. Build with AI. Series and articles: https://nitter.cf/t.co/ZGpdobU46j

Joined October 2026
Photo by AgentWorks | Learn AI, Build with AI (@AgentWorkshq)Photo by AgentWorks | Learn AI, Build with AI (@AgentWorkshq)Photo by AgentWorks | Learn AI, Build with AI (@AgentWorkshq)Photo by AgentWorks | Learn AI, Build with AI (@AgentWorkshq)Photo by AgentWorks | Learn AI, Build with AI (@AgentWorkshq)Photo by AgentWorks | Learn AI, Build with AI (@AgentWorkshq)Photo by AgentWorks | Learn AI, Build with AI (@AgentWorkshq)Photo by AgentWorks | Learn AI, Build with AI (@AgentWorkshq)Photo by AgentWorks | Learn AI, Build with AI (@AgentWorkshq)Photo by AgentWorks | Learn AI, Build with AI (@AgentWorkshq)
AgentWorks HQ is an engineering publication about learning AI and building with it. Structured series and in-depth articles on agents, MCP, orchestration, governance and Java. Start here: agentworkshq.dev
3
161
We just launched AI News on AgentWorks HQ 🚀 Model releases, dev tools and research, summarised for developers and linked to the original source. No hype, no paywall, no digging through 30 tabs. agentworkshq.dev/news
1
1
22
Filter by what you care about: AI Models · AI Coding · Developer Tools · Voice AI · Generative AI · Open Source AI · Multimodal AI · Enterprise AI · AI Research and Safety Skip the noise, read your corner.
1
6
RAG tutorials skip change detection. This library doesn't. A document is re-ingested when its content, chunking strategy, chunk size or overlap changes. One limit: a change of embedding model isn't detected, so you need a manual full re-ingest. agentworkshq.dev/projects/sp… #RAG
4
179
Multi-tenant RAG rule: never trust the client for the tenant id. In Spring AI RAG Engine it never comes from the body, query string or headers. CUSTOM mode needs a TenantResolver bean, or startup fails. agentworkshq.dev/projects/sp… #RAG #SpringAI #AIEngineering
2
71
Accepting document uploads? Check them: • sanitise file names • allow only supported extensions • a .pdf must start with %PDF • stream to a temp file with a hard size cap • limit documents per tenant All built in. agentworkshq.dev/projects/sp… #SpringBoot #RAG #Java
2
57
The REST layer is opt-in and off by default. When enabled, it requires an authenticated user, and ingestion and job endpoints are admin only. No Spring Security dependency: it checks the request principal and role. agentworkshq.dev/projects/sp… #SpringAI #RAG #Java
4
60
Using it in your own app: 1. Add rag-engine-spring-boot-starter 2. Enable the web module 3. Point a source at a folder Then ingest and ask. Your app also needs a Spring AI chat model, an embedding model and a vector store. agentworkshq.dev/projects/sp… #SpringBoot #RAG #Java
2
38
Try RAG without a hosted service or API key. The sample app runs on a local Ollama model (llama3.2 for chat, nomic-embed-text for embeddings). First start downloads about 2 GB of models. Needs Java 21, Docker and ~6 GB of free RAM. agentworkshq.dev/projects/sp… #Ollama #SpringAI
1
1
4
205
Spring AI RAG Engine is out as an early release (0.1.0-SNAPSHOT). A RAG library for Spring Boot: ingest documents into a vector store, then ask questions and get answers with cited sources. agentworkshq.dev/projects/sp… #SpringAI #RAG #Java
2
29
Prompt rule for your first LLM app: Instructions go in the system prompt. The user's words go in the user message. It doesn't make you safe from prompt injection by itself, but mixing them makes things worse. agentworkshq.dev/blog/call-y… #SpringAI #PromptEngineering #Java
2
167
LLM calls are stateless. The model only sees what you send each time, like a plain HTTP request. If you want a conversation, you send the history yourself. agentworkshq.dev/blog/call-y… #LLM #SpringAI #AIEngineering
2
113
Local model or hosted provider? With Spring AI the Java code is the same either way. You change one dependency and two properties. Ollama = free, prompts stay on your machine. Hosted = pay per token, usually fast. agentworkshq.dev/blog/call-y… #SpringAI #Ollama #Java
2
94
Every LLM call costs tokens. Log them. On a local model the cost is time and memory. On a hosted model, tokens are your bill. That one log line is your first cost monitor. agentworkshq.dev/blog/call-y… #SpringAI #Java #LLM
3
157