cd /news/ai-agents/show-hn-ish-a-rust-agent-runtime-wit… · home › topics › ai-agents › article
[ARTICLE · art-181616] src=github.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Show HN: ISH – a Rust agent runtime with SDKs for six languages

A developer named Mashetty, H. released ISH (Isolated State Harness), an open-source Rust agent runtime with SDKs for Rust, Python, TypeScript, Go, C#, and Java. The runtime exposes a versioned C ABI 1.99 with 361 registered operations and 208 published request schemas, and its conformance suite covers 157 cases across 942 case-and-SDK pairs; the SDK API inventory lists 6,490 declarations with zero unmapped items. ISH adds a Virtual Data Plane for keeping large values outside the model transcript, durable agent state backed by embedded SQLite WAL, and an optional `ish-server` HTTP/SSE control plane that SDK applications can run without.

key takeaway

ISH ships a versioned C ABI 1.99 with 361 operations and six SDKs (Rust, Python, TypeScript, Go, C#, Java) validated by a 157-case conformance suite, letting developers run agents on a compiled Rust kernel while keeping large values out of the model transcript via `$BLOB:`/`$DATA:` references.

read5 min views6 publishedDec 4, 2026
Show HN: ISH – a Rust agent runtime with SDKs for six languages
Image: Michielbdejong (auto-discovered)

ISH (I solated S tate H arness) is an unconstrained, protocol-driven execution harness for AI agents and durable workflows.

The name draws inspiration from the classical Sanskrit root īś (ईश्), meaning “to govern, command, or master” — reflecting sovereign authority and precise execution control over LLMs, tools, subagents, and environments without forcing model-driven agents into a fixed workflow. Deterministic pipelines are available through the separate, unified DurableWorkflow primitive.

The shared Rust workspace provides execution and state operations. Six language SDKs expose those operations through typed APIs and host-runtime adapters.

If you use ISH in research, please cite the relevant work:

  • Mashetty, H. (2026). ish: Decoupling Data-Plane Transport from Control-Plane Execution in Autonomous LLM Agent Harnesses . Zenodo.

  • Mashetty, H. (2026). Comparing Multi-Agent Coordination Channels Under a Shared Execution Contract . Zenodo.

  • Compiled Rust execution kernel (ish-core and the Rust workspace) for agent runs, model and tool dispatch, lifecycle, policy, and protocols.

  • Virtual Data Plane for context and shared data, includingContextStore , Blackboard actions, and$BLOB: ,$DATA: , and$SOURCE_DATA references. Large values can stay outside the model transcript.

  • Durable agent state : persist session conversation history with a stable session ID, and opt into namespaced durableContextStore working state or cross-sessionMemoryStore using the same SQLite orStorageConnector persistence backend.

  • Embedded SQLite WAL durability for traces, spans, approvals, workflows, checkpoints, and persistence-backed state.

  • Versioned C ABI : ABI 1.99, 361 registered operations, and 208 published request schemas.

  • Six SDKs connected to the Rust core : Rust, Python, TypeScript, Go, C#, and Java. Theconformance suite has 157 cases (942 case-and-SDK pairs). The SDK API inventory contains 6,490 declarations with zero unmapped items; the Rust inventory contains 2,330 declarations across 13 crates.

  • Optional ish-server Control Plane : HTTP/SSE service and SQLite inspection CLI. SDK applications run without the server.

Build or install the SDK for your language, configure OPENAI_API_KEY, and create an agent. The examples below use the same model and prompt. See the SDK installation guide for package coordinates and native-library requirements.

use std::{env, io, sync::Arc};
use ish_core::{Agent, OpenAIModel};

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let model = OpenAIModel::new(
        "gpt-4o-mini".into(), "https://api.openai.com/v1".into(),
        env::var("OPENAI_API_KEY")?, 0.2,
    );
    let agent = Agent::builder(Arc::new(model))
        .name("assistant")
        .instructions("Answer clearly and briefly.")
        .build()
        .map_err(io::Error::other)?;
    let result = agent.run("Explain a Rust ownership rule in one sentence.").await
        .map_err(io::Error::other)?;
    println!("{}", result.content);
    Ok(())
}
python
import asyncio
from ish import Agent, OpenAICompatibleModel

async def main():
    agent = Agent(
        name="assistant",
        model=OpenAICompatibleModel(model="gpt-4o-mini"),
        instructions="Answer clearly and briefly.",
    )
    result = await agent.run("Explain a Rust ownership rule in one sentence.")
    print(result.content)

asyncio.run(main())
js
import { Agent } from "ish-harness";

const agent = new Agent({
  name: "assistant",
  model: { provider: "openai_chat", name: "gpt-4o-mini" },
  instructions: "Answer clearly and briefly.",
});
try {
  const result = await agent.run("Explain a Rust ownership rule in one sentence.");
  console.log(result.content);
} finally {
  agent.close();
}
import (
    "context"
    "fmt"
    "log"

    ish "github.com/ish-harness/ish-harness/sdks/go"
)

client, err := ish.NewClient()
if err != nil { log.Fatal(err) }
defer client.Close()
agent := ish.NewAgent(client, ish.AgentRunRequest{
    Model: &ish.AgentModel{Provider: "openai_chat", Name: "gpt-4o-mini"},
    SystemPrompt: ish.StringPtr("Answer clearly and briefly."),
})
result, err := agent.Run(context.Background(), "Explain a Rust ownership rule in one sentence.")
if err != nil { log.Fatal(err) }
fmt.Println(result["content"])
js
using System;
using Ish.Harness;

using var client = new IshClient();
using var agent = new Agent(client, new AgentRunRequest
{
    Model = new AgentModel { Provider = "openai_chat", Name = "gpt-4o-mini" },
    SystemPrompt = "Answer clearly and briefly."
});
var result = agent.Run("Explain a Rust ownership rule in one sentence.");
Console.WriteLine(result.GetProperty("content").GetString());
python
import io.github.ishharness.Agent;
import io.github.ishharness.IshClient;
import java.nio.file.Path;

try (var client = new IshClient(Path.of(System.getenv("ISH_NATIVE_LIBRARY")));
     var agent = new Agent(client, "gpt-4o-mini", "Answer clearly and briefly.")) {
  System.out.println(agent.run("Explain a Rust ownership rule in one sentence.").path("content").asText());
}

See the SDK guide, the Python, TypeScript, Go, C#, Java, and C ABI READMEs, and the documentation site.

  • Agents and tools: shared run loop, model providers, host callbacks, cancellation, lifecycle hooks, subagents, typed output, evaluation, and streaming.
  • Virtual Data Plane and Blackboard: persistent or in-memory context, documents, bounded retrieval, blob/object handles, scratchpads, and shared agent tools.
  • Sandboxed filesystem and permissions: rooted filesystem tools, deterministiceval_code viasandbox.eval_expression , process/WASI execution, and Rust-owned permission checks.
  • Durable workflows and approvals: replayable steps, SQLite-backed snapshots, approval/resume, execution claims, checkpoints, and reconciliation APIs.
  • Protocols: MCP, ACP, A2A, and AG-UI protocol helpers and transport adapters.
  • Control Plane: the optionalish-server HTTP/SSE daemon provides operational APIs, metrics, authentication, and SQLite inspection commands.

The conformance guide describes the checked contracts and limits. Benchmark methodology and reports are maintained in the ISH benchmarks repository.

Run the optional server from a source checkout:

export ISH_ADMIN_API_KEY="replace-with-a-strong-secret"
cargo run -p ish-server --release -- serve --host 127.0.0.1 --port 8080 --db ./data/ish.sqlite3

The command serves the Control Plane API. ish-server logs, inspect, workflows, inspect-workflow, and memories provide SQLite inspection. An optional static asset directory can be served at / with --ui-dir <dir> or ISH_STUDIO_UI_DIR; the server works headlessly without it. See the Control Plane guide.

From the repository root:

cargo build --workspace --release --locked

export ISH_NATIVE_LIBRARY="$PWD/target/release/libish_core.dylib"

uv sync --locked --directory sdks/python --extra all --extra dev

(cd sdks/typescript && npm ci && npm run build && npm run build:native)

(cd sdks/go && go test ./...)

dotnet build sdks/csharp/Ish.csproj

mvn -f sdks/java/pom.xml test

python3 sdks/conformance/run.py --sdk all --require-complete --require-surface-complete

Use libish_core.so on Linux and ish_core.dll on Windows.

Runnable examples for all six languages are maintained in the ISH examples repository. See its README for the example index and setup instructions.

Apache License 2.0. See LICENSE.

── more in #ai-agents 4 stories · sorted by recency
── more on @ish 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-ish-a-rust-a…] indexed:0 read:5min 2026-12-04 · —