Stellane: Branching PostgreSQL Data Environments for Agent Application Investigation

Introduction

When developing agent applications with DeepSeek Harness (DSH), developers often need to dig deep into the database to figure out which tables represent business objects and how they relate to one another. When facing complex relationship tables without foreign keys, or when a dry run is needed before committing changes, operating directly on the primary database carries inherent risks.

The Stellane plugin provides DSH with a branched PostgreSQL data environment, allowing agents to investigate data and rehearse fix plans on isolated branches before deciding whether to apply changes to the primary database.

What It Is

Stellane is a DeepSeek Harness plugin for investigating PostgreSQL databases in everyday chat. It helps agents discover which data represents business objects and how tables are related. With the Stello feature, suggested changes can be applied on an isolated branch and inspected before a decision is made.

The plugin is maintained by czNail, categorized under Workflows, and provides database context, verified memory, and isolated experimentation capabilities for agent applications through a branched PostgreSQL environment.

Core Features

Discover Data and Build Business Definitions

Agents can locate candidate tables based on known references, verify which columns relate to orders, and check whether joins introduce duplicate counting. Once it is confirmed which rows belong to refunds, tables, fields, and filters can be saved as a business definition. Agents can also save verified joins.

Reuse Business Definitions for Follow-up Queries

After saving a business definition, when asked again “Which channel had the most refunds this month?”, subsequent conversations in the same data source can re-check joins based on prior records. If a report is missing rows, lineage can reveal where to investigate, and query evidence can show what was lost.

Branch Rehearsal and Repair

For duplicated historical orders, a decision is needed on whether to keep the latest record or the one reconciled with payments. Read-only queries can display which rows each rule would select. Combined with Stello, a starting point can be saved, and modifications applied individually on each rule. Run the same checks: payment and refund amounts, missing references, and changes in channel totals. Edits and results are retained for review.

Installation & Activation

Use Node.js 24.9+, DeepSeek Harness Web 0.2.2-rc.1 through 0.2.2-rc.3, and ensure the DSH model connection is working properly. Installation has been tested and verified on Linux.

In DSH, go to Plugins → Add plugin, type stellane, or run:

dsh plugin --profile web add stellane
  1. Restart the Web Host. Open Stellane → Data sources → Add data source.
  2. Select PostgreSQL, paste the connection URL, choose a project directory, and click Connect and start. A standard Neon PostgreSQL URL also works.
  3. Click Ask in project chat, or open a regular DSH chat window in that project.

Typical Usage

Ask in chat:

Which data contains refunds? How do those records link back to orders? Show me what you checked.

Have the agent remember a business term, then inspect and save the definition below the response. Open query evidence or branch experiments from the same chat. Use Data catalog → Relationships and lineage to view saved joins and failed checks. Use Branch experiments to compare plans on the same baseline.

Lineage covers PostgreSQL view dependencies. Use Stello for branch experiments. Local and cloud Neon branching is currently in experimental stage.

Use Cases & Cautions

Well suited for developers and data engineers who need to investigate database structure in depth, verify data relationships, and rehearse modification plans during agent development.

The plugin runs with the permissions of the current DSH process. Source code and license should be reviewed before installation. Local and cloud Neon branching is currently in experimental stage; stability should be considered when in use.

Summary

Stellane provides DSH agent applications with the ability to investigate PostgreSQL data on isolated branches, helping developers confirm business object definitions, verify data relationships, and rehearse repair plans before deciding whether to apply changes to the primary database. By saving business definitions and joins, subsequent conversations can reuse this knowledge, reducing redundant investigation work.

Plugin directory page · GitHub repository

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye