File size: 4,186 Bytes
38eace5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
# Fox1.2 OpenClaw - 100% OpenClaw Tool Supported

A fine-tuned Qwen2.5-0.5B model optimized for OpenClaw agent tool execution.

## Model Details
- **Base:** Qwen2.5-0.5B-Instruct  
- **Parameters:** ~494M (compressed, efficient)
- **Context Length:** 32,768 tokens
- **Size:** ~994MB (F16)

## Capabilities - All OpenClaw Tools Supported ✅

### Core Tools
- **exec**: Shell command execution (ls, cd, git, docker, npm, pip, python, node, etc.)
- **read**: Read file contents (path required)
- **write**: Write content to file (path, content required)
- **edit**: Edit file by replacing exact text (path, oldText, newText required)

### Process Management
- **process**: Background session management (list, poll, write, send-keys, submit, paste, kill)

### Web Operations
- **web_search**: DuckDuckGo search (query, count, region, safeSearch)
- **web_fetch**: Fetch and extract web content (url, extractMode, maxChars)

### OpenClaw Management
- **session_status**: Get session information
- **sessions_list**: List active sessions (activeMinutes, kinds, limit, messageLimit)
- **sessions_history**: Get conversation history (sessionKey, includeTools, limit)
- **sessions_send**: Send messages between sessions (sessionKey/label, message)
- **sessions_spawn**: Spawn sub-agents or ACP sessions (task, runtime, mode, etc.)
- **sessions_yield**: End current turn
- **subagents**: Manage spawned sub-agents (list, kill, steer)

### Cron Jobs
- **cron**: Job management (status, list, add, update, remove, run, runs, wake)

### Memory
- **memory_search**: Search memory files (query, maxResults, minScore)
- **memory_get**: Retrieve memory content (path, from, lines)

### Additional
- **image**: Image analysis (image/images, prompt)
- **weather**: Weather information (location)

## Tool Call Format

When you need to execute a tool, respond with JSON in this format:

```json
{"action": "tool_name", "param1": "value1", "param2": "value2"}
```

### Examples

```json
{"action": "exec", "command": "ls -la"}
{"action": "read", "path": "/home/user/README.md"}
{"action": "write", "path": "/home/user/test.txt", "content": "Hello World"}
{"action": "web_search", "query": "python tutorials"}
{"action": "weather", "location": "Athens"}
{"action": "cron", "action": "list"}
{"action": "session_status"}
```

## Usage

### Ollama
```bash
# Create the model
ollama create fox1.2-openclaw -f Modelfile

# Run it
ollama run fox1.2-openclaw "list files in current directory"
```

### Python/Transformers
```python
from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("teolm30/fox1.2-openclaw")
tokenizer = AutoTokenizer.from_pretrained("teolm30/fox1.2-openclaw")

# Generate tool call
inputs = tokenizer("List all files", return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0]))
```

### HuggingFace CLI
```bash
# Download
huggingface-cli download teolm30/fox1.2-openclaw

# Or use curl
curl -L -o fox1.2-openclaw.gguf https://huggingface.co/teolm30/fox1.2-opencloak/resolve/main/fox1.2-openclaw.gguf
```

## Why This Model?

- **Compact**: 494M params - runs on consumer hardware (6GB VRAM)
- **Fast**: Optimized for local inference
- **100% Tool Support**: All OpenClaw agent tools supported
- **Smart Tool Selection**: Knows when to use each tool appropriately
- **OpenClaw Native**: Built specifically for OpenClaw integration

## Training

Trained on 200+ examples covering all OpenClaw tool patterns:
- File operations (read, write, edit)
- Shell commands (exec)
- Web operations (search, fetch)
- Session management
- Cron jobs
- Memory operations
- And more...

Optimized for tool call generation and execution in agent workflows.

## OpenClaw Configuration

Add to your `models.json`:

```json
{
  "id": "fox1.2-openclaw:latest",
  "name": "Fox1.2 OpenClaw",
  "reasoning": false,
  "input": ["text"],
  "contextWindow": 32768,
  "maxTokens": 4096,
  "api": "ollama"
}
```

Then restart OpenClaw: `openclaw gateway restart`

## License
Apache 2.0

## Author
teolm30 (OpenClaw Community)

## Version History
- v1.0 (2026-04-01): Initial release with 100% OpenClaw tool support