npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@miosa/osa

v0.1.11

Published

Filesystem-first framework for MIOSA OSA Projects.

Readme

OSA Framework

CI npm License

OSA is a filesystem-first framework for making your own agents on MIOSA.

Package: @miosa/osa

Repository: Miosa-osa/osa-framework

Standard Start

One file is enough:

my-agent/
  agent/
    instructions.md

Create it:

npx @miosa/osa init my-agent
cd my-agent

Write what your agent should do:

# Instructions

You are a customer research agent.

Find primary sources, summarize the important facts, and ask for approval before
contacting anyone or changing external systems.

Build the manifest:

npx @miosa/osa build

That is the standard path. Add tools, skills, subagents, schedules, channels, Computers, docs, and evals only when the agent actually needs them.

Read the full standard: docs/standard.md.

Grow The Agent

When the one-file agent needs more structure, keep growing the agent/ directory:

my-agent/
  agent/
    AGENTS.md
    agent.ts
    instructions.md
    permissions.yml
    computers/
    connections/
    channels/
    schedules/
    docs/
    skills/
    subagents/
    tools/
  evals/

Use templates when you want a prepared shape:

npx @miosa/osa init my-agent --template full
npx @miosa/osa init browser-agent --template browser-qa
npx @miosa/osa init repo-agent --template repo-maintainer
npx @miosa/osa init deploy-agent --template deployment-operator

List templates:

npx @miosa/osa templates

Run Or Deploy On MIOSA

After building, use the MIOSA CLI:

miosa osa publish --workspace <workspace-id>
miosa osa deploy --workspace <workspace-id> --wait
miosa osa run "inspect this repo" --sandbox <sandbox-id>
miosa osa run "validate the browser workflow" --computer <computer-id>

agent/agent.ts declares the agent operating profile. The framework compiles that profile into the manifest; the MIOSA CLI/backend use it as the default for run and deploy unless a CLI flag overrides it.

import { defineAgent } from "@miosa/osa";

export default defineAgent({
  model: {
    primary: "openai/gpt-5",
    fallback: ["anthropic/claude-sonnet-4.6"],
  },
  harness: {
    engine: "auto",
    allowed: ["codex", "claude-code", "hermes", "osa"],
  },
  runtime: {
    target: "miosa-cloud",
    durability: "checkpointed",
    streaming: true,
  },
  sandbox: {
    backend: "auto",
    allowed: ["miosa-computer", "miosa-sandbox", "local-docker"],
  },
});

Why OSA

Filesystem-first agents are easier to inspect, review, test, and operate. OSA uses that authoring model, but targets MIOSA platform primitives:

  • Computers and browser-capable desktop automation
  • OpenComputers and BYOC runtime targets
  • Persistent sandboxes and workspace state
  • Durable deployment records through miosa osa deploy
  • Runtime profiles that separate model routing, harness engine, compute backend, durability, and policy
  • Skills, tools, subagents, schedules, channels, root-level evals, docs, and approvals
  • White-label deployments where the agent runs inside customer-facing products

Commands

osa init [target]
osa init [target] --template repo-maintainer
osa info [target]
osa build [target]
osa skills [target]
osa docs
osa templates

osa docs prints the bundled documentation path. Coding agents can read those files from node_modules/@miosa/osa/docs after installation.

Standards

Read docs/standards.md before publishing a serious OSA project. It defines the expected bar for instructions, tools, skills, subagents, permissions, evals, schedules, channels, examples, and deployment readiness.

Examples

Real examples live in examples/:

Built-in templates:

  • standard
  • full
  • browser-qa
  • clinic-ops
  • repo-maintainer
  • deployment-operator

Compatibility alias: default maps to standard.

Legacy compatibility: existing projects with osa/ still inspect and build, but new projects should use agent/.

Library

import { initProject, inspectProject, buildProject } from "@miosa/osa";

await initProject("my-agent");
const project = inspectProject("my-agent");
const build = buildProject("my-agent");

Status

This package is the standalone framework authoring surface. Runtime dispatch, tenant auth, Computer execution, and deployment are provided by the MIOSA platform and the miosa CLI.