← ライブラリに戻る
ClaudeAdvancedCoding

メモリ強化型エージェントアーキテクチャ

短期・長期・手続き記憶を区別しプロンプトに注入するメモリ強化型エージェントアーキテクチャを設計します

❤️ 701 likes

📋 プロンプト全文

[エージェント目的]のメモリ強化型システムプロンプトを設計してください。三層構造:【短期記憶】直近5ターン {話者, 内容}。【長期記憶】ベクターDB検索結果 {関連度, 内容}。【手続き記憶】ツール利用パターン {タスク種別, ツール順序}。三層を統合したテンプレートを記述してください。

💬 入力例

目的:パーソナライズされた学習コーチエージェント

✨ 出力例

システム:【短期】本日の会話。【長期】ユーザーは微積分が苦手。【手続き】クイズ優先が好み

🏷️ タグ

#エージェント#メモリ#長期記憶

💡 使用のヒント

  • Replace the variables in brackets ([]) with your specific situation.
  • Specify the desired tone and length of writing for more accurate results.
  • Request additional modifications based on the generated output to improve quality.
  • Specifying a particular audience allows AI to adjust vocabulary and explanation level.

🔗 関連プロンプト

Effective Writing Strategies with AI

AI writing prompts let you efficiently produce blog posts, business emails, press releases, novels, and more. The key is to assign AI a precise role, and clearly specify the desired tone, length, and target audience. For example, requesting "write a 2000-word SEO-optimized blog post in a professional tone" yields significantly higher-quality output. After generating a draft, iterative feedback helps elevate the final quality step by step.

This prompt belongs to the Coding category, optimized for Claude at a Advanced level. It is systematically designed applying core prompt engineering principles: role assignment, context setting, and constraints.

Explore More Prompts

Discover 90+ verified prompts in the PromptGenie library.

Browse Library