ERP and MRP your AI agents can use
Letting an agent loose on stock, orders and safety records is only a good idea if it can't do more than the person it works for. Knotworking exposes its modules to agents over MCP with exactly that rule.
Every module, behind a short tool list
An agent starts with about 15 tools: its bearings, the tools agents reach for most, such as searching tasks and tracing a lot, and general ways to find and read any record. When it needs a module's writes or reports, it loads that module's tools, so its context stays small. They work with Claude, ChatGPT, Claude Code, Codex and any client that speaks MCP. Self-hosted installations serve the endpoint at your address followed by /mcp, with nothing to configure.
claude mcp add --transport http knotworking https://knot.example.com/mcp \
--header "Authorization: Bearer knw_…"
Or chat inside Knotworking, with any provider
If you would rather not set up an agent platform, the assistant sidebar (⌘J) runs on each person's own API key, from Claude, OpenAI, Gemini, Mistral, xAI Grok, Groq or DeepSeek. Bring your own key from any of them, and switch provider between messages in a chat. It works with that person's permissions through the same MCP tools. Keys are encrypted at rest and never returned by the API, and usage is billed to the person's own account with the provider.
What an agent can and can't do
Agents sign in with a person's API token, and the token can only narrow that person's access.
Read-only by default
A new token can only read. Writing is a box you tick, per token.
Limited by module
Untick a module and its tools disappear from the agent's list.
Always expires
After 30, 90, 180 or 365 days; 90 unless you choose. There is no never-expires option.
Shown once
A token is stored as a hash and revoked from the page you made it on. Changing the password or deleting the user stops it at once.
Rate limited
120 tool calls a minute per token by default.
Risky actions start closed
Sending a purchase order or adjusting stock stays closed to tokens until an owner or admin opens it, and each token must name it too.
Sign-offs need a person
Approving recipes, SOPs and HACCP plans, QA lot release and training sign-off never go to a token.
Audited
Every attempt at an opened action is written to an audit log, refusals included.
What it is good for
Ask which products are short for next week's schedule, have an agent draft purchase orders for a person to review, or summarise open corrective actions before a review. The agent sees what you would see, and nothing else.
What it isn't
Agents are useful and fallible. Plan for both.
Text from other people is still text
Workspace text can contain instructions aimed at an agent. The server tells agents to treat it as data, which lowers the risk but doesn't remove it. Use read tokens for agents that read other people's writing.
No tool approvals in the browser yet
The assistant can use the tools its token allows and nothing else, and sign-offs and approvals stay refused. It doesn't ask before each call.
No spend controls
Assistant cost is whatever the member's own account with the provider allows. Knotworking adds a step cap and a timeout, not a budget.
In the product
Screens from the demo workspace, for the modules behind this page.
The assistant sidebarWork Tasks and projects: the boardWork Stock and lotsOperations Production batchesOperations
The modules behind this
Each is a separate module, switched on for the installation and then granted person by person.
Work
- AssistantA ⌘J sidebar that runs on each person's own API key from any of seven providers, including Claude, OpenAI and Gemini, with their permissions.
- Tasks and projectsTeam workflows, priorities, labels, estimates, subtasks and dependencies, in lists and boards. Projects carry status, health, a lead and live progress.
Operations
- StockLocations, dated lots, goods-in and an append-only movement ledger with traceability.Needs Items and suppliers.
- ProductionA batch schedule from approved recipes, material requirements against stock, and batch records that consume and produce lots.Needs Recipes and bills of materials and Stock.
- PurchasingPurchase orders for stock and non-stock goods, services and subscriptions, receipts, three-way invoice matching and supplier performance.Needs Items and suppliers.
- QualityComplaints, CAPA, internal audits, mock recalls, incidents and authenticity assessments.
Questions
- Which agents work with it?
- Claude, ChatGPT, Claude Code, Codex, any other client that speaks MCP, and agents you build yourself with an agent SDK. For the in-app assistant, each member brings their own API key from any of seven providers, including Claude, OpenAI and Gemini.
- Can an agent see data I can't?
- No. A token has its owner's access at most, and can be narrowed to a list of modules.
- Can an agent approve things?
- No. Approvals, sign-offs and records that say a person did something need a signed-in person.
- Does my data go to a third party?
- Knotworking itself runs on your server. What an agent does with data it reads depends on the client you connect, and the assistant sends what it reads to the provider whose API key a member adds, so choose with care.
Up and running this afternoon.
Clone it, set a few values and start it with Docker. Caddy, the web app, the API and Postgres come up together on your own machine. There's no account with us and no per-seat bill.
git clone https://github.com/knotworking-oss/knotworking.git
cd knotworking && cp deploy/env.example deploy/.env
docker compose --env-file deploy/.env up -d --build
Set up Knotworking ERP using the instructions in this Markdown file.
https://knotworking.dev/docs/agent-install.md