Repository navigation
Releases
0.8.0
Steer the agent while it works, and let it remember what it learned.
New
-
Memory across chats. The agent remembers what makes daily work faster – how you work, facts about your
environment (which schema holds what, how you deploy and test, special database settings) and techniques it
worked out with effort – and uses it in every later chat. There is one memory for all chats and projects on this
PC, since what belongs to a "project" is hard to say when everything is connected.- The agent saves entries itself with the new tool
save_memory, usually once at the end of a task; say
"remember …" or "forget …" to control it yourself. - It stays tidy: one topic per entry, each at most 800 characters. A new entry on a known topic is merged with
the old one, which it replaces (replaces). If a new entry looks like an existing one, the agent is asked right
away to merge them. Outdated entries are removed (remove). A full memory (8,000 characters) takes nothing new
until the agent has consolidated it. - Entries that look like passwords or connect strings (
user/password@db) are refused; personal data and table
contents must not be saved. - The entries go into the system prompt as notes, not instructions: the request, the rules and what the agent
sees in the database come first. Helper agents (run_subtask) get them too, read-only. A change rebuilds the
system prompt once, at the next request. - Settings → Memory: switch it off (it is then neither used nor changed; the entries are kept), Keep Entries
(days) deletes entries not saved or updated within that time (0 = keep), and the list shows every entry with
its kind and date and lets you delete it, plus Delete All Memories. The file is
%LOCALAPPDATA%\PlsqlDevAgent\memories.json; several PL/SQL Developer instances can use it at the same time. - A final answer sent together with
save_memory(and the last task update) ends the request, like a final answer
with the last task update did before, unless saving asks for a merge.
- The agent saves entries itself with the new tool
-
Messages while the agent works. The input box stays usable during a request: type a message and press
Enter (or the send button next to Stop). It waits in a queue above the input box, and the agent reads it after its
current step – when the tool calls it is running have finished – before it decides on the next one. Use it to add
information you forgot, correct a wrong assumption or tell the agent to leave something alone, without stopping
the request and losing its work so far.- The message appears in the chat where the agent read it, marked during the run. It belongs to the request it
was sent in: Retry and rewinding go back to the request before it. - Sent while the model writes its final answer (no step left to read it after), it becomes the next request as
soon as the answer is complete. In that case PL/Pilot does not continue on its own with open tasks; your message
comes first. - Several messages sent during one step reach the agent together.
@mentionsin them are attached as usual. - Click a waiting message (or press ↑ in the empty input box) to take it back into the input box and edit it; ×
removes it. Esc stops the agent as before; waiting messages then go back into the input box instead of being
sent, and the same happens after an error. - A slash command (
/review, a skill, an MCP prompt) waits until the request has finished and then runs as a
request of its own, in the order you sent it.
- The message appears in the chat where the agent read it, marked during the run. It belongs to the request it
-
/skill./skill name textstarts a skill like/name text. If there is no such skill (yet), PL/Pilot reads
the skill folders again and downloads the skills of the configured web addresses again, then starts it – a skill
the team just published on its share or server is usable at once, without waiting for the 15-minute refresh. If
it still cannot be found, the message names similar skills and the ones that exist (and web addresses that could
not be reached); a switched-off or broken skill says so./skill <address>installs the skills found at a web
address (zip,skills.jsonindex orSKILL.md), in a folder, a zip file or a singleSKILL.mdinto your personal
skills folder, with their other files; a skill of the same name there is updated, broken ones are listed with the
reason. The same limits and path checks as for web skills apply./skillalone lists your skills. Listing and
installing work while the agent is busy; starting a skill waits in the queue like any other command.
Fixed
- The agent now asks you to decide instead of deciding itself.
ask_user(a question card with answer buttons)
existed since 0.5.0 but was never used: in 589 model turns of a test log it was called 0 times, and 28 of 122 final
answers ended with a question in plain text. The rules told the model to "say what you need" and stop, and the base
prompt to "ask a short clarifying question". With duplicate customers the model kept the lowest id on its own
(losing the rows with a phone number) and then asked in text whether to run the DELETE; asked to change "the order
mail procedure" with two candidates, it changed both without asking.- The rules now say: decisions that only the user can make – which way, which of several objects, which data to
keep, whether related code changes too – are asked withask_userand 2–4 options (recommendation first), and
the request goes on with the answer; never as a question at the end of the text, never decided silently. The base
prompt and the tool description say the same. - A question written at the end of an answer while tasks are still open no longer gets the generic "tasks are
still open" nudge: the model is asked to put a real decision intoask_useror to continue without asking. - An answer that ends by asking permission for the change it proposes ("Soll ich diese Löschung durchführen?",
"Shall I run this?") gets one nudge: no permission is needed (every change is shown for approval), but a choice
hidden in the proposal – such as which of differing duplicates to keep – is to be asked withask_userfirst;
then the change is carried out if the user asked for it, otherwise the agent ends. Offers of something extra
("Soll ich auch einen Index anlegen?") are left alone. - While a question card is open, text typed into the input box answers it (the placeholder says so); before, it
would have waited in the new queue for a step that cannot end without the answer.
- The rules now say: decisions that only the user can make – which way, which of several objects, which data to
Notes
- A message is read after the current step, not in the middle of it: while the agent waits for your approval or a
long statement runs, the message waits too (the approval card's feedback field still answers the agent directly).
For developers
AgentSession:Enqueue/RemoveQueued/TakeQueued,LastOutcome; queued messages go into the conversation
as a user message starting with[Message from the user, sent while you were working, whichLastUserIndex
skips like the auto-continue prompts.IAgentUi.QueuedDelivered; page messagesqueue,user_queued,
user_retract,queue_remove.- Harness: new group
QueueChecks(13 checks: order of commands and messages, placeholder and queue button, the
message after the tool result of the step, its place in the chat, Retry without it, a message during the final
answer as the next request, × and ↑, Stop puts it back); mock model flowsQUEUETEST,QUEUEFINAL/QUEUEFOLLOW,
QUEUESTOPand the delay markerSLOWQUEUE. - In-IDE self test mode
QUEUE-LLM: the configured model in PL/SQL Developer with a message queued during a lookup
(its own tablePDA_QUEUE_STAFF, dropped afterwards), one queued during an answer without tools, and Stop. - Memory:
Agent/Memory.cs(MemoryStore: file, named mutex, atomic writes, retention, prompt sections, similarity
check) andAgent/Tools/MemoryTools.cs(save_memory); settingsMemoryEnabled(default on) and
MemoryRetentionDays(default 0), also in the team settings. Harness groupMemoryChecks(20 checks) with mock flows
MEMSAVE,MEMSIMILAR,MEMFINAL,MEMFORGET,MEMUSE. In-IDE self test modeMEMORY-LLM(remember, merge, use
in a new chat, forget); it refuses to run unlessPLSQLDEVAGENT_DATApoints to a test folder. /skill:Agent/SkillCommand.cs(resolve and pull, list, install;CommandExceptionends a request with a plain
message);RemoteSkills.Fetchdownloads into any folder. Harness groupsSkillCommandChecks(11 checks) and
AskUserChecks(5 checks: the rules, an answer typed into the input box, the nudge after a question in the text;
mock flowASKTEXT). In-IDE self test modeASK-LLM: duplicate customers and two matching procedures, question
cards answered with their first option.
Tested
- Harness (simulated IDE, scripted model): 341 checks passed; German run 21 checks passed.
- PL/SQL Developer 17 with gemma4:31b (Ollama) and Oracle 23ai Free:
- the regular in-IDE self test: 204 tool tests passed;
QUEUE-LLM: 8 checks passed. The first run showed that the model treated "Also tell me …" as the new task and
dropped the original question from its answer; the note in front of a queued message now says that the original
request still applies, and the model answered both;MEMORY-LLM: 5 checks passed – two facts saved as two entries, an addition merged into the existing entry with
replaces, the convention used unasked in a new chat, one entry forgotten on request;ASK-LLM: before the fix 0 of 2 scenarios asked (the model kept the lowest id silently and changed both
procedures); after it 2 of 2 asked withask_user– the procedures from the rules alone, the duplicates after the
permission nudge.
- Not...
0.7.0
Two things that make PL/Pilot a team tool: skills, and one configuration for everybody.
New
- Skills. Instructions for one kind of task – a release script, a review against your checklist, tests the way
your team writes them – as a folder with aSKILL.md(name and description at the top, then the instructions;
examples or references may sit next to it). It is the format other AI coding tools use, so existing skills work.
The system prompt lists only the names and descriptions; the agent loads a skill with the new toolload_skill
when a request matches it, and reads the skill's other files the same way (only inside the skill's folder).
Start a skill yourself with/name(/release-script ticket 4711): its instructions go with your message, the
chat shows what you typed.- Read from
PlugIns\PlsqlDevAgent\skills(shipped with the plug-in), the folders under Settings → Skills
(several separated by;, e.g. a network share),%APPDATA%\PlsqlDevAgent\skillsand.plsqlagent\skillsin
the project folder (also.claude\skills,.opencode\skill(s),.agents\skills). - The settings list every skill with its source and a checkbox to switch it off; Use skills switches all of
them off. New Skill… creates one from a template (English or German) in the first skills folder or your
personal one; Edit and Folder open an existing one. Skills with a broken header are shown with the reason. - Skills from an internal web server: an entry under Skills may be an
http(s)://address of a zip file
with skill folders (e.g. a zipped repository), of an indexskills.jsonlisting the files, or of a single
SKILL.md. PL/Pilot keeps a local copy (%APPDATA%\PlsqlDevAgent\skills-cache), refreshes it every 15 minutes
and when the settings open, and uses the last copy while the server is down; the settings show the state of
each address. Optional Send Windows login to skill servers; paths leaving the skills are refused. With the
address in the teamsettings.json, every colleague gets the team's skills.
- Read from
- Company rules can be switched off with Use company rules (also the ones in the plug-in's rules folder).
- Share your settings with the team (Settings → Team Settings):
- Export… saves the settings shown in the page as a JSON file: only the values that differ from the built-in
defaults, never the API key, MCP headers, project folder, window position or developer tools. - Import… fills the page from such a file; Save keeps it.
- Shipped as
PlugIns\PlsqlDevAgent\settings.json, the file sets the defaults of everyone who uses that
installation:install.ps1copies asettings.jsonlying next to it (or-Settings <file>). Users keep their
own changes, and every value they did not change follows the file, also when it is updated later. A user
whose model is set by the team file is not sent to the settings on the first start. - The section shows which team file is in use and which values it sets.
- Export… saves the settings shown in the page as a JSON file: only the values that differ from the built-in
Changed
config.jsonnow stores only your own changes (the values that differ from the built-in defaults and the team
settings). An existing file is read as before; its values that equal the built-in defaults count as "not
changed" from now on, so a team file applies to them.
For developers
- Harness: 290 checks; new groups
SkillsAndTeamSettingsChecks(30 checks: skills in the settings and the system
prompt,load_skillincluding a path outside the skill,/name, switching skills and rules off, New Skill,
export, import, team defaults, an oldconfig.json) andRemoteSkillsChecks(15 checks against a small web
server,MockSkillsServer: zip, index and singleSKILL.md, the copy while the server is down, refused paths in
an index and a zip, HTTP 401 and 404); test hooksPLSQLDEVAGENT_TEAM_SETTINGSandChatForm.FileDialogPathForTest.
Tested
- Harness (simulated IDE, scripted model): 290 checks passed; German run 21 checks passed (new: skills, rules
switch and team settings in German). - Not tested against a real web server with Windows authentication (IIS/NTLM).
- Not tested yet in PL/SQL Developer and not with a real model: whether DeepSeek or gemma load a matching skill
on their own.
0.6.1
Fixes in how the agent works through a request, found while recording a demo with a local model.
Fixed
- The task list follows the work. Models tended to tick off every task only at the very end. After a change – or
three steps without an update – PL/Pilot now reminds the model in the newest tool result to update the list together
with its next step (no extra model turn). - No repeated final answer. When the model writes its summary and ticks off the last task in the same response,
the request ends there. Before, the model was asked once more and repeated the whole summary. - "I'll start by reading the ticket." – and nothing happened. A short answer that only announces the next step,
without a tool call, is now continued automatically (setting Auto Continue, with a notice in the chat). - No loop after a cut-off tool call. A tool call cut off by Max tokens is not executed and no longer counts as
progress, so "I will do X" after it is continued at most once instead of up to five times. - Compiling a local file no longer asks where changes go.
compile_plsqlfrom the editor window of a project file
(or withfile) puts exactly that file into the database, so the question "database, local files or both?" is not
asked (unless you chose Local files in this chat). If the window has unsaved changes, the agent tells you to save
it, so that the file matches the database. - Clearer context window notice: "Context window for gemma4:31b-32k set to 32,768 tokens (was 262,144). Source:
Ollama, model loaded." It used to read as if Ollama were the model.
For developers
- Self-test mode
PLAY:<prompt>for screen recordings of a demo: closes restored windows, runs a SQL file in a SQL
window (PLSQLDEVAGENT_AUTOTEST_PLAY_SQL; PL/SQL Developer's error dialog is shown and answered with No),
optionally opens a file (…_PLAY_OPEN), types the prompt visibly, approves each card after a pause
(…_PLAY_PAUSE_MS, default 3000), answers questions (…_PLAY_ANSWER), runs the SQL file again and leaves PL/SQL
Developer open. - MCP test server:
MCP_DATAloads more tickets and commits from a JSON file. - Harness: 245 checks (new: announced steps, task list note, final answer with the completed task list, no loop after
a cut-off call, compiling a local file without the question).
Tested
- Harness (simulated IDE, scripted model): 245 checks passed.
- In PL/SQL Developer 17 against Oracle 23ai, with gemma4:31b (Ollama, 32k context), company rules and an MCP ticket
server, a demo request (read the ticket over MCP, change the package, compile, test, comment on the ticket):- Earlier runs found the problems: tasks ticked off only at the end, a repeated summary (in two runs), and one run that
stopped after "Ich beginne damit, das Ticket AUF-4711 zu lesen" without a tool call. - Three runs with all fixes: the task list was updated step by step (e.g. 0/6 → 1/6 → 2/6 → 3/6 → 4/6 → 5/6 → 6/6), the final
answer appeared once, and the fixed package was correct in the database (checked after the first and the last run). - Two of them with the project folder: the agent found and opened the local file itself, changed it in the editor and
compiled it without the "where do changes go?" question. In one run the model then wrote the file itself, which
asked that question after all; the note to the model now says not to do that.
- Earlier runs found the problems: tasks ticked off only at the end, a repeated summary (in two runs), and one run that
- The new wording of that note was not run with a model again.
0.6.0 – 2026-11-25
This release fixes what got in the way in daily work: large packages that could not be changed, a frozen PL/SQL
Developer while helper agents ran, and an agent that lost track when you switched windows. It also adds a switch your
DBA will like: no parallel execution on the database.
Highlights
- Packages of any size: the agent changes a 4,000-line package by sending only the changed lines, and compiles
code straight from the editor window – it no longer has to write whole packages into its answer. - Keep working while the agent works: switch to another window – the agent stays with the window of your request
and changes it in the background; your window stays in front. - No more frozen IDE: PL/SQL Developer keeps reacting while helper agents run, even when the agent shares your
database session. - No parallel execution (new setting, on by default): the agent's SQL runs serially and takes no parallel
execution servers from the database. - Shorter approval cards: a compile of an existing unit shows only what changes, not the complete code.
New: changing large packages
Until now, changing a 4,000-line package failed. To compile it, the model had to write the complete package into a
single tool call – far more than its output limit (Max tokens, 8,192 by default). The call was cut off and not
executed, and the complete code could end up in the chat.
edit_object_source(new tool): changes a package, package body, procedure, function, trigger, type or type
body in the database by exact replacements – the model sends only the changed lines. PL/Pilot reads the current
source from the database, applies the changes, shows the diff for your approval and compiles the result like
before: previous version backed up, compiler settings kept, errors and warnings reported. Without an object type a
package or type is changed where the edits match (specification or body). Changing one line in a 4,002-line
package body takes about half a second including compilation.compile_plsqlnow takes the code in one of three ways: from the editor window of the request
(from_editor, e.g. afteredit_editor), from a file of the project folder (file), or as text (source, for new
or short units).- Approval cards show a diff: compiling a unit that already exists shows the changes against the database version
(Open Diff shows both versions in PL/SQL Developer). The card used to show the complete code, so a large package
filled the chat. New units are still shown in full. - Cut-off tool calls are no longer executed. The chat shows only their beginning together with a notice, and the
model is told to use the tools above. If the model server returns a cut-off call as plain text (DeepSeek's template
tokens such as<|tool▁calls▁begin|>), that text is hidden instead of appearing as the answer.
New: the agent keeps its editor window
The agent now works on the window that was active when you sent your request – or on the window it opened itself
(open_object, open_new_window, open_file_in_ide). If you switch to another window while the agent is still
planning or editing, it carries on with its window in the background and your window stays in front. The window is
found again by its editor and, if needed, by the object or file it shows. If you close it, the agent says so instead
of writing into another window. In its answers the agent names the window by its object or file ("the package body
EMP_API"), not as "the active window".
This applies to reading and editing the editor text, the selection, the result grid and compile_plsql from the
editor.
New: setting "No parallel execution"
On a shared development database with few CPU cores, one parallel query takes CPU from everybody. With
Settings → Safety → No Parallel Execution (on by default):
- the agent's own database session runs
ALTER SESSION DISABLE PARALLEL QUERY / DML / DDL; switching the setting off
restores Oracle's defaults; - every query and DML statement of the agent gets a
NO_PARALLELhint, andPARALLELhints the model writes are
removed (also in subqueries, never inside string literals) – including the statementsmeasure_sql,
explain_planand the runtime estimate run; ALTER SESSION ENABLE/FORCE PARALLELis refused, and the model knows that parallel execution is off.
If the agent shares your own session (Separate session off), PL/Pilot does not change your session; the hints
still apply.
Fixed: PL/SQL Developer froze while helper agents ran
The freeze happens when the agent has no database session of its own – the PL/Pilot setting Separate session
is off, or PL/SQL Developer runs in Single session mode. Then every statement of the agent runs on PL/SQL
Developer's main thread, and helper agents send statements almost without pause. PL/SQL Developer handled the
agent's queued work before keyboard, mouse and screen updates, so it could not react at all.
- PL/SQL Developer now handles input and screen updates between the agent's statements. Measured with three
helper-like loops for 12 seconds: before, the IDE could not react for the whole 12 seconds; now the longest pause was
0.2 seconds. - A notice in the chat says once that the agent has no session of its own, and how to change that.
- While the agent works,
agent.logrecords every time PL/SQL Developer does not respond for more than 2 seconds,
together with what kept it busy.
With its own session (the default), the agent's SQL runs in the background and helper agents do not slow down
PL/SQL Developer at all (measured: longest wait 1 ms).
Fixed: the progress spinner kept restarting
The spinner under the input jumped back to its start with every update. It now turns smoothly for the whole request.
0.6.0
This release fixes what got in the way in daily work: large packages that could not be changed, a frozen PL/SQL
Developer while helper agents ran, and an agent that lost track when you switched windows. It also adds a switch your
DBA will like: no parallel execution on the database.
Highlights
- Packages of any size: the agent changes a 4,000-line package by sending only the changed lines, and compiles
code straight from the editor window – it no longer has to write whole packages into its answer. - Keep working while the agent works: switch to another window – the agent stays with the window of your request
and changes it in the background; your window stays in front. - No more frozen IDE: PL/SQL Developer keeps reacting while helper agents run, even when the agent shares your
database session. - No parallel execution (new setting, on by default): the agent's SQL runs serially and takes no parallel
execution servers from the database. - Shorter approval cards: a compile of an existing unit shows only what changes, not the complete code.
New: changing large packages
Until now, changing a 4,000-line package failed. To compile it, the model had to write the complete package into a
single tool call – far more than its output limit (Max tokens, 8,192 by default). The call was cut off and not
executed, and the complete code could end up in the chat.
edit_object_source(new tool): changes a package, package body, procedure, function, trigger, type or type
body in the database by exact replacements – the model sends only the changed lines. PL/Pilot reads the current
source from the database, applies the changes, shows the diff for your approval and compiles the result like
before: previous version backed up, compiler settings kept, errors and warnings reported. Without an object type a
package or type is changed where the edits match (specification or body). Changing one line in a 4,002-line
package body takes about half a second including compilation.compile_plsqlnow takes the code in one of three ways: from the editor window of the request
(from_editor, e.g. afteredit_editor), from a file of the project folder (file), or as text (source, for new
or short units).- Approval cards show a diff: compiling a unit that already exists shows the changes against the database version
(Open Diff shows both versions in PL/SQL Developer). The card used to show the complete code, so a large package
filled the chat. New units are still shown in full. - Cut-off tool calls are no longer executed. The chat shows only their beginning together with a notice, and the
model is told to use the tools above. If the model server returns a cut-off call as plain text (DeepSeek's template
tokens such as<|tool▁calls▁begin|>), that text is hidden instead of appearing as the answer.
New: the agent keeps its editor window
The agent now works on the window that was active when you sent your request – or on the window it opened itself
(open_object, open_new_window, open_file_in_ide). If you switch to another window while the agent is still
planning or editing, it carries on with its window in the background and your window stays in front. The window is
found again by its editor and, if needed, by the object or file it shows. If you close it, the agent says so instead
of writing into another window. In its answers the agent names the window by its object or file ("the package body
EMP_API"), not as "the active window".
This applies to reading and editing the editor text, the selection, the result grid and compile_plsql from the
editor.
New: setting "No parallel execution"
On a shared development database with few CPU cores, one parallel query takes CPU from everybody. With
Settings → Safety → No Parallel Execution (on by default):
- the agent's own database session runs
ALTER SESSION DISABLE PARALLEL QUERY / DML / DDL; switching the setting off
restores Oracle's defaults; - every query and DML statement of the agent gets a
NO_PARALLELhint, andPARALLELhints the model writes are
removed (also in subqueries, never inside string literals) – including the statementsmeasure_sql,
explain_planand the runtime estimate run; ALTER SESSION ENABLE/FORCE PARALLELis refused, and the model knows that parallel execution is off.
If the agent shares your own session (Separate session off), PL/Pilot does not change your session; the hints
still apply.
Fixed: PL/SQL Developer froze while helper agents ran
The freeze happens when the agent has no database session of its own – the PL/Pilot setting Separate session
is off, or PL/SQL Developer runs in Single session mode. Then every statement of the agent runs on PL/SQL
Developer's main thread, and helper agents send statements almost without pause. PL/SQL Developer handled the
agent's queued work before keyboard, mouse and screen updates, so it could not react at all.
- PL/SQL Developer now handles input and screen updates between the agent's statements. Measured with three
helper-like loops for 12 seconds: before, the IDE could not react for the whole 12 seconds; now the longest pause was
0.2 seconds. - A notice in the chat says once that the agent has no session of its own, and how to change that.
- While the agent works,
agent.logrecords every time PL/SQL Developer does not respond for more than 2 seconds,
together with what kept it busy.
With its own session (the default), the agent's SQL runs in the background and helper agents do not slow down
PL/SQL Developer at all (measured: longest wait 1 ms).
Fixed: the progress spinner kept restarting
The spinner under the input jumped back to its start with every update. It now turns smoothly for the whole request.
Upgrade notes
- Version 0.6.0. Install as before; settings and chats are kept.
- No parallel execution is on after the update. Switch it off under Settings → Safety if you want the agent's
queries to use parallel execution. - If PL/SQL Developer becomes unresponsive while the agent works, turn on Separate session (Settings → Safety)
and set PL/SQL Developer's session mode to Multi session or Dual session (Preferences → Oracle →
Connection). PL/Pilot shows a notice in the chat when this applies. - You do not need to raise Max tokens for large packages.
Known limitations
- Without a session of its own the agent's SQL still runs on PL/SQL Developer's main thread: a single long statement
blocks the IDE for as long as it runs. Only the separate session avoids that. edit_object_sourceneeds the changed lines exactly as stored in the database; the model reads them with
get_object_sourcefirst. Wrapped (encrypted) units cannot be changed.- Unsaved SQL windows without a file are told apart only by their editor; the agent describes all of them as
"SQL window". - In one of three test runs with a real model, the agent's program window came to the front after an edit. A second
window of the same package was open from an earlier step. This did not happen again, and the direct tests always
pass. - Parallel execution could only be checked on Oracle 23ai Free, which has no parallel servers: the tests confirm
the statements Oracle received (all withNO_PARALLEL), not prevented parallel execution itself. On your database:
v$session.pq_statusof the agent's session showsDISABLED.
Tested
- Harness (simulated IDE, scripted model): 239 checks passed, including the new ones for switching windows during a
request, compiling from the editor,edit_object_source, cut-off tool calls and "No parallel execution". - In PL/SQL Developer 17 against Oracle 23ai:
- SQL-ONLY: 48 checks passed.
- ANALYSIS-ONLY: 80 checks passed.
- Editor windows and large units: 15 checks passed (reading and writing a window in the background, including a
4,002-line package body). - No parallel execution: 8 checks passed.
- Freeze measurement: the numbers above.
- Real model (gemma4:12b via Ollama): it changed one procedure of a 4,002-line package body without sending the
package, with a 4-line diff in the approval card, and edited its program window while another window was in front.
All three checks passed in the final run. - New self-test modes for developers:
FREEZE-MEASURE,WINDOW-ONLY,BIGUNIT-LLM,PARALLEL-ONLY; the harness
runs a single group of checks withHARNESS_ONLY=<group>.
0.5.0
This release is about working in large, complex databases with many schemas and tens of thousands of objects.
The agent should get the picture in fewer, larger steps, stay focused on the task, show what it is doing, and know
about your local source files.
Highlights
- Object dossiers: one tool call (or one
@mention) gives the model an object together with its neighbourhood. - Size limits follow the context window: models with a large context window (e.g. 1M tokens) can finally use it.
- Active window chip: the window you have open no longer confuses the agent, and you can cross it out.
- Live progress: a status line with what the agent is doing and for how long, durations per tool call, and a
summary per answer. - Local source files: the project folder (with sub folders per schema) is indexed; PL/Pilot asks whether a change
goes to the database, the local files or both. - Working method: fixed rules for goal-oriented work in few, large steps, a strategy for large databases, and a
reminder when the agent only keeps looking things up.
New: object dossiers (explore_objects)
A new tool returns a large, structured dossier of several objects in one call, instead of a dozen slow
look-up round trips:
- PL/SQL units: the complete specification and body.
- Tables: columns with comments, keys, indexes, size, triggers (with source) and the tables that reference
them (incoming foreign keys). - Views: columns and query.
- Uses: the tables and views an object uses (described compactly with columns, keys and comments) and the
specifications of the packages it calls. - Used by: the objects that use it, with the source lines that name it; lines that write a table are marked
(writes). - Data model: with
depth2–3 the dossier follows foreign keys further. - Local files: the object's files in the project folder and whether they are identical to the database version.
Dictionary queries are batched, so a dossier costs a few dozen small queries however many neighbours there are.
No table data is read. Whatever does not fit the size limit is listed by name at the end.
@mentions of database objects now attach one combined dossier of all mentioned objects (shared size limit,
related objects described once) instead of only source or a table description.
New: size limits follow the context window
The old fixed limits (40,000 characters per tool result, 300,000 characters before older results were shortened)
were sized for a 128k model. With a 1M model, large packages needed several reads and earlier results were deleted
with "call the tool again if needed", which made the model read the same things again.
| Limit | 128k model | 1M model |
|---|---|---|
| One tool result | 40,000 characters (as before) | ~147,000 characters |
| Conversation before old results are shortened | 300,000 characters (as before) | ~1.9M characters |
| One object dossier | ~73,000 characters | 400,000 characters |
New settings (Settings → Server): Limits Follow Context Window (on by default), Max Tool Result,
Conversation Budget, Object Dossier (0 = automatic). The configured values are the minimum; the settings page
shows the limits in effect.
New: the active window, and how to exclude it
- The window you have open in PL/SQL Developer is shown above the input.
- The agent is told it may be unrelated to the request and reads it only when the request is about it. The default
prompt no longer tells the agent to read the active editor for every request. - Click the window to cross it out: the agent then does not see it, and the editor tools refuse to read or change
it. This is remembered per window (also in new chats) until you click it again.
New: live progress and timers
- Status line under the input while the agent works: what it is doing right now (waiting for the model,
thinking – with its latest thought –, writing, running a tool – with the steps of helper agents –, waiting for your
approval or answer) and for how long, plus the step, the total time of the request and the tokens generated so far. - Every tool call shows its duration.
- Every answer ends with a summary, e.g. Worked 1:23 · 5 model turns · 7 tool calls.
- Before tool calls the agent is asked to write one sentence saying what it does next and why.
New: local source files in the project folder
Point Settings → Project folder at the folder with your local source files (the ones you commit to version
control). Sub folders – for example one per schema – are included.
-
Index: PL/Pilot records which file contains which database object and in which lines, from the
CREATE
statements. The schema comes from the statement, or else from the nearest folder named like a schema. Files are read
again only when they change. -
find_object_files: lists every local file of an object (e.g. specification and body file) and whether it is
identical to the database version or how many lines differ; without names it gives an overview per folder. -
Database, local files or both? The first time in a chat the agent changes an object that also has local files
(compiling it, editing its database window, or editing one of its files), PL/Pilot asks you:- Database – as before.
- Local files – database changes are refused; the agent gets the list of every affected file and changes them
withedit_file(on disk, with diff approval and undo). - Both – the database change goes through, and the agent is told which files to change as well.
The choice holds for the chat and is shown above the input (Changes: Local files); click it to be asked again.
-
ask_user: a new general tool for questions only you can decide, shown as a card with answer buttons and a
text field. Your click goes straight back to the running request.
New: working method and strategy for large databases
New fixed rules (they apply also when you replaced the base prompt):
- Goal first: define what "done" means and stop investigating as soon as the task can be completed reliably.
- Few, large, purposeful steps: request everything the next decision needs in one response; one broad read instead
of several narrow ones; complete changes compiled once; one verification per task. - Efficient thinking: short reasoning aimed at the next decision; no re-deriving known facts; a different approach
after two failures. - Large databases: start from the named objects and follow real references; locate with one targeted search before
reading; learn the naming conventions; qualify other schemas and restrict queries; hand broad questions to parallel
helper agents; keep track of what is established; explore only as far as the task needs; mind dynamic SQL. - Focus reminder: after 10 model turns in a row that only looked things up, the agent is reminded to check what is
still missing and act. A notice in the chat shows when this happens (at most twice per request).
Other changes
- When a request involves objects the agent has not seen yet, its first database call is
explore_objectswith all of
them; a pasted error stack still goes toresolve_error_stackfirst, a column impact question to
find_dependencieswithcolumn. - Helper agents (
run_subtask) get the new rules in short form; with their own model they get dossiers within the
normal tool result limit. list_objectsandsearch_sourceover all schemas leave out the same list of Oracle's own schemas.
Upgrade notes
- Version 0.5.0. Install as before; settings and chats are kept.
- Existing
config.jsonvalues for the limits stay valid; with Limits Follow Context Window on they are the minimum. - If you replaced the base system prompt, remove a sentence like "Read the active editor (get_editor_text)" from it –
the fixed rules now say the opposite. - If your model server supports a reasoning setting (e.g.
{"reasoning_effort": "low"}), you can add it under
Settings → Extra request JSON to shorten thinking further.
Known limitations
- On a database with cold dictionary statistics, the first query on
ALL_CONSTRAINTS/DBA_CONSTRAINTStakes about
0.5 s to parse (the plug-in interface has no bind variables). A table dossier then needs a few seconds; the time is
logged inagent.log(Dossier of …: … ms). - Unsaved SQL windows without a file count as one window when crossed out.
- The index reads common SQL/PL/SQL extensions (
.sql,.pks,.pkb,.pck,.spc,.bdy,.prc,.fnc,.trg,
.typ,.tps,.tpb,.vwand a few more) up to 5 MB per file; a unit ends at its/line, the nextCREATEor
the end of the file. The comparison with the database covers PL/SQL units, not table or view DDL. - Local files are changed on disk only; a file that is open in PL/SQL Developer is not reloaded there.
- Small local models follow some rules only partly (e.g. gemma4:12b does not write the sentence before tool calls and
sometimes picksexplore_objectsinstead offind_dependencies); the plug-in-side features (asking about local
files, the focus reminder, the limits) do not depend on the model.
0.4.1
PL/Pilot 0.4.1
This release connects PL/Pilot to your other systems through MCP servers, for example a ticket system or version
control. It also fixes the agent reading packages in many small pieces.
New: external systems (MCP)
- Connect MCP servers over HTTP under Settings → External Tools (MCP). Both Streamable HTTP and the older
HTTP+SSE transport work; PL/Pilot picks the right one by itself. The plug-in starts no programs and needs no extra
software or admin rights. - Server tools become agent tools, named
<server>__<tool>(e.g.tickets__get_ticket). The agent can, for
example, read a ticket and its commits first and then go into the packages. - Per tool, you decide: Read (runs without asking), Changes data (asks first) or Off. The defaults
follow what the server says about each tool. Test connects and lists the server's tools, prompts and
resources. - Safe by default:
- Tools that change data ask for approval and show their arguments.
- They are not available in plan mode, in read-only mode or on protected connections.
- Tools the server marks as destructive always ask.
- Ticket text stays data:
- The agent treats texts from external systems (tickets, comments, commit messages) as data, never as
instructions. - The settings warn if Auto approve SQL is on while MCP servers are connected.
- The agent treats texts from external systems (tickets, comments, commit messages) as data, never as
- Built for slow servers:
- Each server has its own timeout (default 300 s), and its progress messages appear under the tool call.
- Independent lookups run in parallel.
- If a server is unreachable, you get a notice and the agent carries on without it.
- Secure connection: HTTP headers such as
Authorization: Bearer …are stored encrypted for your Windows
user. Proxy and Trusted Certificates apply to MCP servers too, and the Windows login is only sent when you
enable it for a server.
New: team configuration
- One
mcp.jsonfor the whole team, in the format other MCP clients use. Put it next to the plug-in, at a
path set under Team Configuration (e.g. a network share), or both. - Secrets stay out of the file: header values can read environment variables with
${env:NAME}, or each user
enters their own token. - Users stay in control: they can switch team servers off, add their own headers and change any tool's mode.
Only their changes are saved, so later edits to the team file still reach everyone. The file is read again for
every new chat. - Example:
mcp.example.jsonships next to the plug-in.
New: MCP prompts and resources
- Prompts become slash commands:
/server:prompt arguments, e.g./tickets:review_ticket PLS-101 performance. The server fills in the prompt, and the result is sent as your message. - Resources become @-mentions:
@server:nameattaches a resource, e.g.@tickets:PLS-101. Typing@
suggests servers and their resources.
Fixed
- The agent read PL/SQL packages 20 lines at a time with many
run_querycalls onALL_SOURCE/
DBA_SOURCE, each one a slow round trip to the model. It now reads source withget_object_source, as whole
units or large ranges. The rule also applies when the system prompt has been customized. If the model still
queries the source views, it gets a note pointing to the right tool.
Upgrading
- Install as usual with
install.ps1from the zip. Settings and saved chats are kept. - No new requirements: still .NET Framework 4.8 and WebView2, both part of Windows, and no admin rights needed.
- New documentation is in the README, ANLEITUNG (German) and SECURITY.
0.2.0
PL/Pilot 0.2.0 adds tools to analyse, measure and test PL/SQL, keeps the agent in your schema, and makes it noticeably faster with large packages, slow databases and long sessions.
Highlights
Analyse, measure, test
- Impact analysis (
find_dependencies): shows what uses an object, level by level, down to the source lines that use a single column.recompile_invalidnames the objects a change invalidated and recompiles them. - Error stacks (
resolve_error_stack): pasteORA-06512lines (in any language) or aDBMS_UTILITY.FORMAT_CALL_STACK, and PL/Pilot shows the source line and the subprogram of every frame. Line numbers of triggers are converted to source lines. - Measuring instead of guessing (
measure_sql, used by/optimize):- runs a statement and reports rows, elapsed and CPU time;
- with read access to the V$ views it also shows the actual execution plan (estimated vs. actual rows per step) and the session statistics;
- compares a rewrite with the original and checks that both return the same rows;
- measures
INSERT/UPDATE/DELETE/MERGEonly with your approval and rolls them back afterwards.
- Unit tests (
run_unit_tests, used by/test): writes utPLSQL test packages, runs them, and reports failed tests and code coverage. Without utPLSQL it opens a test block in a Test window.
Better PL/SQL
- Compiler warnings: the agent's compiles run with
PLSQL_WARNINGSenabled (except noisy ones such as PLW-05018), and the agent sees the warnings. Setting Compiler Warnings. - Compiler settings are kept: when the agent replaces a unit, it keeps its
PLSQL_CCFLAGS, optimization level, native compilation and debug information. This also applies toCREATE OR REPLACEthroughexecute_sql. - Knows your database: the Oracle version and the NLS settings of the connection (for example the decimal comma) are part of the model's context, and table descriptions include optimizer statistics.
- Oracle syntax only: the model is told to write Oracle SQL and PL/SQL (no
ON CONFLICT,LIMIT,::casts and the like); small models drifted into PostgreSQL syntax. execute_sqlrefuses several statements in one call before you are asked to approve them.
Stays in your schema
- The agent works in the schema you work in. It qualifies objects of other schemas (
HR.EMPLOYEES) instead of switching. - If it has to switch the session's schema, PL/Pilot switches it back at the end of the request, also after Stop, and tells you in the chat.
- With Separate Session off, each request starts in the schema your own windows use.
Faster
- Large packages:
- source is read as joined rows on the server: a 2,700-line package body needs 2 network round trips instead of 110. This also speeds up the backup before every compile;
get_object_sourcereads only what fits into one answer and acceptsstart_line/end_line;- when a unit is too long, the answer says so at the top and lists the procedures and functions it did not show, with their line numbers, so the model can read exactly the part it needs.
- Long sessions: old tool outputs are shortened in one bigger step instead of a little on every step, so the LLM server can keep reusing its prompt cache. In the test, the start of the conversation changed on 3 of 20 steps instead of 9.
- Prompt cache in the log: each model turn in
agent.logshows how much of the prompt the server took from its cache (prompt cache 6768/6818 tokens (99 %)). Near 0 % on later steps means your server has no prompt caching. Turning it on is the biggest single speed-up. - Slow queries:
- before each query of the agent, PL/Pilot reads Oracle's runtime estimate (
EXPLAIN PLAN, the query is not executed for that and no transaction is touched); - at 60 seconds or more you are asked first, because a running statement cannot be stopped. Setting Confirm Slow Queries (0 = never ask). Helper agents don't run such queries;
- the row limit is passed into the query, so Oracle can stop early (a sorted query: 0.95 s → 0.35 s in the test);
- runtimes of a second or more are reported to the model;
- helper agents that run the identical query at the same time share one execution.
- before each query of the agent, PL/Pilot reads Oracle's runtime estimate (
@suggestions: typing@looks up matching objects in the database. To avoid these queries, switch off Suggest Objects After @.@NAMEstill attaches the object when you send the message.
Model and server
- Context window detection: Test and a model change ask the server for the model's context window (vLLM, OpenRouter, llama.cpp, LM Studio; Ollama after the model's first answer) and set Context Window. A value larger than the server's real window would let it silently cut off the start of the conversation. Setting Detect Context Window.
- Loop protection: a model that keeps repeating the same text is stopped, with a notice.
Fixes
- The plug-in's questions, such as commit or rollback when closing PL/SQL Developer, now use their own dialog. In PL/SQL Developer's dark theme the text of standard Windows message boxes was invisible.
Upgrading
- Close PL/SQL Developer.
- Download
PLPilot.zipbelow, extract it and runpowershell -ExecutionPolicy Bypass -File .\install.ps1again.
Settings, chats and backups are kept. New settings and their defaults:
| Setting | Default |
|---|---|
| Detect Context Window | on |
| Compiler Warnings | on |
| Suggest Objects After @ | on |
| Confirm Slow Queries | 60 s |
For actual execution plans in measure_sql, ask your DBA for SELECT_CATALOG_ROLE (or SELECT on V$SQL, V$SQL_PLAN_STATISTICS_ALL, V$MYSTAT and V$STATNAME).
New installation: see the quick start. Requirements are unchanged.
Known limitations
- A plug-in still cannot interrupt a statement that is already running; Stop only stops waiting for it.
- Oracle's runtime estimate is rough (in the test, 5 s estimated for a query that took 0.9 s). Oracle cannot explain queries on dictionary views without extra privileges; those queries run without the check.
- Without access to the V$ views,
measure_sqlreports only rows, elapsed and CPU time. - Unchanged from 0.1.0: Windows and 64-bit PL/SQL Developer only; only characters of the Windows ANSI code page (1252); rewind information is lost when PL/SQL Developer is closed; read-only is not a hard guarantee.
Please read the safety model before using PL/Pilot on databases that matter. Report security problems privately as described in SECURITY.md.
MIT licensed. The package includes WebView2 and Newtonsoft.Json; their licenses are in THIRD-PARTY-NOTICES.md. PL/Pilot is an independent project and is not affiliated with Allround Automations or Oracle.
Initial Release of a working version.
First public release of PL/Pilot, an AI coding agent that works inside Allround Automations PL/SQL Developer.
It reads and edits your editor windows, explores the data dictionary, runs queries, compiles PL/SQL and fixes compile errors, and it asks before every change. It works with any OpenAI-compatible chat completions endpoint whose model supports tool calling, such as vLLM, Ollama, LM Studio, LiteLLM or a hosted API, so you decide where your code and data go.
Highlights
Works inside the IDE
- A chat window that follows PL/SQL Developer's light or dark theme.
- Ask about Selection, plus right-click menus in the editor and the Object Browser.
- 27 tools:
- editor edits with a diff
- object source and table descriptions
- source search
EXPLAIN PLAN- the result grid
- a compile-and-fix loop
- optional file tools for a project folder
/commands (built-in or your own), and@NAMEto attach an object or file.
Handles larger tasks
- A task list.
- Auto-continue while tasks are open.
- Plan mode: investigate first, then execute.
- Helper agents that run in parallel. You can give them a smaller, faster model.
- Long conversations are compacted automatically.
You stay in control
- Approvals: every change needs your approval, shown with the SQL or a diff.
- Always asked: destructive and hard-to-review statements need approval even when auto-approve is on. These include:
DROP,TRUNCATEandDELETE- dynamic SQL
- privileges and jobs
UPDATEwithoutWHERE- logon triggers
- Production guard: the agent is read-only on connections matching
*PROD*;*PRD*. The patterns are checked against the logon text and the database's own names. Plan mode and the Read-only setting also block all changes. - Own database session: the agent never touches your transaction. Its queries run in the background, so the IDE stays responsive during long queries.
- Uncommitted changes: they are listed with Commit and Rollback buttons, and you are asked again when you close PL/SQL Developer.
- Undo:
- PL/SQL units and views are backed up before they are replaced or dropped.
- Every edit has a Revert button.
- Rewind undoes everything the agent changed since any message or step: editor windows, files, objects and uncommitted DML. It never overwrites changes made afterwards.
Made for company PCs
- Installs per user without admin rights.
- Runs inside PL/SQL Developer, so there is no separate program for AppLocker to block.
- Needs only .NET Framework 4.8 and WebView2, which are already part of Windows.
- Team rules can be shared, for example on a network share, and each project can have its own
AGENTS.md. The system prompt is editable. - An option to query the
DBA_dictionary views instead of theALL_ones. - HTTPS:
- certificates are checked against the Windows certificate store, and you can trust extra ones by thumbprint (no admin rights needed);
- the TLS version is chosen by Windows (TLS 1.3 on Windows 11);
- the system proxy is supported.
- English and German user interface.
Privacy
- Data is sent only to the endpoint you configure. There is no telemetry, and the chat page cannot load anything from the internet.
- The connection password is never read. The API key is encrypted for your Windows user (DPAPI).
- Settings → Local data controls what is kept on the PC:
- chat history on or off;
- saved chats leave out tool results by default;
- how long chats (30 days), backups (90) and the log (30) are kept;
- Delete saved chats now.
Requirements
- Windows 10/11 x64 with .NET Framework 4.8 and the WebView2 runtime
- PL/SQL Developer 64 bit. Developed and tested with version 17; older 64-bit versions (12 and later) may work but are untested.
- An OpenAI-compatible endpoint with tool calling. Tested with DeepSeek and Qwen 3 models.
Install
- Download
PLPilot.zipbelow and extract it. - Run
powershell -ExecutionPolicy Bypass -File .\install.ps1. It copies the plug-in to%LOCALAPPDATA%\PlsqlDevAgent\PlugIns. - In PL/SQL Developer, go to Configure → Preferences → Options and set the Plug-Ins directory to the folder the script printed. Restart PL/SQL Developer.
- Go to Plug-Ins → PL-Pilot → Settings, enter the base URL, click Test, pick a model and click Save.
Details and server examples are in the README.
Known limitations
- Windows and 64-bit PL/SQL Developer only.
- Characters outside the Windows ANSI code page (1252) cannot be written to the editor or the database. Such text is refused rather than corrupted.
- A plug-in cannot interrupt a statement that is already running. Stop only stops waiting for it.
- Rewind information is lost when PL/SQL Developer is closed.
- Read-only is not a hard guarantee. Functions called in a query can still have side effects. On production, connect with a read-only database account.
Please read the safety model before using PL/Pilot on databases that matter. Report security problems privately as described in SECURITY.md.
MIT licensed. The package includes WebView2 and Newtonsoft.Json; their licenses are in THIRD-PARTY-NOTICES.md. PL/Pilot is an independent project and is not affiliated with Allround Automations or Oracle.