Installation knowledge
knowledge A standalone SQLite3-backed knowledge base for tracking projects, observations, and concepts across independent experiments in the rsdoiel/Laboratory workspace. Extracted from the harvey terminal agent’s knowledge.go, this module provides a typed CRUD API (Open, AddProject, AddObservationWithSource, AddConceptWithIdentifier, Search, and related methods) plus UUID-based row identity and a SQL/ATTACH-based cross-machine merge tool, so other experiments and language-model harnesses can read and write structured observations directly instead of raw sqlite3 CLI inserts. Ships cmd/kb, a single “kb VERB ARGS” binary (matching the git/go command model) covering the full API with both human-readable and –json output, a merge verb for reconciling two databases that drifted independently, and a read-only interactive TUI browser for exploring projects, observations, and concepts.
Quick install with curl or irm
There is an experimental installer.sh script that can be run with the following command to install latest table release. This may work for macOS, Linux and if you’re using Windows with the Unix subsystem. This would be run from your shell (e.g. Terminal on macOS).
curl https://rsdoiel.github.io/knowledge/installer.sh | sh
This will install the programs included in knowledge in your
$HOME/bin directory.
If you are running Windows 10 or 11 use the Powershell command below.
irm https://rsdoiel.github.io/knowledge/installer.ps1 | iexIf your are running macOS or Windows
You may get security warnings if you are using macOS or Windows. See the notes for the specific operating system you’re using to fix issues.
Installing from source
Required software
- Go >= 1.26.3
Steps
- git clone https://github.com/rsdoiel/knowledge
- Change directory into the
knowledgedirectory - Make to build, test and install
git clone https://github.com/rsdoiel/knowledge
cd knowledge
make
make test
make install