Skip to content

Commit 8f5b79e

Browse files
authored
Merge pull request #10 from pramodavansaber/add-erpclaw-usecase
Add use case: ERPClaw plain-English ERP and accounting
2 parents 2ce86f9 + 0832700 commit 8f5b79e

2 files changed

Lines changed: 56 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ Then pick a use case below. The [`/demos`](demos/) folder has three runnable sta
140140
| Name | Description |
141141
| --- | --- |
142142
| [Weather Trading on Polymarket](usecases/weather-trading-polymarket.md) | Autonomous weather prediction-market trading — Kelly Criterion position sizing, EV scoring against market odds, self-calibrating with real traders reporting $300→$123K in 3 months on a $5 VPS. |
143+
| [ERPClaw: Plain-English ERP and Accounting](usecases/erpclaw-plain-english-erp.md) | Self-hosted double-entry ERP and accounting run from chat. Invoicing, inventory, payroll, and multi-company books, written to a local database by deterministic skill actions. |
143144

144145
## Deployment Patterns
145146

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# ERPClaw: Plain-English ERP and Accounting
2+
3+
**Class:** Ecosystem integration
4+
**Confidence:** Medium
5+
**Demo status:** Runnable
6+
7+
## Pain Point
8+
9+
Small businesses run their books across invoicing apps, spreadsheets, and hosted accounting SaaS. The data lives on someone else's servers, the subscription bills stack up, and classic self-hosted ERPs trade that for forms, menus, and a steep setup curve.
10+
11+
## What It Does
12+
13+
Turns a Hermes agent into a working back office. You type plain English ("invoice Globex for the March order", "record their payment"), and the skill routes each request to deterministic Python actions that write real double-entry records to a local database. Chat is the ingress; the ledger is the system of record. Money is stored as exact decimals, submitted ledger entries are immutable (corrections post reversing entries), and every posting passes validation before it commits. SQLite by default, PostgreSQL supported. Covers invoicing, inventory, payroll, purchasing, and multi-company books.
14+
15+
## Setup
16+
17+
```bash
18+
# add the ERPClaw skill from the GitHub tap
19+
hermes skills tap add avansaber/erpclaw
20+
21+
# keep the Curator from rewriting the skill's action catalog
22+
hermes curator pin erpclaw
23+
24+
# optional: choose an install root (unset defaults to ~/.openclaw/erpclaw)
25+
export ERPCLAW_HOME="$HOME/.erpclaw"
26+
```
27+
28+
Requires `python3` and `git` on PATH. On first run, ask the agent to set up your company; the skill initializes its database and walks through onboarding conversationally.
29+
30+
## Prompts
31+
32+
The two flows used to accept the Hermes port (each graded by a deterministic oracle against the resulting database rows, not by the model):
33+
34+
- "Set up my company. We're Acme Consulting, a US company. Use USD."
35+
- "Add a customer named Globex, invoice them 1,200 dollars for March consulting, then record their payment against that invoice."
36+
37+
Everyday usage is the same register: "what's my accounts receivable?", "run payroll for June", "how much of item X do we have in stock?"
38+
39+
## Skills Needed
40+
41+
- `erpclaw` (GitHub tap: `avansaber/erpclaw`)
42+
- `python3` and `git` on PATH
43+
- SQLite (bundled default) or PostgreSQL (optional backend)
44+
45+
## Notes
46+
47+
- OpenClaw is the primary, fully supported runtime; Hermes support is newer and best-effort (the project tags it beta). No encrypted-credential actions on Hermes in v1.
48+
- The curator pin matters: the SKILL.md is the skill's authoritative action catalog, and the port assumes it stays unrewritten.
49+
- Everything runs on your own machine. $0, open source (GPL v3), built by AvanSaber.
50+
51+
## Sources
52+
53+
- Repo and SKILL.md showing the Hermes runtime config (`metadata.hermes`, `ERPCLAW_HOME`): https://github.com/avansaber/erpclaw
54+
- CHANGELOG v4.10.0 "Hermes runtime port v1" entry, including the acceptance scenarios: https://github.com/avansaber/erpclaw/blob/main/CHANGELOG.md
55+
- Merged listing on awesome-hermes-agent (Domain Applications): https://github.com/SamurAIGPT/awesome-hermes-agent/pull/65

0 commit comments

Comments
 (0)