Open Source
Jo
TypeScope develops and maintains Jo, a statically typed secure programming language that supports compile-time sandboxing. It makes AI-generated code safe by construction while fitting into the stack you already run.
Expressive
Functions, collections, loops, pattern matching and published libraries. Supports complex business logic, data queries and processing.
Language tourSecure
No ambient authority: no globals, type casts, foreign calls or reflection in confined code. Capabilities are checked at compile time.
Learn moreInteroperable
Compiles to Python and Ruby. Trusted code can call existing Python/Ruby libraries. Runs where Python/Ruby runs.
Learn moreIntegrate Jo with Agent Frameworks
Keep your model, agent loop, and tool-calling code. Add one tool that compiles and runs Jo programs, and the compiler confines every generated program before it runs.
- 1
Agent writes Jo
The model sends Jo source to your tool.
- 2
Compiler checks it
Code outside the confined API is rejected and errors go back to the agent.
- 3
Host runs it
The program runs with only the capabilities you grant.
Start from your framework
Pick the guide for the stack you already use. Each one adds Jo as a single tool.
Python
LangChain
Give a LangChain agent one tool that compiles and runs Jo programs.
@tool def run_jo_program(code: str) -> str: return run_jo(code, user_id) agent = create_agent( model, tools=[run_jo_program])Read the guide
Python
OpenAI Agents SDK
Expose Jo as a function tool to an OpenAI agent.
@function_tool def run_jo_program(code: str) -> str: return run_jo(code, user_id) agent = Agent(name="Analyst", tools=[run_jo_program])Read the guide
Jo native
Harpe
Build the whole agent in Jo with a framework sandboxed at compile time.
val runCode = RunCodeTool(sandboxDir) val tools = runCode.toolset(guestEnv)Read the guide