Show HN: Kival – A self-hosted knowledge system for organizations Selemis released Kival, a self-hosted collaborative knowledge system that gives people and AI agents a shared place to create, edit, discuss, connect, version, and govern organizational knowledge. Kival is installed via the kivalup script from the latest stable release, runs against PostgreSQL 18, and is served at http://localhost:3000, with prebuilt releases for Linux x86_64 and ARM64, macOS on Apple Silicon, and Windows through WSL; native Windows and Intel Mac releases are not currently provided. The system is designed to preserve history, relationships, discussions, authorship, and provenance so knowledge stays understandable as people, agents, models, applications, and tools change. Self-hosted collaborative knowledge system for organizations Overview overview · Setup setup · Resources resources · SDKs sdks · Community community · Contributing contributing Kival is Selemis's self-hosted collaborative knowledge system for organizations. Organizations constantly produce messages, documents, decisions, and records, yet the understanding that connects them is easily lost. Sources become detached from conclusions, decisions outlive their reasoning, and knowledge fragments across tools or leaves with the people who carried it. Kival gives people and agents a shared place to deliberately create, edit, discuss, connect, version, and govern knowledge. History, relationships, discussions, authorship, and provenance remain connected as that knowledge develops, preserving the context needed to understand how something came to be and build on it over time. - Shared knowledge : people and agents work against the same organizational knowledge rather than maintaining separate copies of context. - Continuity : history, relationships, discussions, and provenance remain connected as knowledge develops, preserving how it came to be rather than only its latest state. - Deliberate authorship : knowledge is explicitly created and maintained as organizational work, with clear authorship, access, and governance. - Durable context : knowledge remains understandable even as the people, agents, models, applications, and tools around it change. - Self-hosted ownership : the organization retains control over the knowledge and infrastructure on which its work depends. Install kivalup from the latest stable release: curl --proto '=https' --tlsv1.2 -fsSL \ https://github.com/selemis-com/kival/releases/latest/download/install | bash Then run: kivalup If your shell has not picked up the updated PATH yet, use $HOME/.kival/bin/kivalup or start a new shell. To build and run Kival from source, see the development setup https://github.com/selemis-com/kival/blob/master/CONTRIBUTING.md development-setup . Prebuilt releases are available for Linux x86 64 and ARM64, macOS on Apple Silicon, and Windows through WSL. Native Windows and Intel Mac releases are not currently provided. Start PostgreSQL in the background with persistent local storage: docker run -d \ --name kival-postgres \ -e POSTGRES USER=kival \ -e POSTGRES PASSWORD=kival \ -e POSTGRES DB=kival \ -p 5432:5432 \ -v kival-postgres-data:/var/lib/postgresql \ postgres:18 Point Kival at the database and start the server: export DATABASE URL=postgres://kival:kival@localhost:5432/kival kivald serve In another terminal, bootstrap the first global administrator: export DATABASE URL=postgres://kival:kival@localhost:5432/kival kivald admin bootstrap \ --username admin \ --display-name "Admin" The command prints a one-time enrollment link. Open it in your browser to register a passkey and complete the initial administrator setup. Kival is now available at http://localhost:3000 http://localhost:3000 . Create a workspace from the web application, or explore Kival using the built-in fictional ACME workspace: kivald admin workspaces create --name "ACME" --demo acme The demo includes connected documents, discussions, access boundaries, history, and shared agent skills for exploring Kival before adding your own knowledge. Important The ACME workspace is intended for exploration and evaluation only. Do not use it as the basis for a production workspace or build real organizational knowledge on top of it. From the web application, create an API key http://localhost:3000/settings/api-keys for the administrator and allow it access to the workspace. Then configure the local CLI: export KIVAL API KEY=