book-openKnowledge Sources

Introduction

Stakpak does not treat all knowledge equally.

When you ask a question or give a task, the agent follows a clear knowledge hierarchy to decide where to look first and why.

This ensures answers are aligned with your environment, your standards, and real world DevOps practices, not generic advice.

This page explains the different knowledge sources Stakpak uses, how they are prioritized, and when each one is applied.

Knowledge Source Hierarchy

Stakpak evaluates knowledge sources in the following order:

  1. Rulebooks Rulebooks teach Stakpak your organization’s way of doing things. They’re Markdown based SOPs (standard operating procedures)

  2. Paksarrow-up-right Reusable Agent skillarrow-up-right packages contributed by the community.

  3. Documentation Search It retrieves official external documentation for precise, version-specific information.

  4. Memory Memory Blocks are reusable pieces of knowledge that your agent learns during sessions.

This hierarchy exists to ensure responses are:

  • Aligned with your standards

  • Safe to execute

Knowledge Source
Trust Level
Ownership

Very High

Organization

Medium

Community

Documentation Search

Medium

External (official docs)

High

Sessions

Ready to turn your team’s operational knowledge into something reusable?

Check How to Write a Rulebook? to create rulebooks that encode how your team operates, or explore community contributed Paksarrow-up-right for battle tested, reusable infrastructure patterns.

Last updated