smartypants-network 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -0
- package/bin/smartypants.mjs +512 -13
- package/package.json +8 -3
- package/smartypants.mjs +1042 -9
package/README.md
CHANGED
|
@@ -16,6 +16,18 @@ smartypants ask "Name three planets." # one prompt in, the answer out
|
|
|
16
16
|
git diff | smartypants ask --system "Review this diff in 5 bullets"
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
+
## When to use it
|
|
20
|
+
|
|
21
|
+
- **Use it for** everyday AI calls where an exact open model is good enough and price matters:
|
|
22
|
+
summaries, extraction, classification, drafting, tool calls, JSON output, embeddings and reranking.
|
|
23
|
+
Work that can wait goes in a batch at half the per-token price.
|
|
24
|
+
- **Don't use it for** work that needs a frontier-size model, more context than a model lists,
|
|
25
|
+
or strict latency. Keep your current provider for those, and as a fallback.
|
|
26
|
+
- Requests run on Macs owned by other people: don't send secrets or personal data unless the
|
|
27
|
+
person you work for has approved it. Check `is_ready` on https://smartypants.network/v1/models first.
|
|
28
|
+
- Framework setups (LangChain, OpenAI Agents SDK, Vercel AI SDK, LlamaIndex, Claude Code):
|
|
29
|
+
https://smartypants.network/docs/agents#frameworks
|
|
30
|
+
|
|
19
31
|
## Workspaces and fleets
|
|
20
32
|
|
|
21
33
|
Our own account first, for now. Other keys get `CPU_PILOT_ACCOUNT_REQUIRED` until they open.
|
|
@@ -43,6 +55,16 @@ Every command takes `--json` for machine-readable output, plus `--api-key` and `
|
|
|
43
55
|
Exit codes: 0 ok, 1 the site refused or failed, 2 bad usage, otherwise the program's own exit code.
|
|
44
56
|
`smartypants help` lists every command.
|
|
45
57
|
|
|
58
|
+
## Agent skills
|
|
59
|
+
|
|
60
|
+
```sh
|
|
61
|
+
smartypants skills # the shelf: skills we checked and pinned to one commit
|
|
62
|
+
smartypants skills add grilling # installs into ~/.claude/skills and ~/.agents/skills
|
|
63
|
+
smartypants skills add --all --project # or into this project's .claude/skills and .agents/skills
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
No key needed. Our own `smartypants` skill is always on the shelf.
|
|
67
|
+
|
|
46
68
|
## As a library
|
|
47
69
|
|
|
48
70
|
The package also carries the one-file JavaScript kit:
|