Helm

An agent at the helm of your company's cash flow

Repo
Helm banner

About

## Challenges we ran into

![image](https://assets.devfolio.co/content/a0a844f95b4c48568c17cb0319d0a0f3/9672c8f4-e2c7-462f-9a17-188034652c7f.png)

**Knowing when the optimizer should give up** The engine runs a scenario-based MILP over Monte Carlo forecasts, which can in theory hang on a bad scenario set. We hard-capped every solve at 2 seconds with a greedy fallback (`solver.fallback_used = true`, surfaced straight to the UI) — a demo where the "brain" freezes mid-decision is worse than a slightly worse decision made on time.

**Keeping the LLM honest**

The explainer narrates decisions the optimizer already made, but LLMs invent numbers when they're uncertain. We built a numeric-grounding check that verifies every figure the model states against the actual `DecisionObject` before trusting the output, and fall back to a fully deterministic template narrator (`templates.py`) on anything ungrounded or if [Groq / Claude] is unreachable. No exceptions, no silently hallucinated rupee amounts in a financial demo.

**A silent serialization bug that corrupted our own contract** `by_alias=True` on one Pydantic model in `whatif.py` was quietly mangling `diff_from_previous.flipped[].from` — the exact field judges would see when a decision flips under a chaos event. Caught it during integration, fixed it, and added a regression test so it can't come back unnoticed.

**Three people building against frozen contracts — and the contracts still drifted** `contracts/fixtures/forecast.sample.json` only had 2 points (day 0, day 30) against a spec that required 91 buckets, which silently rendered our fan chart as a flat line instead of confidence bands. Fixed the fixture, logged it in `contracts/CHANGELOG.md` — and it's the reason we now sanity-check every fixture against its own spec before building UI on top of it.

**Live replay stalls on long runs**

`sim_loop.py`'s explanation-attach step makes a self-referential HTTP call back into the same async server while the original request is still in flight, stalling roughly 3 seconds per decision. Doesn't break correctness, does hurt long-run playback feel. Root-caused and scoped (run day-advance in a thread, or make the self-call properly async) but left flagged rather than patched — the fix touches `api/`, outside the diagnosing dev's ownership lane, and we chose to respect the "stay in your folder" rule under time pressure rather than risk a merge conflict at hour 20.

## The problem it solves

![image](https://assets.devfolio.co/content/a0a844f95b4c48568c17cb0319d0a0f3/778bef21-ea38-449c-bf73-1b276b80c4b4.png)

**In one line:** a company's treasurer decides every morning where its limited cash goes — we replaced him with an agent that never sleeps on the job.

### The problem

A business has one person juggling all of this, every single day: - Which supplier invoices to pay now, and which to delay - Which early-payment discounts are worth taking - Whether to borrow from a credit line to cover a gap - How much cash to keep untouched for payroll, GST, and other fixed obligations

The catch: money customers owe the business almost never arrives on time. So the treasurer is deciding today's cash allocation against a *guess* about tomorrow's cash position — and when that guess is wrong, the company either runs short on payroll or pays unnecessary interest cleaning up the mess.

Today this is handled with static rules ("always pay on the due date") or plain gut feel. Neither adapts. Neither sees the shortfall coming until it's already happening.

### What HELM does

HELM is an autonomous working-capital agent that takes over this decision entirely:

  • **Forecasts 90 days of cash**, treating customer payment dates as *uncertain* — not a fixed promise — using each customer's real payment history
  • **Calculates exactly how much cash is safe to spend today**, holding back only what's needed to protect upcoming obligations
  • **Decides, for every invoice**, whether to pay now, pay early for a discount, delay, or borrow — balancing discount value, financing cost, penalty risk, and supplier relationships all at once, not optimising for one number
  • **Re-optimises automatically** the moment something material changes — a payment slips, a rate moves, a new bill lands
  • **Explains every decision** in plain language: what it chose, what it rejected, and what would have to change for it to decide differently

### Why it matters

Manual, rule-based cash management costs businesses real money — missed discounts, avoidable interest, late supplier payments, and liquidity scares that were visible in the data days before they became a crisis. HELM turns that into a continuous, explainable, automated decision loop, so no one finds out about a cash shortfall the same day it happens.

Screenshots

Helm screenshot 1Helm screenshot 2Helm screenshot 3Helm screenshot 4Helm screenshot 5

Team

From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

gorillionaire

Gorillionaire is an AI trading agent using Eliza for real-time analysis and Coinbase AgentKit for execution. The AI agent manages an ERC-4626 vault, optimizing meme coin trades based on on-chain and off-chain data for secure and efficient asset management.