2026-11-26 15:50 UTC

Plurnk releases model-directed context and agent delegation harness

state: watchingheat: lowuncertainty: highrelevance: mediumagent-harnesses context-management local-inference agent-memoryPlurnkwikitopian

What is this?

Plurnk is an MIT-licensed, open-source agent harness from maintainer wikitopian, released as a CLI and daemon for local or cloud model endpoints. Its design treats the model as responsible for choosing what to keep in active context and what to retrieve: conversations and other resources are addressable, while original material and execution records remain available. Model-issued operations are parsed through an ANTLR grammar into executable actions; the system also supports persistent workspaces and delegation among workers. The project was presented on Hacker News on September 16, October 11, and November 21, 2026. The repository documentation describes the released architecture and installation; claims of weeks-long context continuity, better performance, or benchmark comparability come from the maintainer, with no independent verification supplied.

Why it matters

Plurnk explores an alternative to automatically summarizing or truncating long agent sessions: let models retrieve and curate addressable evidence while preserving the underlying record. If reliable, that could make persistent coding and research workflows more inspectable and reduce context loss, including on modest local setups. Grammar-checked actions and mixed local/cloud delegation are notable design choices, but the evidence here establishes a released project and its stated features—not that they outperform other harnesses or work reliably over weeks.

Current assessment

New evidence through November 21 is chiefly the maintainer's repeated presentation of the same project, not an independently verified adoption or performance milestone. The GitHub repository says Plurnk's CLI connects to a separate daemon, supports local or cloud endpoints, persistent daemon-side workspaces, model-directed retrieval and context curation, grammar-parsed operations, structured errors and execution records, and worker delegation that can mix endpoints. It documents installation and client interfaces; the HN posts describe use on an RTX 5070 Ti with 16 GB VRAM and later characterize the project as comparable to bare pi agent in a benchmark published separately. Those performance and long-session claims are self-reported; no benchmark results, independent testing, or user adoption evidence are included. A November 21 post says addressable, pattern-searchable context helps local models with smaller context windows and avoids amnesia, but this remains the author's claim. Significance is as an experiment in shifting context-management strategy from harness-led compaction to model-directed retrieval and curation, while retaining source evidence and supporting delegation. Open questions include model reliability in choosing and pruning context, practical safety of operations (the repository says proposals are accepted automatically by default unless configured otherwise), and comparative quality, cost, and robustness.

Measured heat

now 0 pts/hpeak 1 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 1719h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

09-16 00:28 (minted)⭐ origin echo-reconstructedThe released CLI and daemon architecture expose model-directed context curation, grammar-parsed operations, hash-anchored edits, persistent
Plurnk on github (echo) · attributed from hn.story.49720466 · published time unknown
—
09-15 23:57first on hacker news · published · lag ?Show HN: Plurnk (Yet *Another* AI Harness)
wikitopian
—
09-15 23:57amplified on hacker news 👑hn.story.49720466
wikitopian
peak 1 · 0 comments · 34% of case engagement
10-11 08:27amplified on hacker newshn.story.50040855
wikitopian
peak 1 · 0 comments · 34% of case engagement
11-20 18:38amplified on hacker newshn.story.50579653
wikitopian
peak 1 · 0 comments · 34% of case engagement
09-16 00:21our radar first saw it · lag ?discovery anchor: hn.story.49720466—

Evidence (4) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: Plurnk (Yet *Another* AI Harness)
Retrieved article excerpt

Open article · Retrieved 2026-09-16T00:22:21.774598+00:00

# Plurnk

**The [Bitter Lesson](https://bitterlesson.ai/) applies to the harness, too.**

The model should decide what to remember, where to look, when to delegate, and
how to proceed. Plurnk is an agentic operating system and programming language
that puts those decisions in the model's hands.

Files, tools, and the agent's own context become an addressable environment.
Composable operations let it search that environment, make precise changes,
curate its memory, and build its own delegation topology. The runtime provides
reliable machinery; the model supplies the strategy.

Use local or cloud models to build software, investigate a codebase, or automate
work across tools. Interact from your terminal or editor, or compose Plurnk
with ordinary shell pipelines.

This repository provides the CLI and interactive terminal client for
[plurnk-service](https://github.com/plurnk/plurnk-service), the shared daemon.

## Why Plurnk

- **Curation, not compaction.** The agent retrieves the passages it needs and
  removes stale items or individual lines from its active context. Its working
  set changes; source material and original execution evidence survive.
- **Precision without ceremony.** Line ranges, character regions, and
  hash-anchored edits make surgical changes possible. Stale anchors reject
  conflicting edits before they overwrite the wrong text.
- **The model chooses the topology.** Fork with existing context, start a
  worker with a fresh log, or delegate pure inference without an agent loop.
  Parent and child models can use different endpoints: a cloud model can
  orchestrate local workers through the same primitives.
- **Execution with evidence.** ANTLR parses model output into executable
  operations. The runtime records their results and returns structured errors
  the model can act on. Full packet digests make the work inspectable. A
  compatible local server can run under a grammar you wrote, carried verbatim.

Workspaces and worker conversations live in the daemon, independently of the
client session. Choose your model, context limits, tools, and capability
policies without replacing the environment. No Plurnk account is required.

## Patterns that compose

The pattern engine connects discovery and context management. Path globs
combine with full-text search, regex, JSONPath, XPath, and symbol-graph queries.
The model can search for phrases, inspect structured data, or follow symbol
relationships without writing a script for each question.

For example, these model-side operations find TypeScript files matching
`retry` or `timeout`, then trim older READ receipts to their first 16 lines:

```
### FIND_ (src/**/*.{ts,tsx})
~retry OR timeout

### KILL_ (log:///1/[1-7]/*/READ) <17,-1>
```

The second operation targets READ results from turns 1–7 of loop 1. It curates
the log, not the source files. One expression can manage many entries: the
agent has bulk operations over its own context, not just over your code.

## Get started

Requires Node.js 26+, npm, Git, and a local or cloud model endpoint.

```
npm install -g @plurnk/plurnk @plurnk/plurnk-service
```

In one terminal, configure a model and start the daemon. This example uses
DeepSeek; see [model configuration](https://github.com/plurnk/plurnk-service/blob/main/plurnk-providers/docs/models.md)
for other providers and local servers.

```
export DEEPSEEK_API_KEY="your-api-key"
export PLURNK_MODEL=deepseek/deepseek-v4-flash
plurnk-service start
```

In another terminal, open a project:

```
cd /path/to/your/project
plurnk --workspace="myProject"
```

Give it a task in ordinary language. The model uses the operation language;
you do not need to learn it to use Plurnk. Run the same command later to return
to that workspace's conversation.

The client connects to `127.0.0.1:1066` by default and never starts the daemon.
Provider credentials belong in the daemon's environment. Proposals are accepted
automatically by default (`PLURNK_CLIENT_YOLO=1`); set it to `0` or start a prompt
with `?` to review them. Neither overrides capability restrictions.

## TUI, CLI, and Neovim

### Interactive terminal

```
plurnk --workspace="myProject"
```

A scrollback-native TUI with multiline prompts, streaming reasoning when the
provider supplies it, Markdown and Mermaid rendering, and slash commands for
managing models, workers, and tools. Run `/help` to explore; `/model` and
`/child` select the conversation and delegated models.

### CLI and pipelines

```
plurnk "Explain how this project's request handling works"
plurnk "Summarize this repository" > overview.md
git diff | plurnk "Review this patch for correctness"
plurnk --json "Explain the test layout" | jq -r .response
```

One-shot commands put the answer on stdout and progress on stderr. `--json`
returns one structured document containing the answer, operation trace,
diagnostics, and usage.

Use `plurnk --help` for CLI options. `plurnk models` lists available model
routes.

### Neovim

For an editor-native interface, use [plurnk.nvim](https://github.com/plurnk/plurnk.nvim)
against the same daemon.

## Extend and configure

Plurnk uses **AG-UI** for clients, **MCP** for external tools, **Agent Skills**
for reusable instructions, and **A2A** for remote agents. Tools, skills, and
agents can be discovered and enabled per worker without restarting the daemon.
Their documentation is retrieved on demand rather than loading every tool's
schema into every prompt.

Configuration uses cascading environment variables and `.env` files, including
the XDG user configuration at `~/.config/plurnk/.env`. Model discovery uses
[models.dev](https://models.dev). Inspect the complete, documented configuration
catalog with:

```
plurnk-service config defaults
```

## Documentation

- [Installation and configuration](https://github.com/plurnk/plurnk-service/blob/main/plurnk-core/INSTALL.md)
- [Architecture and extension points](https://github.com/plurnk/plurnk-service/blob/main/ARCHITECTURE.md)
- [The model-facing language](https://github.com/plurnk/plurnk-service/blob/main/plurnk-contracts/plurnk.md)
- [Client reference](https://github.com/plurnk/plurnk/blob/main/SPEC.md) and [terminal design](https://github.com/plurnk/plurnk/blob/main/TUI.md)

## Contributing

Questions, bug reports, and feedback are welcome in
[GitHub issues](https://github.com/plurnk/plurnk/issues). See the shared
[contributing guide](https://github.com/plurnk/plurnk-service/blob/main/CONTRIBUTING.md)
for development guidance.

## License

[MIT](https://github.com/plurnk/plurnk/blob/main/LICENSE).
wikitopian10
🟧 echo.github ⭐The released CLI and daemon architecture expose model-directed context curation, grammar-parsed operations, hash-anchored edits, persistent Plurnk——
🟧 hnShow HN: An Agentic Virtual Machinewikitopian10
🟧 hnShow HN: Curation Beats Compactionwikitopian10

Interpretation history

Decision trace