localharness 0.78.0

Agents that own themselves: one Rust crate that's both an agent SDK (streaming, tools, hooks, policies, triggers, MCP) and a wallet-owning, self-sovereign agent that runs in the browser.
Documentation
1
2
3
4
5
6
7
8
9
{
  "id": "005",
  "prompt": "Draw a 2px border rectangle around the screen edge plus both diagonals, all in white on black. Use fill_rect for the border and draw_line for the diagonals.",
  "solution_rl": "fn frame(t: i32) {\n    let w: i32 = host::display::width();\n    let h: i32 = host::display::height();\n    host::display::clear(0x000000);\n    host::display::fill_rect(0, 0, w, 2, 0xffffff);\n    host::display::fill_rect(0, h - 2, w, 2, 0xffffff);\n    host::display::fill_rect(0, 0, 2, h, 0xffffff);\n    host::display::fill_rect(w - 2, 0, 2, h, 0xffffff);\n    host::display::draw_line(0, 0, w - 1, h - 1, 0xffffff);\n    host::display::draw_line(w - 1, 0, 0, h - 1, 0xffffff);\n    host::display::present();\n}\n",
  "tags": [
    "display",
    "draw_line"
  ]
}