Measure from step to task.
Trace model steps, agent turns, and completed tasks—from input and tool calls through to final output—so every improvement is grounded in evidence.
1import { Agent } from "@nylorun/harness"2import { Runtime, serveAgents } from "@nylorun/runtime"3import { Hono } from "hono"4import { gcp, github, knowledgeGraph, sandbox } from "./capabilities"5 6const wiki = Agent({ id: "wiki", name: "Generate Wiki for Repo" })7 .use(github)8 .use(sandbox)9 .use(knowledgeGraph)10 .use(gcp)11 .build()12 13const app = new Hono()14app.route("/agents", serveAgents({15 agents: [wiki], runtime: new Runtime(), basePath: "/agents",16}))Harness keeps execution visible and composition explicit, while you remain in control.
Trace model steps, agent turns, and completed tasks—from input and tool calls through to final output—so every improvement is grounded in evidence.
Harness
Serve agents through Hono wherever Hono runs. Bring the sandboxing, durability, and observability you need, while retaining complete control of your data, credentials, and deployment.
Package instructions, tools, model selection, and context into reusable capabilities. Compose your own or third-party middleware with .use() to extend an agent without rebuilding it.
Harness brings models, capabilities, and tools into one visible loop that continues until the agent reaches an answer.
Request. Response
Execute. Results
Request. Response
Execute. Results
Create, compose, run, and inspect agents with an open-source stack that works together—and keeps you in control.
Create and run an agent from the starter in minutes.
@nylorun/create-agentCompose reusable capabilities into the agent you need.
@nylorun/harnessRun locally, then take the same agent to cloud infrastructure.
@nylorun/runtimeChat with agents and inspect their session logs side by side.
@nylorun/studioThe core decisions, package boundaries, and current availability in one place.
Nylorun Harness is an open-source, provider-neutral TypeScript library for building agents around a visible model-and-tools loop. It is designed for developers who want to compose agent behavior while retaining ownership of their application and infrastructure.
Read the Harness overviewYes. Nylorun Runtime mounts agent routes in a Hono application, while Harness runs the in-process model-and-tools loop. Your application remains responsible for transport, authentication, provider accounts, and deployment.
Learn about deployment responsibilitiesCreator scaffolds a compatible project, Harness composes capabilities and runs the agent loop, Runtime provides the local host and CLI, and Studio is an optional local dashboard for inspecting agents and sessions.
See the package overviewYou do. Harness and Runtime provide portable contracts and local tooling, while your application owns provider accounts, credentials, storage, transport, access controls, and deployment decisions.
Review production responsibilitiesHarness, Runtime, Studio, and Creator are available as experimental beta packages. The Managed Agents platform is in limited early access and is being developed separately from the open-source stack.
Start with the quickstartWe're building the managed agents platform and are working with limited set of partners.