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

@geenius/agent

v0.16.1

Published

Geenius Agent — AI code improvement agent for Convex apps (React + SolidJS)

Downloads

744

Readme

@geenius/agent

Composable agent runtime, UI bindings, and Convex persistence helpers for the Geenius ecosystem.

Install

pnpm add @geenius/agent

Subpath Imports

import { AgentRunner, defineTool } from '@geenius/agent'
import { AgentMemory, AgentError } from '@geenius/agent/shared'
import { AgentProvider, AgentInput, AgentPanel, useAgent } from '@geenius/agent/react'
import { AgentPanel as ReactCssAgentPanel } from '@geenius/agent/react-css'
import { AgentProvider as SolidAgentProvider, createAgent } from '@geenius/agent/solidjs'
import { AgentPanel as SolidCssAgentPanel } from '@geenius/agent/solidjs-css'
import { agentTables, createSession, listSessions } from '@geenius/agent/convex'

Basic Usage

import { AgentInput, AgentPanel, AgentProvider, useAgent } from '@geenius/agent/react'

function AgentWorkbench() {
  const agent = useAgent({
    callLLM: async (messages, tools) => {
      const response = await fetch('/api/agent', {
        method: 'POST',
        headers: { 'content-type': 'application/json' },
        body: JSON.stringify({ messages, tools }),
      })

      return response.json()
    },
  })

  return (
    <section className="space-y-4">
      <AgentPanel
        steps={agent.steps}
        isRunning={agent.isRunning}
        result={agent.result}
        error={agent.error}
      />
      <AgentInput onSubmit={agent.run} isRunning={agent.isRunning} />
    </section>
  )
}

export function App() {
  return (
    <AgentProvider
      config={{ model: 'gpt-5.4', maxSteps: 8 }}
      callLLM={async () => ({ content: 'Acknowledged. Ready for the next step.' })}
    >
      <AgentWorkbench />
    </AgentProvider>
  )
}

Variant Surface

  • @geenius/agent: shared runtime, validation, tool contracts, planning, licensing, and orchestration utilities.
  • @geenius/agent/shared: direct access to the shared runtime and low-level types when you do not want a UI binding.
  • @geenius/agent/react: Tailwind-oriented React provider, hooks, components, and pages.
  • @geenius/agent/react-css: standalone React components styled with vanilla CSS files.
  • @geenius/agent/solidjs: Tailwind-oriented SolidJS provider, primitives, components, and pages.
  • @geenius/agent/solidjs-css: standalone SolidJS components styled with vanilla CSS files.
  • @geenius/agent/convex: schema, typed queries, typed mutations, and table exports for Convex-backed persistence.

Storybook

Local Storybook review apps are included for both frameworks and surface the Tailwind and vanilla CSS variants side by side.

Package Contract

  • The root package is ESM-only and publishes explicit subpath exports for every supported variant.
  • Framework variants depend on the shared runtime through published workspace subpaths rather than private source paths.
  • The Convex variant isolates convex to @geenius/agent/convex, so non-Convex consumers do not pull Convex into their dependency tree.
  • Build, lint, and test workflows are package-scoped; Storybook apps are verified separately as review surfaces.

License

Proprietary. See LICENSE.