Overview
The Knowledge Management Tools form the foundation of ByteRover’s memory system, allowing AI agents to store, retrieve, and build upon programming knowledge across sessions.Store Knowledge
Capture and preserve programming patterns, implementations, and insights with automatic fact extraction
Retrieve Knowledge
Search and access stored knowledge with intelligent routing and relevance scoring
byterover-store-knowledge
Purpose: Store programming facts and insights extracted from human-AI interactions for future reference. Description: This tool captures and preserves valuable programming knowledge by extracting reusable patterns, implementations, and techniques. It focuses on information that provides value beyond common knowledge, creating a persistent memory layer for AI agents.Key Features
- Automatic Fact Extraction: Intelligently identifies and extracts programming patterns from conversations
- Code Preservation: Maintains complete code snippets and commands in their original format
- Context Awareness: Captures concise context explaining the significance of stored information
- Implementation Focus: Prioritizes concrete implementations over abstract descriptions
- Quality Filtering: Skips trivial or widely-known information to maintain relevance
What to Store
Code Patterns
Reusable functions, utilities, and architectural patterns discovered in the codebase
Error Solutions
Debugging techniques and solutions to specific errors encountered during development
API Usage
Implementation details for APIs, frameworks, and library integrations
Configuration
Setup procedures, environment configurations, and deployment patterns
Usage Guidelines
- Preserve Code Exactly: Always wrap code and commands in triple backticks exactly as shown
- Include Context: Provide concise explanations of why the information is significant
- Focus on Implementation: Capture concrete details rather than theoretical concepts
- Maintain Relevance: Only store information that will be valuable for future reference
- Use Precise Language: Avoid ambiguity and ensure clarity for future retrieval
byterover-retrieve-knowledge
Purpose: Search and retrieve programming knowledge from memory with intelligent query routing and relevance scoring. Description: This tool provides intelligent access to stored programming knowledge, using advanced search capabilities to find relevant information based on context and query intent. It handles memory conflicts and ensures the most up-to-date information is accessed.Key Features
- Intelligent Query Routing: Automatically routes queries to the most relevant knowledge sources
- Relevance Scoring: Ranks results based on relevance to the current task and context
- Conflict Resolution: Detects and handles memory conflicts with resolution URLs
- Context Awareness: Considers current task context when retrieving information
- Flexible Search: Supports various query types from specific technical details to broader patterns
When to Use
Task Initialization
Starting any new task or implementation to gather relevant context and background
Architectural Decisions
Before making technical choices to understand existing patterns and conventions
Debugging Support
When encountering issues to check for previous solutions and known patterns
Code Exploration
Working with unfamiliar parts of the codebase to understand structure and conventions
Best Practices
- Start with Retrieval: Always begin tasks by retrieving relevant knowledge
- Use Specific Queries: Craft targeted queries that focus on your current needs
- Handle Conflicts: Address memory conflicts immediately when detected
- Iterate Searches: Perform multiple searches with different query angles if needed
- Verify Currency: Ensure retrieved information is still applicable to current codebase state