Repository navigation
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.