Leidos is a Fortune 500 innovation company rapidly addressing the world's most vexing challenges in national security and health. Leidos collaborates to create smarter technology solutions for customers in heavily regulated industries, from healthcare and aviation to government and defense.
Senior Leidos engineers reduced time spent answering teammates' questions from 8 hours per week to 2 hours per week thanks to the “Ask Cody first” policy.
In one case, a single architect was able to use Cody to “brainstorm” a solution to a specific problem instead of setting up a meeting with other architects.
This was possible due to time reduction in other value-detracting tasks (helping others, reading, documentation).
Search, write, and understand code faster with Code Search + Cody.
Book a demoWith the advance of AI toward the end of 2022, Leidos wanted to stay ahead of the curve. AI's potential was incredibly promising: Could it help them continue honing their technical expertise even more? Support them in helping customers adopt and use the newest technology to their advantage? Ensure digital modernization for even their most high-security customers? Rob Linger, AI Software Architect at Leidos, expanded on how they vetted AI coding assistants and the impact Cody is having on their organization and their customers.
Before choosing a solution, they needed to tackle three key hurdles:
Leidos was committed to getting the ideal coding assistant into the hands of all of their developers, making their jobs easier and improving their mission outcomes for customers.
Leidos began with an analysis of current alternatives. What coding assistant could meet Leidos' remarkably high standards and get ahead of their customers' needs—nearly all with information security requirements ranging from sensitive to the highest levels of classification.
They considered a broad list of solutions, from the biggest names on the market to smaller, emerging competitors. Some were easy to eliminate due to a lack of security and privacy.
“Sourcegraph is staying ahead of the wave.”
— Rob Linger,AI Software Architect at Leidos
Leidos saw huge potential in Cody's context, something they found lacking in alternative solutions. Per Linger, “we noticed very quickly that the context many AI coding assistants pulled from was very limited. For the most part, it was your open tab in the editor, and that was it. But when you're working on a software development project of any type that's even slightly more complex, you're going to run into instances where you need to import data from another project or repo.”
And while other solutions don't have nearly enough technical documentation, Cody has code repos Leidos can sift through. It's much more transparent and open-source, offering a window into how Sourcegraph communicates with the LLMs.
With Cody, Leidos isn't held to a specific LLM. “Generative AI is a fast-moving field, and the best model that's out there today may not be the best model tomorrow,” says Linger. “Something better could come out tomorrow. With a lot of solutions, you're locked into an LLM and putting a lot of faith in that model to keep up with the pace of change. Using Cody means we can avoid that LLM lock-in.”
Ultimately, Cody empowers Leidos to focus on the work that matters most, allowing it to better serve its customers. “We have the freedom to move at the pace our customers need. That's invaluable.”
Leidos is using Cody in a few specific ways:
Scaling was also on the engineers' minds. By capturing the needs and data flows of these three objectives, Leidos could not only leverage Cody internally within their own engineering projects, but also externally for customers in different sectors and with varying levels of security.
One of their bigger conversations revolves around the modernization and migration of legacy code. For example, migrating from Oracle to PostgreSQL once took a full sprint, if not longer. Cody got them 80% to 90% of the way there within minutes.
Technology moves fast, and Leidos leans on Cody to teach its engineers the basics of both old and new technology that they're not familiar with but need to understand for projects they're working on. Thanks to Cody, they're saving time writing documentation for their code, generating boilerplate in seconds, writing unit tests with unparalleled ease which in turn improves code quality, and debugging significantly faster than before.
Leidos' senior developers, in particular, have felt the difference. Guiding junior developers used to take up about eight hours of the week, easily. With Cody, they've cut this down to two. In fact, Leidos lives by one important rule of thumb:
“If you haven't yet asked Cody, don't ask me.”
— Rob Linger,AI Software Architect at Leidos
Linger highlights something important: “It's not just about time savings. It's about how you're able to spend your time.”
Cody gives Leidos engineers more space to focus on what matters — something felt by its customers. In fact, one engineer says:
“I really can't express how blown away I am with Cody. I can't go back to... whatever it was like before. I use Cody every day, all day long. No matter what I write, Cody helps improve it and it goes way beyond coding in some specific language, you can make Cody explain things to you every step of the way. Really, this is it, the future of coding.”
— Leidos Engineer
Sourcegraph empowers CERN to tackle code reuse and code changes in mission-critical applications.
Read the case study