added agent.pizza.yaml +46 -0
| new file mode 100644 |
| @@ -0,0 +1,46 @@ |
| 1 | +# llmman pull hf.co/unsloth/gemma-4-E4B-it-GGUF:Q4_K_M |
| 2 | +# cd demos/structured-output-pizza |
| 3 | +# mm -p "hawaiian pizza" | jq . |
| 4 | +provider: llmman |
| 5 | +model: hf.co/unsloth/gemma-4-E2B-it-GGUF:Q4_K_M |
| 6 | +baseUrl: http://127.0.0.1:17434/v1 |
| 7 | +# From a Docker sandbox, the daemon runs on the host. |
| 8 | +fallback: http://host.docker.internal:17434/v1 |
| 9 | + |
| 10 | +bashTool: false |
| 11 | +editTools: false |
| 12 | +planTool: false |
| 13 | +fetchContentTool: false |
| 14 | +askUserTool: false |
| 15 | + |
| 16 | +acp: |
| 17 | + name: pizza |
| 18 | + title: 🍕 Pizza (JSON) |
| 19 | + |
| 20 | +system: | |
| 21 | + You are a pizzaiolo. |
| 22 | + For the pizza the user names, list its ingredients for one 30 cm pizza. |
| 23 | + |
| 24 | +structuredOutput: | |
| 25 | + // One ingredient of the pizza. |
| 26 | + type Ingredient struct { |
| 27 | + Name string `json:"name"` // the ingredient's name, in the user's language |
| 28 | + Quantity float64 `json:"quantity"` // amount for one pizza |
| 29 | + Unit string `json:"unit"` // "g", "ml", "piece", "pinch" or "to taste" |
| 30 | + Category string `json:"category"` // "base", "sauce", "cheese", "meat", "vegetable", "herb" or "other" |
| 31 | + Optional bool `json:"optional"` |
| 32 | + } |
| 33 | + |
| 34 | + type Pizza struct { |
| 35 | + Name string `json:"name"` |
| 36 | + Vegetarian bool `json:"vegetarian"` |
| 37 | + Ingredients []Ingredient `json:"ingredients"` |
| 38 | + BakingTime *int `json:"bakingTime"` // minutes, null when unknown |
| 39 | + } |
| 40 | + |
| 41 | + var Recipe Pizza |
| 42 | + |
| 43 | +sampling: |
| 44 | + temperature: 0.0 |
| 45 | + chat_template_kwargs: |
| 46 | + enable_thinking: false |
| new file mode 100644 |
| @@ -0,0 +1,46 @@ |
| | 1 | +# llmman pull hf.co/unsloth/gemma-4-E4B-it-GGUF:Q4_K_M |
| | 2 | +# cd demos/structured-output-pizza |
| | 3 | +# mm -p "hawaiian pizza" | jq . |
| | 4 | +provider: llmman |
| | 5 | +model: hf.co/unsloth/gemma-4-E2B-it-GGUF:Q4_K_M |
| | 6 | +baseUrl: http://127.0.0.1:17434/v1 |
| | 7 | +# From a Docker sandbox, the daemon runs on the host. |
| | 8 | +fallback: http://host.docker.internal:17434/v1 |
| | 9 | + |
| | 10 | +bashTool: false |
| | 11 | +editTools: false |
| | 12 | +planTool: false |
| | 13 | +fetchContentTool: false |
| | 14 | +askUserTool: false |
| | 15 | + |
| | 16 | +acp: |
| | 17 | + name: pizza |
| | 18 | + title: 🍕 Pizza (JSON) |
| | 19 | + |
| | 20 | +system: | |
| | 21 | + You are a pizzaiolo. |
| | 22 | + For the pizza the user names, list its ingredients for one 30 cm pizza. |
| | 23 | + |
| | 24 | +structuredOutput: | |
| | 25 | + // One ingredient of the pizza. |
| | 26 | + type Ingredient struct { |
| | 27 | + Name string `json:"name"` // the ingredient's name, in the user's language |
| | 28 | + Quantity float64 `json:"quantity"` // amount for one pizza |
| | 29 | + Unit string `json:"unit"` // "g", "ml", "piece", "pinch" or "to taste" |
| | 30 | + Category string `json:"category"` // "base", "sauce", "cheese", "meat", "vegetable", "herb" or "other" |
| | 31 | + Optional bool `json:"optional"` |
| | 32 | + } |
| | 33 | + |
| | 34 | + type Pizza struct { |
| | 35 | + Name string `json:"name"` |
| | 36 | + Vegetarian bool `json:"vegetarian"` |
| | 37 | + Ingredients []Ingredient `json:"ingredients"` |
| | 38 | + BakingTime *int `json:"bakingTime"` // minutes, null when unknown |
| | 39 | + } |
| | 40 | + |
| | 41 | + var Recipe Pizza |
| | 42 | + |
| | 43 | +sampling: |
| | 44 | + temperature: 0.0 |
| | 45 | + chat_template_kwargs: |
| | 46 | + enable_thinking: false |
added agent.yaml +43 -0
| new file mode 100644 |
| @@ -0,0 +1,43 @@ |
| 1 | +provider: llmman |
| 2 | +model: hf.co/unsloth/gemma-4-E2B-it-GGUF:Q4_K_M |
| 3 | +baseUrl: http://127.0.0.1:17434/v1 |
| 4 | +fallback: http://host.docker.internal:17434/v1 |
| 5 | + |
| 6 | +# The agents Bob can ask with the `ask_agent` tool. |
| 7 | +# Its answer — the JSON — comes back to him as the tool's result. |
| 8 | +mmConfigs: |
| 9 | + pizza: |
| 10 | + path: agent.pizza.yaml |
| 11 | + description: All about pizzas. |
| 12 | + |
| 13 | +# Bob reads and writes files (read_file, write_file, edit_file); no shell. |
| 14 | +bashTool: false |
| 15 | +editTools: true |
| 16 | +# planTool: false |
| 17 | +# skillsDir: no-skills |
| 18 | + |
| 19 | +yolo: true |
| 20 | + |
| 21 | +acp: |
| 22 | + name: bob |
| 23 | + title: 🤓 Bob (coordinator) |
| 24 | + |
| 25 | +system: | |
| 26 | + Your name is Bob. You coordinate one agent that answered in JSON, through your `ask_agent` tool: |
| 27 | + - `pizza` for pizza recipes; |
| 28 | + When a question is about pizza, call `pizza` agent, |
| 29 | + Call the agent, then work from its JSON. |
| 30 | + |
| 31 | + To read a file, use `read_file`; to create one, `write_file`. |
| 32 | + |
| 33 | +sampling: |
| 34 | + temperature: 0.0 |
| 35 | + parallel_tool_calls: false |
| 36 | + max_tokens: 8192 |
| 37 | + chat_template_kwargs: |
| 38 | + enable_thinking: true |
| 39 | + reasoning_effort: low |
| 40 | + |
| 41 | +maxTurns: 20 |
| 42 | +watchdogTimeout: 2m |
| 43 | +firstTokenTimeout: 3m |
| new file mode 100644 |
| @@ -0,0 +1,43 @@ |
| | 1 | +provider: llmman |
| | 2 | +model: hf.co/unsloth/gemma-4-E2B-it-GGUF:Q4_K_M |
| | 3 | +baseUrl: http://127.0.0.1:17434/v1 |
| | 4 | +fallback: http://host.docker.internal:17434/v1 |
| | 5 | + |
| | 6 | +# The agents Bob can ask with the `ask_agent` tool. |
| | 7 | +# Its answer — the JSON — comes back to him as the tool's result. |
| | 8 | +mmConfigs: |
| | 9 | + pizza: |
| | 10 | + path: agent.pizza.yaml |
| | 11 | + description: All about pizzas. |
| | 12 | + |
| | 13 | +# Bob reads and writes files (read_file, write_file, edit_file); no shell. |
| | 14 | +bashTool: false |
| | 15 | +editTools: true |
| | 16 | +# planTool: false |
| | 17 | +# skillsDir: no-skills |
| | 18 | + |
| | 19 | +yolo: true |
| | 20 | + |
| | 21 | +acp: |
| | 22 | + name: bob |
| | 23 | + title: 🤓 Bob (coordinator) |
| | 24 | + |
| | 25 | +system: | |
| | 26 | + Your name is Bob. You coordinate one agent that answered in JSON, through your `ask_agent` tool: |
| | 27 | + - `pizza` for pizza recipes; |
| | 28 | + When a question is about pizza, call `pizza` agent, |
| | 29 | + Call the agent, then work from its JSON. |
| | 30 | + |
| | 31 | + To read a file, use `read_file`; to create one, `write_file`. |
| | 32 | + |
| | 33 | +sampling: |
| | 34 | + temperature: 0.0 |
| | 35 | + parallel_tool_calls: false |
| | 36 | + max_tokens: 8192 |
| | 37 | + chat_template_kwargs: |
| | 38 | + enable_thinking: true |
| | 39 | + reasoning_effort: low |
| | 40 | + |
| | 41 | +maxTurns: 20 |
| | 42 | +watchdogTimeout: 2m |
| | 43 | +firstTokenTimeout: 3m |
added hawaiian.pizza.json +49 -0
| new file mode 100644 |
| @@ -0,0 +1,49 @@ |
| 1 | +{ |
| 2 | + "bakingTime": 12, |
| 3 | + "ingredients": [ |
| 4 | + { |
| 5 | + "category": "base", |
| 6 | + "name": "Pizza Dough", |
| 7 | + "optional": false, |
| 8 | + "quantity": 250, |
| 9 | + "unit": "g" |
| 10 | + }, |
| 11 | + { |
| 12 | + "category": "sauce", |
| 13 | + "name": "Tomato Sauce", |
| 14 | + "optional": false, |
| 15 | + "quantity": 150, |
| 16 | + "unit": "g" |
| 17 | + }, |
| 18 | + { |
| 19 | + "category": "cheese", |
| 20 | + "name": "Mozzarella Cheese", |
| 21 | + "optional": false, |
| 22 | + "quantity": 150, |
| 23 | + "unit": "g" |
| 24 | + }, |
| 25 | + { |
| 26 | + "category": "meat", |
| 27 | + "name": "Ham", |
| 28 | + "optional": false, |
| 29 | + "quantity": 100, |
| 30 | + "unit": "g" |
| 31 | + }, |
| 32 | + { |
| 33 | + "category": "vegetable", |
| 34 | + "name": "Pineapple Chunks", |
| 35 | + "optional": false, |
| 36 | + "quantity": 50, |
| 37 | + "unit": "g" |
| 38 | + }, |
| 39 | + { |
| 40 | + "category": "herb", |
| 41 | + "name": "Oregano", |
| 42 | + "optional": true, |
| 43 | + "quantity": 1, |
| 44 | + "unit": "pinch" |
| 45 | + } |
| 46 | + ], |
| 47 | + "name": "Hawaiian Pizza", |
| 48 | + "vegetarian": false |
| 49 | +} |
| new file mode 100644 |
| @@ -0,0 +1,49 @@ |
| | 1 | +{ |
| | 2 | + "bakingTime": 12, |
| | 3 | + "ingredients": [ |
| | 4 | + { |
| | 5 | + "category": "base", |
| | 6 | + "name": "Pizza Dough", |
| | 7 | + "optional": false, |
| | 8 | + "quantity": 250, |
| | 9 | + "unit": "g" |
| | 10 | + }, |
| | 11 | + { |
| | 12 | + "category": "sauce", |
| | 13 | + "name": "Tomato Sauce", |
| | 14 | + "optional": false, |
| | 15 | + "quantity": 150, |
| | 16 | + "unit": "g" |
| | 17 | + }, |
| | 18 | + { |
| | 19 | + "category": "cheese", |
| | 20 | + "name": "Mozzarella Cheese", |
| | 21 | + "optional": false, |
| | 22 | + "quantity": 150, |
| | 23 | + "unit": "g" |
| | 24 | + }, |
| | 25 | + { |
| | 26 | + "category": "meat", |
| | 27 | + "name": "Ham", |
| | 28 | + "optional": false, |
| | 29 | + "quantity": 100, |
| | 30 | + "unit": "g" |
| | 31 | + }, |
| | 32 | + { |
| | 33 | + "category": "vegetable", |
| | 34 | + "name": "Pineapple Chunks", |
| | 35 | + "optional": false, |
| | 36 | + "quantity": 50, |
| | 37 | + "unit": "g" |
| | 38 | + }, |
| | 39 | + { |
| | 40 | + "category": "herb", |
| | 41 | + "name": "Oregano", |
| | 42 | + "optional": true, |
| | 43 | + "quantity": 1, |
| | 44 | + "unit": "pinch" |
| | 45 | + } |
| | 46 | + ], |
| | 47 | + "name": "Hawaiian Pizza", |
| | 48 | + "vegetarian": false |
| | 49 | +} |