LocalAgent โ tiny 30M byte-level tool-calling agent
A 28M-parameter, pretrained-from-scratch, byte-level agent for tool dispatch. Selection is generable (no fixed-N classifier): a 5-way route head gates modality, a dense two-tower selector scores any tool by its description embedding, and a pointer head copies argument values from the prompt. 50-tool surface.
- Free-form out-of-distribution call-name ~57%; multi-turn next-tool selection ~74%.
- Pure PyTorch (no
transformers). Load with this repo'sLocalAgentLM/ModelConfig.
Files
model.ptโ PyTorch checkpoint (backbone + ptr_head + dense_selector + route_head + examples).model.fp16.onnxโ ONNX graph (logits,hidden) for the in-browser demo.dispatch_heads.json/heads.json/meta.jsonโ head weights + tokenizer/tool contract.
Demo: https://huggingface.co/spaces/danelcsb/localagent-webgpu ยท Code: https://github.com/sangbumchoi/localagent
- Downloads last month
- 56