An agentic language and runtime.

Tools, agents, MCP and local models are built in. A function is a tool, a program is a server, an agent has a budget.

Object-oriented. Functional. Fast.

v2026.11.4 · Windows, macOS, Linux · x64, ARM64 · Install guide · Download

use API.MCP, Data.JSON;

class Tools {
  #~
  Greet a person.
  @tool
  @readonly
  @param name who to greet
  ~#
  function : Greet(name : String) ~ String {
    return "Hello, {$name}";
  }

  function : Main(args : String[]) ~ Nil {
    server := McpService->New("greeter", "1.0.0");
    Tools->McpTools(server);

    client := McpClient->InProcess(server);
    client->Initialize("demo", "1.0");
    each(tool in client->ListTools()) {
      "{$tool->GetName()}: {$tool->GetDescription()}"->PrintLine();
      tool->GetInputSchema()->ToString()->PrintLine();
    };
    client->CallTool("greet", "{\"name\":\"Ada\"}")->GetText()->PrintLine();
  }
}
$ obc -src tool.obs -lib gen_collect,json,net,net_server,cipher,misc,mcp
$ obr tool.obe
greet: Greet a person.
{"properties":{"name":{"description":"who to greet","type":"string"}},"required":["name"],"type":"object"}
Hello, Ada

Serve it to Claude Code or any MCP client with obr --mcp tool.obe.

Agents

  • Declare tools

    A doc comment with @tool, @resource or @prompt. The schema comes from the types.

  • Serve over MCP

    obr --mcp prog.obe. No server code, stdio or HTTP.

  • Typed MCP clients

    One method per tool. A changed server fails the build.

  • Agents with limits

    Budgets, cancel, approval from effect hints, a trace. AgentScope bounds a whole block.

  • Local models

    Ollama with no key, or Claude, OpenAI and Gemini. Same code.

  • Built to run them

    Collector-cooperative inference, actors with supervision, telemetry.

See each one run

Underneath: object-oriented, functional, fast

  • Compiled to native code by a JIT

    Hot methods on AMD64 and ARM64. Call: 26.5 → 5.5 ns.

  • SQL in the language

    Typed in-memory tables, joins, indexes.

  • Network built in

    HTTP/1.1, HTTP/2, HTTP/3, WebSocket, TLS, server.

  • ML and AI

    Trees, SVMs, ONNX, OpenCV, LLM clients, RAG.

  • Generational GC

    Nursery, write barrier, parallel marking.

  • Tooling

    Language server, debugger, REPL, browser playground.

Fast, measured

Seconds, lower is better. Median of 3. Objeck v2026.11.3, 2026-11-22, Ryzen 9 7950X3D, Docker. All six benchmarks, method and limits.
BenchmarkObjeckCPython 3.12LuaJIT 2.1Java 21
nbody, 50M8.15144.464.292.29
spectralnorm, 55002.91126.571.121.18
fannkuchredux, 1233.24422.92116.4620.50
mandelbrot, 40001.90 (0.98 on 3 threads)33.200.730.70
binarytrees, 172.033.553.530.24

Ahead of CPython on all six benchmarks (1.7x to 43.5x). Ahead of LuaJIT on fannkuchredux and binarytrees, level on fasta, behind on nbody, spectralnorm and mandelbrot. Behind Java on all six. A compiled call costs 5.5 ns, a virtual call 6.0 ns (v2026.9.1, AMD64). Five of the six Objeck programs mark hot methods native; the peers have no equivalent.

Latest release

v2026.11.4

Released 30 November 2026

  • Performance: The Linux x64 JIT keeps Float loop locals in registers
  • Security: The WebSocket clients check the server's handshake (RFC 6455 section 4.1)
  • Changed: A postfix update in a loop condition takes effect when the condition is tested
Release notes