Loading…
Topic
LangChain
6 posts about LangChain. Every summary links to the original.
- 6 posts
- 4 companies
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Posts
Give Deep Agents a Searchable Filesystem on MongoDB Atlas
A multi-agent pipeline with a coordinator, three search sub-agents, and a reconciler searches a 2,900-page, 45-file federal docket on room air cleaner efficiency standards from the U.S. Department of Energy using a virtual filesystem on MongoDB Atlas. The VFS backend routes search operations like glob and grep to Atlas Search and Vector Search, where $rankFusion combines full-text and vector results natively in a single database-side query, while S3 holds the original bytes as the source of truth. A polling watcher keeps the Atlas index aligned with S3 bucket changes. Agents work incrementally through ls, glob, grep, read, write, and edit operations without loading the entire corpus into their context window. The pipeline can be interrupted and resumes from the last completed stage using saved run state, costing $2 to $5 in API calls over about 45 minutes.
Powering the Agent Development Lifecycle with any framework, from ADK to LangChain and beyond
Google Cloud’s Agents CLI introduced an Extension System in version 1.5.0, allowing developers to override or add commands without forking the tool. This addresses the framework lock-in problem where toolchains assume a specific agent framework. Agents CLI 1.8.0 ships a first-party LangChain extension that replaces framework-coupled commands while leaving agnostic commands unchanged. Extensions are defined by a YAML manifest in a Git repository, distributed through Git references, and pinned to exact commit SHAs via a lockfile for reproducibility. The system supports both project-scope and user-scope installations, and enables enterprise platform teams to enforce custom policies like SBOM scans on deploy commands.
MongoDB VFS for LangChain Deep Agents: A Searchable Filesystem for Agents
Modern AI agents are expected to complete real work, not just answer questions, which requires reliable filesystem navigation and updates. The MongoDB virtual filesystem (VFS) for LangChain Deep Agents connects this filesystem experience to MongoDB Atlas and an underlying object store like S3. It provides agents with a searchable workspace that persists across sessions, deployments, and sub-agents. Developers can use MongoDB Atlas as the data platform, including MongoDB Search, Vector Search, and hybrid search, without changing agent code. This architecture allows agents to plan, inspect source material, create artifacts, and resume work over hours or days without loading the entire corpus into context.
Supercharging LLM application development with LLM-Kit
Grab developed LLM-Kit, a comprehensive framework for setting up production-ready Generative AI applications while addressing security, scalability, integration, monitoring, and standardisation concerns. Its pre-configured structure includes an API server, configuration management, a sample LLM Agent, tests, and an integrated stack spanning Poetry, Gunicorn, FastAPI, LangChain, LangSmith, HashiCorp Vault, Amazon EKS, and GitLab CI. Engineers submit application details through a form, which triggers GitLab project and code-scaffold generation, CI/CD setup, Terraform-based staging and production infrastructure provisioning, and secure GPT-token storage in Vault. The scaffold also includes authentication, API documentation, observability, Redis and vector-database integrations, deployment pipelines, and a cookbook with organisational examples; the post reports that it has onboarded hundreds of GenAI applications and saves an estimated 1.5 weeks before teams begin their first feature.
Metasense V2: Enhancing, improving and productionisation of LLM powered data governance
Metasense V2 addresses automated data governance by improving an LLM-powered metadata generation and classification system. It builds on an initial rollout that scanned more than 20,000 data entries at 300–400 entities per day, but retained human verification to catch misclassifications. Post-rollout owner feedback and manual classifications from the Data Governance Office supplied training and testing data, exposing failures involving PII in business email columns, nested JSON, and passenger communications. The revised approach splits PII and non-PII tagging, reduces the PII tag set from 21 to 8, shortens the prompt from 1,254 to 737 words, and divides tables exceeding 150 columns. LangChain and LangSmith support prompt development, evaluation across accuracy, latency, and error rate, deployment, and monitoring, while threshold-based alerts trigger a model-improvement protocol when misclassification rates rise.
Deploying LangChain to Fly.io
Deploying a minimal LangChain application to Fly.io, using Flask, requires a small Python project that accepts a place and asks an OpenAI-backed model for three places to eat there. The example uses LangChain’s OpenAI wrapper, PromptTemplate, temperature 0.9, and a default Berlin value, while Flask routes requests at / or / and renders the model’s split response in HTML. Local setup includes a virtual environment, pinned Flask, gunicorn, langchain, openai, and python-dotenv dependencies, with OPENAI_API_KEY stored in a local .env file; production uses gunicorn rather than Flask’s development server. Fly launch configures the app name, organization, and deployment region, and fly deploy builds and publishes an image before provisioning machines. The article concludes that more complex, user-dependent requests require LangChain agents and tools, such as Google Places API, because language models lack real-time data and internet browsing.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.