Knowledge 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:
Rulebooks Rulebooks teach Stakpak your organization’s way of doing things. They’re Markdown based SOPs (standard operating procedures)
Paks Reusable Agent skill packages contributed by the community.
Documentation Search It retrieves official external documentation for precise, version-specific information.
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
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 Paks for battle tested, reusable infrastructure patterns.
Last updated