|
| 1 | +--- |
| 2 | +title: "Case Study: LastMile AI" |
| 3 | +tags: ["news", "case-studies"] |
| 4 | +image: https://nativelink-cdn.s3.us-east-1.amazonaws.com/lastmileai-logo.webp |
| 5 | +slug: case-study-last-mile-ai |
| 6 | +pubDate: 2025-09-25 |
| 7 | +readTime: 2 minutes |
| 8 | +--- |
| 9 | +## **About LastMile AI** |
| 10 | + |
| 11 | +[LastMile AI](https://lastmileai.dev/) is an AI startup creating tools to enable developers to build AI agents. The team comes from backgrounds in top research and engineering organizations, building infrastructure and developer tools, and is backed by leading investors like Gradient Ventures, AME Cloud Ventures and Exceptional Capital. |
| 12 | + |
| 13 | +LastMile AI empowers developers to build and deploy their own AI agents using [**mcp-agent**](https://mcp-agent.com/), a framework built on Model Context Protocol. mcp-agent has become a go-to toolkit for developers looking to connect large language models to real-world tools and workflows, and reflects the philosophy of empowering developers with transparent, composable systems. |
| 14 | + |
| 15 | +As mcp-agent has grown, scaling the infrastructure needed to support different libraries and tech stacks across thousands of developers has become increasingly demanding. |
| 16 | + |
| 17 | +## **Key Outcomes with NativeLink** |
| 18 | + |
| 19 | +* Eliminated repetitive local rebuilds across our engineering team. |
| 20 | +* Enabled custom integrations with complex dependencies (like Temporal and Envoy) without build-time bottlenecks. |
| 21 | +* Accelerated development of AI agents by streamlining interoperability across languages, allowing the best technology to be implemented for each task. |
| 22 | +* Improved reliability of our platform while maintaining developer speed. |
| 23 | + |
| 24 | +## **The Challenge** |
| 25 | + |
| 26 | +LastMile AI relies heavily on a diverse range of technologies to power our platform, such as Temporal and Envoy, with a common denominator of protobuf and gRPC, to form the foundation of mcp-agent’s infrastructure, requiring interoperability across languages. In the world of AI, this challenge compounds: |
| 27 | + |
| 28 | +* **AI is uniquely polyglot.** While application code often lives in Python, the ecosystem depends critically on native libraries written in languages like Rust, C++, and CUDA. |
| 29 | +* **Complex build targets.** To support diverse deployment environments, it’s often necessary to break apart dependencies and reconstruct them with Bazel. |
| 30 | +* **Developer overhead.** Without a shared caching system, every engineer building their own AI agent would be forced to repeatedly recompile these large dependencies, slowing iteration, wasting time and frustrating developers. Shared remote caching lets the team treat foundational components as fixtures that benefit everyone instead of slowing down iteration. |
| 31 | + |
| 32 | +## **The Solution** |
| 33 | + |
| 34 | +NativeLink has eliminated much of the overhead needed in managing all the library dependencies. LastMile uses NativeLink as a remote build cache for Bazel: |
| 35 | + |
| 36 | +* **Eliminating repetitive local rebuilds.** Using NativeLink as a remote build cache for Bazel in our monorepo allows developers to reuse shared build outputs. |
| 37 | +* **Incorporating heavier dependencies.** By caching builds, the team can incorporate heavier dependencies (such as Envoy and Temporal) directly into the build process. |
| 38 | +* **Reproducible builds.** Because developers don’t have to waste time or resources with local rebuilds, they can get back to building. |
0 commit comments