r/MachineLearning · · 1 min read

I’m building an open-source decision layer above AI agents [P]

Mirrored from r/MachineLearning for archival readability. Support the source by reading on the original site.

Hi everyone, I’m Jia, the creator of Spice.

I’ve been working on an open-source project called Spice.

The simplest way to describe it is:

Spice is a decision layer above agents.

Most agent systems today are very focused on execution, They are getting better at doing tasks after a human gives them an intent.

But the higher-level question is still usually left to the user:

What should happen next, and why?

That is the layer I want Spice to explore.

Spice is not trying to replace execution agents. Tools like Claude Code, Codex, Hermes, or other agents can still do the actual work.

Instead, Spice sits before execution and tries to make the decision process explicit:

  • what was observed
  • what options were considered
  • why one option was selected
  • what trade-offs were rejected
  • what happened afterward
  • how that outcome should affect the next decision

The current runtime is still early, but you can already install it, set up an LLM provider, run it in the terminal, inspect Decision Cards, and hand off approved execution to external agents.

My goal is to make agent behavior less of a black box.

Instead of only seeing the final result of an agent task, I want to preserve the reasoning boundary before execution: what the system believed, what it chose, why it chose it, and what changed after the action.

GitHub: https://github.com/Dyalwayshappy/Spice

I’d love feedback from people building agents. Thank you guys.

submitted by /u/Alarming_Rou_3841
[link] [comments]

Discussion (0)

Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.

Sign in →

No comments yet. Sign in and be the first to say something.

More from r/MachineLearning