@agentskit/cli 0.4.0 → 0.5.0
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 +53 -0
- package/dist/bin.cjs +1386 -90
- package/dist/bin.cjs.map +1 -1
- package/dist/bin.js +1 -1
- package/dist/chunk-YHCQHIPX.js +1566 -0
- package/dist/chunk-YHCQHIPX.js.map +1 -0
- package/dist/index.cjs +1392 -90
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +196 -2
- package/dist/index.d.ts +196 -2
- package/dist/index.js +1 -1
- package/package.json +35 -10
- package/dist/chunk-LVWMW6SW.js +0 -270
- package/dist/chunk-LVWMW6SW.js.map +0 -1
package/README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# @agentskit/cli
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
Chat with any LLM, scaffold projects, and run agents — all from your terminal.
|
|
6
|
+
|
|
7
|
+
## Why
|
|
8
|
+
|
|
9
|
+
- **Zero setup for prototyping** — go from idea to running conversation in under a minute; no boilerplate, no config files to write
|
|
10
|
+
- **Scaffold production-ready projects** — generate a React chat app or terminal agent with the right structure so you skip the boring setup
|
|
11
|
+
- **Script and automate** — pipe inputs, use env vars for keys, and compose with other Unix tools for lightweight agent scripting
|
|
12
|
+
|
|
13
|
+
## Install
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm install -g @agentskit/cli
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Quick example
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
# Chat with Claude instantly
|
|
23
|
+
ANTHROPIC_API_KEY=... agentskit chat --provider anthropic --model claude-sonnet-4-6
|
|
24
|
+
|
|
25
|
+
# Chat with a local model (no API key needed)
|
|
26
|
+
agentskit chat --provider ollama --model llama3.1
|
|
27
|
+
|
|
28
|
+
# Scaffold a new React chat app
|
|
29
|
+
agentskit init --template react --dir my-app
|
|
30
|
+
|
|
31
|
+
# Scaffold a terminal agent
|
|
32
|
+
agentskit init --template ink --dir my-cli
|
|
33
|
+
|
|
34
|
+
# Run a headless agent (same building blocks as the CLI)
|
|
35
|
+
agentskit run --help
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Next steps
|
|
39
|
+
|
|
40
|
+
- Generated apps use [`@agentskit/react`](https://www.npmjs.com/package/@agentskit/react) or [`@agentskit/ink`](https://www.npmjs.com/package/@agentskit/ink) — extend with [`@agentskit/tools`](https://www.npmjs.com/package/@agentskit/tools), [`@agentskit/skills`](https://www.npmjs.com/package/@agentskit/skills), and [`@agentskit/runtime`](https://www.npmjs.com/package/@agentskit/runtime) for programmatic agents
|
|
41
|
+
|
|
42
|
+
## Ecosystem
|
|
43
|
+
|
|
44
|
+
| Package | Role |
|
|
45
|
+
|---------|------|
|
|
46
|
+
| [@agentskit/runtime](https://www.npmjs.com/package/@agentskit/runtime) | `createRuntime` — agents outside the CLI |
|
|
47
|
+
| [@agentskit/adapters](https://www.npmjs.com/package/@agentskit/adapters) | All `chat` / `run` providers |
|
|
48
|
+
| [@agentskit/ink](https://www.npmjs.com/package/@agentskit/ink) | Ink UI used by interactive `chat` |
|
|
49
|
+
| [@agentskit/core](https://www.npmjs.com/package/@agentskit/core) | Shared types and contracts |
|
|
50
|
+
|
|
51
|
+
## Docs
|
|
52
|
+
|
|
53
|
+
[Full documentation](https://emersonbraun.github.io/agentskit/)
|