Artificial intelligence (AI) has been a hot place to invest, and with a market cap of just over $2 billion, BigBear.ai Holdings (BBAI 2.18%) is a stock for which many investors see significant potential. The tech company provides businesses with AI-powered insights and assistance in making complex decisions.

Entering trading this week, the stock had risen by more than 65% year to date. Its relatively modest valuation, however, makes many investors excited about how much higher it may go, and believing this may still be the very early innings of its growth. And there's nothing quite like a strong earnings report that can show investors that the business is indeed on the right track.

With BigBear.ai's latest earnings numbers due to come out on Aug. 11, is it a good move to invest in the tech stock before then?

Close-up of hands on a laptop, with AI-related icons floating in the air.

Image source: Getty Images.

How BigBear.ai stock has done after earnings in the past year

While strong earnings numbers can move the needle for a stock and send it soaring after it releases its latest results, BigBear.ai's stock hasn't gotten much of a boost after earnings in the past year, usually ending up declining after reporting.

BBAI Chart

BBAI data by YCharts. E = earnings report.

It released its most recent earnings report on May 1, when it reported sales growth of 5% and affirmed its forecast for the year. There wasn't anything too exciting about the company's results, and investors were largely unimpressed; the stock would end up falling in the days following the release.

The good news for investors, however, was that the stock still ended up rallying, and it proved to be a great move to buy the stock before earnings -- it has more than doubled since May, though that's a very short time frame for investors to consider, and past performance can't tell you what will happen in the future. In recent months, the company has announced multiple collaborations and agreements with international airports and the U.S. Army, which have given the stock a far greater boost than earnings.

The market may be looking for more signs of progress

Although there is excitement that BigBear.ai can be the next big growth story in AI, investors may be getting a bit nervous with the lack of improvement in the company's financials. Not only has there been just modest growth for a business at a time when demand for AI-related solutions should be strong, but its losses are also large, and it's not clear if there is a path to profitability anytime soon.

BBAI Revenue (Quarterly) Chart

BBAI Revenue (Quarterly) data by YCharts

If there isn't much of an improvement on either its top or bottom line in the upcoming quarter, or at least an upgrade in the guidance, that could lead to BigBear.ai stock giving back some of its gains from this year.

Is BigBear.ai stock a buy before its next report?

BigBear.ai isn't a stock I'd buy today, simply because it still has a lot to prove. Its margins are thin, its costs are high, and sales aren't taking off despite the company continually announcing deals and collaborations. In the end, what matters most are the results, and BigBear.ai hasn't delivered and proven that it's on the right track.

Given the stock's run-up in value in recent months, there is plenty of room for it to fall sharply if its upcoming earnings results aren't strong. For that reason, I would invest in BigBear.ai before Aug. 11 as there's little reason to expect a strong and positive earnings surprise that might give the stock a boost, especially given the uncertainty in the economy these days. Many companies may not be eager to commit and spend heavily on AI right now.

While BigBear.ai's stock has potential to rise significantly higher in the future, taking a wait-and-see approach with it appears to make the most sense.