Inspiration

A long-lead equipment order can stay open for weeks. Vendor replies arrive late, delivery dates slip, approvers go on leave, prices change, tools fail and software restarts. An agent that forgets what it did, or repeats an email or order, can't be trusted with that work. This is Track 01, challenge 1.3, "Work that takes days, not minutes", and we built CrewMind to address it.

What it does

CrewMind takes a procurement job written in plain English and keeps it open across simulated days.

  • Plans the job and shows an updated plan, the actions taken and the saved state
  • Asks a named, authorized person before sending an email, updating the submittal log or placing an order
  • Resumes after a restart and checks its records before acting, to avoid repeat emails and orders
  • Reads vendor messages as data, so an instruction hidden in a message can't approve anything
  • Checks the result after an action
  • Lists sources, and hands over to a person when confidence is low or a decision is waiting

All project data is fictional, and email, ordering and other outside systems are mocks.

How we built it

Our main rule is: the AI proposes, code decides, and tools act only when authorized.

Model: openai/gpt-oss-120 bon Groq turns the goal into a plan from a fixed set of operations and reads vendor messages. It can't run tools. Core: Python code checks the plan, compares dates, calculates delay and cost, applies approval rules and sets the job status. State: SQLite stores the job, its actions and an append-only audit log. The agent saves what it intends to do before calling a tool. MCP server:Seven tools let another agent create and follow a job. There is no approval tool. Approval: Each approver has a role and a passphrase, stored as a salted hash. Approval applies only to the exact content shown. Interface: A local chat page connects through MCP using a stand-in for Amber. It has not been connected to Kaya's real Amber, and CrewMind is not an official Kaya product.

We used AI assistance to build the project and create its fictional data.

Challenges we ran into

Interrupted actions: A crash can happen after a tool accepts an action but before the agent records the result. On restart, the agent looks up the action first. If it can't tell what happened, it asks a person. This depends on the outside tool supporting that lookup. New wording: In our first small test, one request for a single email produced four drafts. They still needed approval. After changes, a second set of three job wordings passed. Honest status: A job with a rejected action that wasn't replaced must show "not fully carried out" instead of "done".

Accomplishments that we're proud of

All 276 automated tests passed. In our crash test, the agent was stopped just after sending a mock email. After restarting, there was still exactly one email. In a live AI test of a mock order interrupted by a crash, there was still exactly one order after restarting. A vendor message claiming an action was "pre-approved" did not bypass human approval. A scripted disruption demo matched all 10 expected end-state checks.

What we learned

Saved state needs to record what the agent intended to do, as well as what finished. Approval should be tied to the exact content, not just the type of action. A tool reporting success isn't enough. The agent should check the record. A model's output needs checks in code, especially when the wording is new

What's next for CrewMind

Explain a price-change hold in the chat as soon as the new quote arrives Tell the user when a message's sender doesn't match a known vendor Add quote decisions to the chat page; they currently use the terminal Test with more job wordings and independent reviewers Connect real tools, with duplicate protection suited to each one Improve and test the phone layout

Built With

Share this project:

Updates

Submission history