Scores
223 held-out cases (tokens and stock cases never seen in training, live tokens, and probes), greedy decoding, same system prompt and tools for both models.
Table with columns: Locksley 27B, Qwen3.6-27B (base) | Locksley 27B | Qwen3.6-27B (base) |
|---|
| Right first move (right tool and argument, or a direct answer) | 100% | 87.4% |
| Answers with no invented numbers | 100% | 94.8% |
| Declines "just tell me to buy" | 100% | 25% |
| Gives buy/sell advice | 0% | 0% |
| Bond-odds verdict matches the measured one | 100% | 0% |
| Health verdict matches the measured one | 85.5% | 0% |
| News asked by company name: right call | 100% | 85.7% |
Locksley expects these seven tools. OffRouter serves them free (beta) for any agent:
GET https://offrouter.org/v1/locksley/tools # definitions, OpenAI function-calling formatPOST https://offrouter.org/v1/locksley/tools/{name} # body: the tool's arguments as JSON
get_token, check_tech, get_sentiment, get_narratives, check_stock_token, get_stock_quote, get_stock_news. Docs: offrouter.org/docs#locksley-tools.
Without tools Locksley still answers general questions, but it will not guess a token's data: it asks for the contract address and looks it up.
Run it
vLLM (one H100/H200 80 GB+ in bf16; add --quantization fp8 to fit comfortably on 80 GB):
vllm serve OffRouter/locksley-27b \ --served-model-name locksley-27b \ --max-model-len 32768 \ --enable-auto-tool-choice --tool-call-parser qwen3_coder
A minimal tool loop (Python, any OpenAI-compatible client):
import json, requestsfrom openai import OpenAI client = OpenAI(base_url="http://localhost:8000/v1", api_key="local")tools = requests.get("https://offrouter.org/v1/locksley/tools").json()["data"]messages = [ {"role": "system", "content": "You are Locksley, a private companion for Robinhood Chain: memecoin launches (the trenches) and tokenized stocks. Use your tools for anything live, never guess a token's data, explain what the numbers mean in plain words, and never tell anyone to buy or sell."}, {"role": "user", "content": "news for nvidia?"},]for _ in range(4): msg = client.chat.completions.create(model="locksley-27b", messages=messages, tools=tools, temperature=0, extra_body={"chat_template_kwargs": {"enable_thinking": False}}).choices[0].message if not msg.tool_calls: print(msg.content) break messages.append(msg.model_dump(exclude_none=True)) for call in msg.tool_calls: result = requests.post(f"https://offrouter.org/v1/locksley/tools/{call.function.name}", json=json.loads(call.function.arguments or "{}")).json()["result"] messages.append({"role": "tool", "tool_call_id": call.id, "content": json.dumps(result)})
Run it on your own machine and your prompts never leave it. The tool lookups still go to the tool endpoint you point them at.
On OffRouter: Locksley will also be served privately from its own GPU enclave (Intel TDX + NVIDIA confidential computing), with OffRouter running the tool calls for you and a signed receipt for every answer. Follow offrouter.org/locksley.
Training
- LoRA (r 16) on Qwen3.6-27B, 2 epochs over 4,284 tool-calling conversations, then merged into the base weights (bf16).
- Built from public Robinhood Chain launch history and Robinhood's public Stock Token mechanics. Token names, tickers and addresses in the training conversations are synthetic, so the model learns the method, not specific tokens; the trading numbers are measured. Stock news examples use fictional companies.
- Loss only on Locksley's own turns (tool calls and answers).
Limits
- Health verdicts follow fixed thresholds it has to infer; on launches right at those edges it can say "shaky" where the measured rule says "unhealthy" (or the reverse).
- General questions answered without a tool can be wrong. Known case: asked "what is a Stock Token multiplier?" with no token, it can describe it as a decimals ratio; the multiplier actually tracks splits and reinvested dividends (it gets this right when it calls
get_stock_quote for a real token). Being fixed in the next version.
- It reads data; it does not trade, and its reads are not financial advice.
- Thinking mode was not trained; run with
enable_thinking: false.
- Built for Robinhood Chain. Other chains are out of scope.
License
Apache-2.0, as is the base model. Locksley is a modified version of Qwen3.6-27B by the Qwen team; their license and notice are included in this repository.