Skip to content

MusashiBot/musashi-api

Repository files navigation

musashi-api

musashi-api is the standalone backend repository for Musashi.

It keeps the shared prediction-market intelligence stack that used to live inside the monolithic Musashi/ project:

Goal

This repo is the new source of truth for shared functionality. Both musashi-extension and musashi-mcp should consume this API instead of importing code from the old Musashi/ directory.

Scripts

  • pnpm dev: run the local API shim on http://127.0.0.1:3000
  • pnpm backend:dev: run the Supabase-backed auxiliary backend from server/api-server.mjs
  • pnpm test:agent: run the API/SDK smoke and contract tests against URL https://musashi-api.vercel.app
  • pnpm test:agent:local: run the same agent test suite against the local API at http://127.0.0.1:3000
  • pnpm typecheck: type-check core sources plus Vercel API handlers

Notes

  • The original reference docs were copied in *.upstream.md files so functionality and historical guidance remain available in this split repo.
  • vercel.json now includes the ground-probability route so local and deployed API behavior stay aligned.

Releases

No releases published

Packages

 
 
 

Contributors