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

arcie

v0.4.6

Published

The electronic line — build agents at the speed of light.

Readme

Arcie

The electronic line — build agents at the speed of light.

Site: cencori.com/arcie · Docs: cencori.com/arcie/docs

npx arcie@latest init my-agent
my-agent/
├── agent/
│   ├── agent.ts           # model + config
│   ├── instructions.md    # system prompt
│   ├── tools/             # what it can do
│   ├── knowledge/         # what it knows
│   ├── subagents/         # who it delegates to
│   ├── channels/          # HTTP, Slack, WhatsApp
│   ├── schedules/         # recurring jobs
│   ├── sessions/          # memory + session config
│   └── policies/          # guardrails, budgets, security
├── ui/                    # the frontend — optional, prewired
│   ├── app.tsx            # your UI (default: <AgentChat />)
│   └── theme.ts           # design tokens
├── arcie.json             # project + runtime manifest
├── package.json
└── tsconfig.json

The frontend ships with arcie — no Next.js, no bundler config, no second framework. arcie init scaffolds a working ui/, arcie dev serves it next to the agent on one port, and arcie build compiles it to static assets alongside the runtime:

// ui/app.tsx — yours to change
import { AgentChat } from "arcie/ui";

export default function App() {
  return <AgentChat />;
}
arcie dev             one port: your ui/, /invoke, and the local gateway
                      edits to ui/* rebuild and refresh the browser

arcie build
  → .arcie/server.mjs      the headless runtime
  → .arcie/static/         index.html, app.js, app.css

Compose the arcie/ui kit, drop in your own components, or rebuild the surface entirely on the useChat hook — it stays one build either way. Delete ui/ and the default chat page serves instead.

The same components also build to a standalone <agent-chat> web component, so you can embed an agent in a page you already own with a plain script tag:

<script src="https://unpkg.com/arcie/dist/web/agent-chat.js"></script>
<agent-chat endpoint="/invoke"></agent-chat>

How it works

  1. agent.ts defines the model and config
  2. Loader discovers tools/, subagents/, instructions.md, sessions/config.ts, policies/index.ts and merges them with inline config
  3. Runner creates a Cencori session, sends turns with instructions + tool definitions, and processes the SSE event stream
  4. Tool execution happens locally — the model requests a tool call, the runner executes it, and results are sent back to Cencori to continue the turn
  5. Memory processors run before/after each turn to manage context
  6. Hooks fire at lifecycle events
  7. Policies enforce guardrails, blocked tools, and allowed models at every turn

For local development, arcie ships a built-in LLM server (arcie dev) that supports OpenAI, Anthropic, Groq, DeepSeek, Mistral, Google, and Together — no Cencori dependency required.

Quick Start

npx arcie@latest init my-agent
cd my-agent
npm run dev

Opens a web chat UI at http://localhost:3000, served by the built-in <agent-chat> widget — no Next.js, no separate web app.

Authoring

// agent/agent.ts
import { defineAgent } from "arcie";

export default defineAgent({
  model: "claude-sonnet-4-5",
  cencori: {
    billing: { budget: "50.00/month" },
  },
});
// agent/tools/get_weather.ts
import { defineTool } from "arcie/tools";
import { z } from "zod";

export default defineTool({
  description: "Get the current weather for a city.",
  inputSchema: z.object({ city: z.string() }),
  async execute({ city }) {
    return { city, condition: "Sunny", temperatureF: 72 };
  },
});

Programmatic API

import { createAgent } from "arcie";

const agent = createAgent({
  model: "gpt-4o",
  tools: {
    greet: {
      description: "Greet someone",
      execute: ({ name }) => `Hello, ${name}!`,
    },
  },
});

const reply = await agent.generate("Say hi to Alice");

Subagents

Drop a specialist under agent/subagents/<id>/:

agent/subagents/researcher/
├── agent.ts          # defineAgent({ model, description })
├── instructions.md   # optional
└── tools/            # optional

Each subagent runs in a fresh, isolated session — the parent never sees the child's history. See docs/subagents.md.

Memory & Policies

// agent/sessions/config.ts
export default {
  maxTurns: 50,
  memory: { strategy: "lastN", limit: 20, workingMemory: true },
};
// agent/policies/index.ts
export default {
  inputGuards: ["no-email", "no-phone"],
  blockedTools: ["dangerous_tool"],
  allowedModels: ["claude-*", "gpt-4*"],
};

Deploy

arcie build compiles the agent into a deployable that answers the Cencori Runtime Contract — a container exposing five HTTP routes on $PORT:

| Route | Purpose | | --- | --- | | GET /_health | readiness | | POST /invoke | run one agent turn (JSON, NDJSON, or SSE) | | POST /channels/:name | inbound channel event | | POST /schedules/:name | fire a named schedule | | GET /_manifest | the built agent manifest |

export CENCORI_API_KEY=sk_...
arcie build        # → .arcie/manifest.json + .arcie/server.mjs (self-contained)
node .arcie/server.mjs   # or: arcie serve

The bundled server.mjs boots the contract server for the agent — the Cencori pipeline containerizes it directly. Run it locally with arcie serve.

Docs

License

MIT