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.
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,@resourceor@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.
AgentScopebounds 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.
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
| Benchmark | Objeck | CPython 3.12 | LuaJIT 2.1 | Java 21 |
|---|---|---|---|---|
| nbody, 50M | 8.15 | 144.46 | 4.29 | 2.29 |
| spectralnorm, 5500 | 2.91 | 126.57 | 1.12 | 1.18 |
| fannkuchredux, 12 | 33.24 | 422.92 | 116.46 | 20.50 |
| mandelbrot, 4000 | 1.90 (0.98 on 3 threads) | 33.20 | 0.73 | 0.70 |
| binarytrees, 17 | 2.03 | 3.55 | 3.53 | 0.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