Select Your Operating System
Instructions and database connection strings adjust dynamically for your shell.
Install SQL Server Express Database Engine
Install Microsoft's lightweight relational database engine or launch the official container.
Install Database Service
Install the database engine on your system:
Paste the service status showing MSSQL$SQLEXPRESS is Running (or Docker container status):
Install sqlcmd Command-Line Utilities
Install Microsoft's command-line query utility to execute T-SQL statements directly from your terminal.
Install sqlcmd Package
Install the modern cross-platform sqlcmd utility:
Paste the header line from sqlcmd -? to confirm utility availability:
Connect & Test Server Health (@@VERSION)
Authenticate to your local instance and verify server version and encryption trust flags.
Query Server Version
Connect and query version information. Note the -C flag to trust self-signed development certificates:
-C instructs the client to trust the server certificate and avoids Error 08001.
Paste the Microsoft SQL Server ... output from SELECT @@VERSION;:
Create BOTS Database for Agent Coordination
Provision the dedicated database used by BuildBotsBetter multi-agent conversation hubs and tasks.
Create Database & Verify Catalog
Execute idempotent T-SQL commands to create the BOTS database:
Paste the query output confirming that the BOTS database exists:
Configure Dedicated Bot User & Permissions
Create a least-privileged SQL Server login and map it to a user in the BOTS database.
Create Dedicated Bot Account
Create a bot login and assign reader/writer database roles:
Paste the confirmation output verifying bot user provisioning:
Connection Strings & Operations Reference
Review standard connection strings for Python pyodbc and save the operations reference card.
Standard Application Connection String
Configure your Python scripts with ODBC Driver 18 encryption flags:
Paste your connection string template or driver string below to confirm format:
⚡ Run It Later — SQL Operations Reference
sqlcmd -S localhost\SQLEXPRESS -E -C
Connects using Windows Authentication with certificate trust
SELECT name FROM sys.databases;
Inspects all active databases in instance catalog
Restart-Service MSSQL$SQLEXPRESS
Restarts SQL Server Express after networking configuration
TrustServerCertificate=yes;
Required in client connection strings to avoid 08001 error
Build Bot Better & Wipe Resistance
Apply profile and workspace protections so an agent cannot casually wipe your home folder or project data. Fleet rule: Hub conversation #31.
An autonomous agent running without boundary constraints executed a recursive delete targeting the user profile. Prompt rules and command-text deny lists (like rm or Remove-Item) fail when paths are passed inside variables or child scripts. BuildBotsBetter requires the complete defense trio: PreToolUse path inspection, off-volume backups, and a practised restore.
1. Per-Agent Onboarding Checklist (Run Once Per Agent)
Onboarding does not end when software installs. Generate and maintain a six-line checklist file for each agent operating on your system:
2. Variable-Limit Delete Guard Demo
Demonstrate why command-text pattern matching misses variable-derived deletions, while true path resolution catches and refuses them:
3. Off-Volume Profile & Data Backup
Back up SQL Server databases to a dedicated backup volume using native SQL backup commands:
4. Practised Restore Drill
Never trust an unverified backup. Run this safe, self-contained RESTORE verifyonly and scratch restore drill:
5. Fail-Closed Workspace Policy
Always store SQL backups on a separate physical volume or drive. Never run automated database maintenance agents or data cleaning jobs from the user root folder.
Paste terminal output from the restore drill or variable demo confirming protection: