llm-mar 1.0.0 → 1.0.1

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.
Files changed (2) hide show
  1. package/README.md +15 -5
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -4,6 +4,14 @@ LLM-MAR is a compact CLI that creates LLM agents, lets them debate, answers ques
4
4
 
5
5
  ## Installation
6
6
 
7
+ ### Option 1: Install from npm (Recommended)
8
+
9
+ ```bash
10
+ npm install -g llm-mar
11
+ ```
12
+
13
+ ### Option 2: Install from source
14
+
7
15
  1. Clone the repository:
8
16
  ```bash
9
17
  git clone https://github.com/renatojuniorrs/llm-mar.git
@@ -22,12 +30,14 @@ LLM-MAR is a compact CLI that creates LLM agents, lets them debate, answers ques
22
30
 
23
31
  ## Usage
24
32
 
33
+ After installation, use the `llm-mar` command (or `npx llm-mar` if installed locally).
34
+
25
35
  ### Creating Agents
26
36
 
27
37
  Create a new agent YAML file:
28
38
 
29
39
  ```bash
30
- npx llm-mar create agent myagent --model gpt-4 --goal "To answer questions" --role "Assistant" --system-prompt "You are a helpful assistant." --instructions "Think step by step,Answer clearly" --output text
40
+ llm-mar create agent myagent --model gpt-4 --goal "To answer questions" --role "Assistant" --system-prompt "You are a helpful assistant." --instructions "Think step by step,Answer clearly" --output text
31
41
  ```
32
42
 
33
43
  This creates `default/myagent.yaml`.
@@ -37,7 +47,7 @@ This creates `default/myagent.yaml`.
37
47
  Create a team of agents:
38
48
 
39
49
  ```bash
40
- npx llm-mar create team myteam --agents "default/agent1.yaml,default/agent2.yaml" --output text
50
+ llm-mar create team myteam --agents "default/agent1.yaml,default/agent2.yaml" --output text
41
51
  ```
42
52
 
43
53
  ### Running Agents
@@ -45,7 +55,7 @@ npx llm-mar create team myteam --agents "default/agent1.yaml,default/agent2.yaml
45
55
  Run an agent with input:
46
56
 
47
57
  ```bash
48
- npx llm-mar run default/myagent.yaml --input "What is the capital of France?"
58
+ llm-mar run default/myagent.yaml --input "What is the capital of France?"
49
59
  ```
50
60
 
51
61
  ### Running Teams
@@ -53,7 +63,7 @@ npx llm-mar run default/myagent.yaml --input "What is the capital of France?"
53
63
  Run a team with a specific agent:
54
64
 
55
65
  ```bash
56
- npx llm-mar run default/myteam.yaml --agent agent1 --input "Discuss this topic"
66
+ llm-mar run default/myteam.yaml --agent agent1 --input "Discuss this topic"
57
67
  ```
58
68
 
59
69
  ### Running Debates
@@ -61,7 +71,7 @@ npx llm-mar run default/myteam.yaml --agent agent1 --input "Discuss this topic"
61
71
  Run a debate (assuming you have a debate YAML):
62
72
 
63
73
  ```bash
64
- npx llm-mar run default/debate1.yaml
74
+ llm-mar run default/debate1.yaml
65
75
  ```
66
76
 
67
77
  ## YAML Structure
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "llm-mar",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "LLM-MAR is a compact CLI that creates LLM agents, lets them debate, answers questions, and builds workflows.",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -9,8 +9,9 @@
9
9
  "scripts": {
10
10
  "test": "echo \"Error: no test specified\" && exit 1"
11
11
  },
12
- "keywords": [],
12
+ "keywords": ["llm", "ai", "agents", "cli", "debate", "workflows", "openai", "langchain"],
13
13
  "author": "",
14
+ "license": "MIT",
14
15
  "repository": {
15
16
  "type": "git",
16
17
  "url": "https://github.com/renatojuniorrs/llm-mar.git"