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

@ponythewhite/base-context

v1.1.15

Published

Synerise base-context: a coding and research agent with durable context and a persistent Python REPL

Readme

Base Context

base-context — made in Poland by Synerise AI.

Keep the work. Focus the context.

Give your agent a workspace, not just a conversation. Base Context combines persistent Python, retained outputs, and instruction recovery to keep coding and research moving across long sessions. Developed by Synerise, built on Prime Agent.

Curated benchmark: 27–39% shorter mean attempt times, 150/150 Base native completions, and faster results in 128/141 pairs where both harnesses completed and fully passed.

Less waiting. Strong results. In our curated 50-task benchmark, Base delivered 27–39% shorter mean attempt times across three matching profiles and 150/150 native completions. Explore the benchmark.

Install · Workflow · Benchmarks · Design · Documentation

Install

On macOS or Linux:

curl -fsSL https://github.com/BaseModelAI/base-context/releases/latest/download/install.sh | bash

The installer offers missing prerequisites and prepares Node.js, uv, and managed Python. Run the final PATH command it prints, then:

cd /path/to/project
base-context

Bring your existing provider account. Choose /login, then /model and /effort. Have ChatGPT with Codex access? Choose OpenAI Codex in /login—no separate API key needed. Other supported subscriptions and API keys are available through their provider routes. Provider setup.

Install commands use the latest public release. See the changelog for version-specific changes.

If you already manage Node.js/npm, use Node.js 22.12+ on 22.x, or 23.3+. In Bash/Zsh:

npm install -g @ponythewhite/base-context
BASE_CONTEXT_INSTALL_UV=1 base-context

The first normal launch prepares managed Python. The flag permits installing missing uv. Use this route instead of the installer above.

Windows, source builds, updates, rollback, and uninstall.

Built for more than one turn

  • Inspect once. Build on it. Keep parsed data, variables, and command handles in a persistent Python workspace. Project tools still run in the project's own environment. You do not need to write Python yourself.
  • Keep output, not clutter. Retain long results and recover the exact failure, passage, or line you need through prime_context.
  • Carry the thread. TaskFrames carry selected earlier user instructions and goal state through compaction. Retained sources support recovery after a saved-session restart.
  • Put independent work in parallel. Workers have their own contexts and return messages or reports while the parent keeps moving.

Use it

Start in your repository, put project rules in AGENTS.md, and ask for an outcome:

Fix the failing parser test. Keep the public API unchanged.
Delegate the API review to a worker while you finish the documentation.

| Command | Purpose | | --- | --- | | /goal <objective> | Start a persistent goal; manage it with status, pause, resume, or clear | | /agents [N] | Show or set the subagent cap, default four | | /btw <question> | Ask a side question without steering the main task; Esc returns | | /context, /usage | Inspect context, captured usage, and cost estimates | | /compact, /refine | Summarize context or refine saved harness advice | | base-context -c | Continue the latest saved session | | base-context agents | Open the agents view | | base-context attach <agent> | Reattach to a resident agent | | base-context shutdown | Stop all agents and background services |

Normal interactive work can continue after the terminal detaches. Reattach when you're ready. Ten-minute workflow · Full usage · Goals and background work.

Benchmarks

Long tasks. Less waiting.

Our curated 50-task comparison puts Base Context development builds and Codex 0.160.0 through staged work with forced compaction and scheduled cold restarts.

| Profile · 50 attempts per harness | Mean time, Base / Codex | Full artifact passes, Base / Codex | | --- | ---: | ---: | | GPT-6 Astra · medium | 508.4 / 697.2 s | 49 / 50 | | GPT-6.1 Sol · high | 606.4 / 967.4 s | 50 / 49 | | GPT-6.1 Sol · xhigh | 908.1 / 1,481.3 s | 49 / 47 |

Base was faster in 128/141 pairs where both harnesses completed natively and fully passed. Across all selected attempts, native completions were 150/150 versus 144/150, and full artifact passes were 148/150 versus 146/150. Artifact scores include three passing Codex timeouts; completion is scored separately.

Time chart · Quality chart · Cost chart · Benchmark data.

Estimated cost per task

About 11.3% lower estimated cost overall, or $0.213 saved per task, across 150 selected attempts per product.

| Model / effort | Base estimate / task | Codex estimate / task | Base saving / task | Base saving | | --- | ---: | ---: | ---: | ---: | | Astra / medium | $3.325 | $3.668 | $0.343 | 9.3% | | Sol 6.1 / high | $0.753 | $0.836 | $0.082 | 9.8% | | Sol 6.1 / xhigh | $0.948 | $1.161 | $0.213 | 18.3% | | All profiles | $1.675 | $1.888 | $0.213 | 11.3% |

Both products include estimates for missing captured costs: Base's missing usage uses comparable-request means; Codex's missing model identities use requested-profile rates. Known components, assumptions and sensitivity support this API-list-rate comparison, not an invoice or complete-family-spend claim.

Scope: 50 curated, outcome-informed tasks; three profiles; first provider-clean attempt per cell, including clean failures and timeouts. Request-budget selection was off. Full methodology covers selection, provider exclusions, mixed builds, and cost sensitivity.

Earlier comparisons remain withdrawn and available as archives: Python 30 · Earlier evaluation records.

How it works

Keep a notebook. Work from a clear desk. Retained history holds the source material. The working context carries what the agent is using now. The Python workspace keeps reusable data and command handles, while the TypeScript host runs model calls, sessions, goals, and worker lifecycles.

Base Context builds source-backed context and recovery around Prime Agent's persistent Python programming model. The workspace, retained output, TaskFrame, and recovery are available in ordinary sessions. For tighter per-request control, opt into budget-driven selection with an explicit enforce-mode settings profile or SDK option on supported routes. Working budget profile.

Architecture · Why we forked · Context management · SDK · All docs.

Save important deliverables in files; Python restoration is best-effort. Commands run with your user permissions, so use an external sandbox for untrusted code.

License and thanks

Synerise develops Base Context. BaseModelAI/base-context is its GitHub home; @ponythewhite/base-context is the npm package; base-context is the command.

MIT, with upstream notices preserved in NOTICE.

Thank you to Prime Intellect for the excellent Python-first agent and recursive runtime, and to Mario Zechner's Pi, on which Prime Agent builds. Base Context is an independent Synerise fork.