omp packages

pi-autocontext0.10.0

autocontext extension for Pi coding agent — iterative strategy generation, LLM judging, and evaluation tools

GitHub Actions Published 2 months ago MIT ~180 downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

pi-autocontext

autocontext extension for Pi coding agent — iterative strategy generation, LLM judging, and evaluation tools.

Install

pi install npm:pi-autocontext@0.10.0

Current package note: pi-autocontext@0.10.0 is on a separate Pi extension line and depends on autoctx@^0.15.0. A follow-up Pi release can move it to a newer autoctx line after the core npm package is live.

Or add to your project's .pi/settings.json:

{
  "packages": ["npm:pi-autocontext@0.10.0"]
}

What You Get

Tools

Tool Description
autocontext_judge Evaluate agent output against a rubric using LLM-based judging
autocontext_improve Run multi-round improvement loop with judge feedback
autocontext_status Check status of autocontext runs and tasks
autocontext_scenarios List available evaluation scenarios and families
autocontext_queue Enqueue a task for background evaluation
autocontext_runtime_snapshot Inspect run artifacts, package provenance, compaction ledger entries, session branch lineage, and recent events

Skills

  • /skill:autocontext — Full instructions for using autocontext tools, running evaluations, and interpreting results

Prompt Templates

  • /autoctx-status — Quick project status check

Usage

Once installed, the tools are available to the LLM automatically. You can also invoke them directly:

> Evaluate the quality of this code against our coding standards rubric
> Run an improvement loop on this draft with max 5 rounds
> Show me the status of recent autocontext runs
> Inspect the runtime snapshot for run-123 and session sess-123
> List available evaluation scenarios

Or use the skill for guided workflows:

/skill:autocontext

Requirements

  • Pi coding agent
  • An LLM provider configured in Pi (Anthropic, OpenAI, etc.)
  • Optional: autoctx CLI for standalone usage outside Pi

Configuration

The extension auto-discovers your autocontext configuration:

  • Provider: Uses Pi's configured LLM provider
  • Database: Looks for runs/autocontext.sqlite3 or AUTOCONTEXT_DB_PATH env var
  • Events: Reads runs/events.ndjson or AUTOCONTEXT_EVENT_STREAM_PATH for recent runtime events
  • Scenarios: Discovers registered scenarios from the autoctx package

Links