Skip to content

About

Monorepo for the openagent* family — small, focused, zero-dependency packages for building and running AI agents.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

agentpackages

The workshop for open agent infrastructure.

Agents are becoming the way software gets built and run. The primitives they need — memory, context, tools, evaluation, skills, discovery — are being rebuilt from scratch inside every company, badly, in private. This repo is where a shared, open set of those primitives gets built and shipped.

One repo. Shared tooling. Independent releases to npm. Free forever, MIT.

build here  ──▶  packages/<name>  ──▶  git tag <name>@<version>  ──▶  npm

What this is

A monorepo, and a commitment about how the packages inside it behave.

Everything published from here follows the same rules, so you can adopt any of it without a meeting:

Zero runtime dependencies Nothing to audit, no supply chain, installs instantly
No build step What is in the repo is what ships. Read the source you run
ESM, Node 18+ Handwritten .d.ts, so types without a compiler
MIT Use it commercially, no attribution required
Provenance-signed Published by CI from a tagged commit, never from a laptop

Small, focused packages that do one thing. Not a framework — a framework decides your architecture, and the agentic ecosystem is far too young for anyone to be making that decision for you.

Why it exists

Three things are true at once right now:

  1. Everyone is solving the same problems. Agent memory, context budgets, tool discovery, evaluation harnesses. Every team writes its own, and almost none of it is shared.
  2. The good solutions are small. Most of these are a few hundred lines. They don't need a company behind them — they need to be written once, well, in the open.
  3. The plumbing is being enclosed. The pieces that do exist increasingly sit behind a platform, a vendor SDK, or an account.

So: build the fundamentals in the open, keep them dependency-free and vendor -neutral, and let anyone anywhere use them without asking.

What's here

Published

package what it does
(none yet — see below)

Sibling repos

repo package what it is
agentskills openagentskills The skill library — procedural knowledge any agent can search and load on demand, via MCP, CLI, or plain markdown

The skill library lives in its own repo on purpose: it is a content project, and its contributors write prose rather than JavaScript. They should not have to clone a monorepo of unrelated code to add a skill.

Being considered

Nothing is scaffolded until someone needs it — see Naming for why empty placeholder packages are a bad idea rather than a free option. Candidates:

  • memory — durable, queryable agent memory
  • context — context-window budgeting and progressive disclosure
  • tools — portable tool definitions across harnesses
  • evals — a small evaluation harness with no service behind it
  • registry — discovery for agent-facing resources

If you want one of these, open an issue. If you want to write one, even better.

How it works

npm install                                    # links every workspace

npm run new -- <name> --desc "What it does"    # scaffold a package
npm test --workspace <name>
npm run check                                  # every package

Releasing is a git tag and nothing else:

npm run release -- <name> <version>            # prints the exact commands
git tag <name>@<version>
git push --tags

CI then verifies the tag matches the manifest version, runs that package's checks, and publishes with npm provenance. Nothing is published from a laptop, which means every release is traceable to a commit anyone can read.

Naming

Two rules, both learned the expensive way. The scaffolder enforces them so nobody learns them twice.

A 404 from the npm registry does not mean a name is available. npm rejects any new name that differs from an existing package only by punctuation or case. This project's own skill library was going to be agentskills until npm refused it — agent-skills already exists. npm run new checks punctuation variants before it creates anything.

Placeholder packages are not a free option. npm's terms allow a name with no functional content, held to stop others using it, to be reclaimed and handed to whoever will actually ship. Squatting costs effort and loses the name anyway. Use --scoped while an idea is still forming: @agentpackages/* is permanently reserved simply by owning the account, at zero cost and with no policy risk. Take the unscoped name when the package does something real.

Contributing

Anyone, anywhere. That is the entire point of building this in the open.

  • A package you wish existed — open an issue, or scaffold it and open a PR
  • A fix or an improvement — straight to a PR
  • A skill rather than a package — that belongs in agentskills, and there are good first issues waiting

The one hard constraint is zero runtime dependencies. It is why these install instantly and have nothing to audit, and it is the property most likely to erode if it is ever treated as negotiable. Adding a dependency needs a strong argument.

See CONTRIBUTING.md.


MIT © Roshan Sharma

About

Monorepo for the openagent* family — small, focused, zero-dependency packages for building and running AI agents.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages