ReasoningBank Intelligence
यह क्या करती है
यह स्किल AI को उसके पिछले नतीजों से सीखने, बार-बार आने वाले पैटर्न पहचानने और समय के साथ रणनीतियाँ समायोजित करने में मदद करती है। यह उन एजेंट के लिए है जिन्हें बिना मैनुअल ट्यूनिंग के सुधरना चाहिए।
कब इस्तेमाल करें
- ✓जब आप चाहते हैं कि एजेंट पिछले नतीजों के आधार पर बेहतर रणनीति चुने।
- ✓जब आपको यह पहचानना है कि वर्कफ़्लो कब सफल या विफल होते हैं और उसके दोहराए जाने वाले पैटर्न क्या हैं।
- ✓जब आप ऐसा एजेंट बना रहे हैं जो कई कामों में लगातार सुधरे।
Skill का लिंक
https://github.com/ruvnet/RuView/blob/main/.claude/skills/reasoningbank-intelligence/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“हर कोड रिव्यू का नतीजा ट्रैक कीजिए, और एजेंट को समय के साथ बेहतर रिव्यू रणनीति चुनने में मदद कीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल हर काम का नतीजा उसके संदर्भ के साथ दर्ज करती है, फिर उन रिकॉर्ड्स में पैटर्न खोजती है। जब कोई मिलता-जुलता काम आता है, तो वह उन पैटर्न से रणनीति सुझाती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
ReasoningBank Intelligence
What This Skill Does
Implements ReasoningBank's adaptive learning system for AI agents to learn from experience, recognize patterns, and optimize strategies over time. Enables meta-cognitive capabilities and continuous improvement.
Prerequisites
- agentic-flow v3.0.0-alpha.1+
- AgentDB v3.0.0-alpha.10+ (for persistence)
- Node.js 18+
Quick Start
import { ReasoningBank } from 'agentic-flow/reasoningbank';
// Initialize ReasoningBank
const rb = new ReasoningBank({
persist: true,
learningRate: 0.1,
adapter: 'agentdb' // Use AgentDB for storage
});
// Record task outcome
await rb.recordExperience({
task: 'code_review',
approach: 'static_analysis_first',
outcome: {
success: true,
metrics: {
bugs_found: 5,
time_taken: 120,
false_positives: 1
}
},
context: {
language: 'typescript',
complexity: 'medium'
}
});
// Get optimal strategy
const strategy = await rb.recommendStrategy('code_review', {
language: 'typescript',
complexity: 'high'
});
Core Features
1. Pattern Recognition
// Learn patterns from data
await rb.learnPattern({
pattern: 'api_errors_increase_after_deploy',
triggers: ['deployment', 'traffic_spike'],
actions: ['rollback', 'scale_up'],
confidence: 0.85
});
// Match patterns
const matches = await rb.matchPatterns(currentSituation);
2. Strategy Optimization
// Compare strategies
const comparison = await rb.compareStrategies('bug_fixing', [
'tdd_approach',
'debug_first',
'reproduce_then_fix'
]);
// Get best strategy
const best = comparison.strategies[0];
console.log(`Best: ${best.name} (score: ${best.score})`);
3. Continuous Learning
// Enable auto-learning from all tasks
await rb.enableAutoLearning({
threshold: 0.7, // Only learn from high-confidence outcomes
updateFrequency: 100 // Update models every 100 experiences
});
Advanced Usage
Meta-Learning
// Learn about learning
await rb.metaLearn({
observation: 'parallel_execution_faster_for_independent_tasks',
confidence: 0.95,
applicability: {
task_types: ['batch_processing', 'data_transformation'],
conditions: ['tasks_independent', 'io_bound']
}
});
Transfer Learning
// Apply knowledge from one domain to another
await rb.transferKnowledge({
from: 'code_review_javascript',
to: 'code_review_typescript',
similarity: 0.8
});
Adaptive Agents
// Create self-improving agent
class AdaptiveAgent {
async execute(task: Task) {
// Get optimal strategy
const strategy = await rb.recommendStrategy(task.type, task.context);
// Execute with strategy
const result = await this.executeWithStrategy(task, strategy);
// Learn from outcome
await rb.recordExperience({
task: task.type,
approach: strategy.name,
outcome: result,
context: task.context
});
return result;
}
}
Integration with AgentDB
// Persist ReasoningBank data
await rb.configure({
storage: {
type: 'agentdb',
options: {
database: './reasoning-bank.db',
enableVectorSearch: true
}
}
});
// Query learned patterns
const patterns = await rb.query({
category: 'optimization',
minConfidence: 0.8,
timeRange: { last: '30d' }
});
Performance Metrics
// Track learning effectiveness
const metrics = await rb.getMetrics();
console.log(`
Total Experiences: ${metrics.totalExperiences}
Patterns Learned: ${metrics.patternsLearned}
Strategy Success Rate: ${metrics.strategySuccessRate}
Improvement Over Time: ${metrics.improvement}
`);
Best Practices
- Record consistently: Log all task outcomes, not just successes
- Provide context: Rich context improves pattern matching
- Set thresholds: Filter low-confidence learnings
- Review periodically: Audit learned patterns for quality
- Use vector search: Enable semantic pattern matching
Troubleshooting
Issue: Poor recommendations
Solution: Ensure sufficient training data (100+ experiences per task type)
Issue: Slow pattern matching
Solution: Enable vector indexing in AgentDB
Issue: Memory growing large
Solution: Set TTL for old experiences or enable pruning
Learn More
- ReasoningBank Guide: agentic-flow/src/reasoningbank/README.md
- AgentDB Integration: packages/agentdb/docs/re
अक्सर पूछे जाने वाले सवाल
यह जो सीखती है उसे कहाँ सहेजती है?
AgentDB में, जब स्थायी भंडारण चालू हो।
इसके लिए क्या इंस्टॉल चाहिए?
agentic-flow 3.0.0-alpha.1 या उससे नया, AgentDB 3.0.0-alpha.10 या उससे नया, और Node.js 18 या उससे नया।
यह रणनीति कैसे चुनती है?
यह किसी तय नियम के बजाय पिछले नतीजों से रणनीति सुझाती है।
जानकारी
लेखक का मूल विवरण
Implement adaptive learning with ReasoningBank for pattern recognition, strategy optimization, and continuous improvement. Use when building self-learning agents, optimizing workflows, or implementing meta-cognitive systems.
repo: ruvnet/RuView
लोकप्रियता
- GitHub स्टार
- 102k
- रैंकिंग में स्थान
- #837
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
AgentDB Advanced Features
102kयह आपके एजेंट को AgentDB के उन्नत फ़ीचर दिखाती है, जैसे कई मशीनों के बीच डेटाबेस सिंक करना और मेटाडेटा फ़िल्टर के साथ वेक्टर सर्च।
AgentDB Learning Plugins
102kयह आपके एजेंट को AgentDB के लिए लर्निंग प्लगइन बनाने और ट्रेन करने देती है, जो पिछले अनुभव से सुधरने वाले रीइनफ़ोर्समेंट लर्निंग तरीकों पर चलते हैं।
AgentDB Memory Patterns
102kयह आपके एजेंट को AgentDB को स्थायी मेमोरी स्टोर बनाकर सत्रों के पार बातचीत और संदर्भ याद रखने देती है।
AgentDB Performance Optimization
102kयह आपके एजेंट को AgentDB सर्च तेज़ करने और मेमोरी उपयोग घटाने का तरीका दिखाती है, कंप्रेशन, तेज़ सर्च इंडेक्स और कैशिंग से।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।