DocType-aware retrieval
Frappe answers need module, DocType, child table, field, custom field, and workflow context, not generic docs alone.
Frappe AI · ERPNext AI · governed automation
Muster gives Frappe and ERPNext teams an agent harness that can build context from sites, installed apps, modules, DocTypes, reports, scripts, and workflows before it acts.
The goal is practical: fewer generic ERP guesses, more permission-aware answers, scoped memory, token visibility, and auditable automation.
pnpm --package=@musterhq/cli dlx muster demo
Frappe context pack
Muster keeps the main harness light. The Frappe / ERPNext pack is where site-specific context belongs: docs, installed apps, module metadata, DocTypes, fields, permissions, reports, scripts, and workflows.
$ muster plugins setup frappe-federated-bridgechecks: FRAPPE_SITE_URL · FRAPPE_API_TOKEN · docs context · live metadatapack: Frappe / ERPNext Federated Bridgecontext: DocTypes · DocFields · Custom Fields · Workflows · Reports · Scriptspolicy: actions run as the paired Frappe user; Frappe remains the authorization authoritymemory: tenant/workspace/user/session scoped, indexed, and receipt-backedledger: token usage and replay waste recorded per run$
Why Frappe AI needs a harness
Frappe answers need module, DocType, child table, field, custom field, and workflow context, not generic docs alone.
Reads and writes should execute as the real paired Frappe user, with Frappe remaining the authority.
Long support and ERP investigation threads should show token cost and replay waste instead of hiding spend.
Tenant, site, workspace, user, and session context must stay separated to avoid cross-customer leakage.
New Frappe behavior should be backed by fixtures before it becomes durable assistant behavior.
Use cases
Answer operational questions with site, module, workflow, and record context while keeping memory scoped.
Inspect apps, DocTypes, hooks, client scripts, reports, and bench commands with an audit trail.
Guide deployments, migrations, scheduled jobs, and incident triage with receipts and token accounting.
Create or update records only through explicit tools, setup checks, and user-bound permission context.
Muster is open source. The Frappe / ERPNext path is strongest when contributors add real fixtures, module packs, field-level retrieval tests, and production-safe adapter hardening.