Advancedadvanced / memory-core-setup

Build Your MemoryCore Agent

Apa ini

Ini ialah guide praktikal untuk tukar Project-AI-MemoryCore oleh Kiyoraka menjadi repo eksperimen AI agent sendiri.

Goal dia bukan sekadar install file. Goal dia ialah bina coding agent yang ada nama, identity, relationship memory, role kerja, dan capability yang berguna.

Kenapa penting

AI agent lebih senang digunakan bila context dia stabil.

MemoryCore bagi base system. Tugas awak ialah bentuk agent itu supaya ia faham cara awak build, debug, belajar, tulis dokumentasi, dan improve project.

Apa nak buat

1. Buat repo khas untuk agent

Download project dari GitHub:

Namakan folder macam project sebenar:

Reference

my-memorycore-agent

Guna folder ini sebagai agent lab. Jangan campur dalam app repo lain dulu.

2. Buka folder dalam coding tool

Buka folder dalam editor atau coding-agent tool.

Option yang sesuai:

  • VS Code
  • Cursor
  • Claude Code
  • Codex
  • mana-mana tool yang boleh baca dan edit local files

Yang penting, AI boleh nampak dan update markdown files.

3. Run setup wizard

Buka setup-wizard.md.

Minta AI:

Reference

Follow setup-wizard.md.
Run the MemoryCore setup process inside this folder.
Ask me for each answer before changing files.
After each step, tell me which files you updated.

Wizard patut tanya:

  1. nama AI
  2. nama awak
  3. relationship style atau working style
  4. activation test

Selepas setup, test activation dengan taip nama agent:

Reference

[AI_NAME]

Agent patut load dari master-memory.md, kemudian restore core memory files.

4. Bentuk identity

Buka main/identity-core.md.

File ini jawab:

  • Siapa agent ini?
  • Apa role dia?
  • Macam mana dia patut behave?
  • Partner jenis apa yang awak nak bina?

Awak boleh pilih identity professional yang simple:

Copy prompt
Name: Mira
Role: calm coding mentor
Purpose: help me build projects step by step
Style: direct, patient, beginner-safe

Atau pilih persona theme yang terasa personal:

Reference

Name: Agent 47
Role: precision coding operator
Purpose: plan, execute, verify, and improve projects with discipline
Style: calm, exact, mission-focused

Anggap persona sebagai inspirasi. Agent tetap perlu useful, respectful, dan practical.

5. Bentuk relationship memory

Buka main/relationship-memory.md.

File ini jawab:

  • Apa agent perlu ingat tentang awak?
  • Macam mana awak suka explanation?
  • Apa yang awak sedang cuba bina?
  • Apa yang agent patut elak?

Tambah benda macam ini:

Reference

## User Preferences
- Explain coding concepts with simple examples.
- Keep steps small during beginner sessions.
- Ask before making major file changes.
- Prioritize working demos over theory.
- Avoid long essays unless requested.

## Focus Areas
- Vibe coding
- React apps
- UI design
- debugging
- GitHub and Vercel deployment

6. Tambah role dan capability

Bagi agent role kerja yang jelas.

Mula dengan lima:

Reference

## Roles
- Coding Mentor: teaches the next practical step.
- Debug Partner: isolates errors before changing code.
- UI Coach: improves layout, spacing, color, and usability.
- Release Assistant: checks GitHub, Vercel, and deployment readiness.
- Memory Keeper: updates memory only when the lesson is durable.

Kemudian tambah capability rules:

Reference

## Capability Rules
- Inspect files before editing.
- Keep changes small and testable.
- Run the app when possible before saying done.
- Save important preferences to relationship memory.
- Save temporary task state to current-session memory.
- Never store secrets, API keys, passwords, or private tokens in memory files.

7. Guna ChatGPT untuk draft agent

Paste prompt ini ke ChatGPT bila awak nak bantuan design identity agent:

Copy prompt
I am setting up Kiyoraka's Project-AI-MemoryCore as a personal AI coding agent.

Interview me, then draft:
1. identity-core.md content
2. relationship-memory.md content
3. role list
4. capability rules
5. activation phrase
6. first 10 commands I can use with the agent

Ask me about:
- my agent name
- the type of persona/lore I enjoy
- my coding level
- what I want to build
- how I like feedback
- what I want the agent to avoid

Important:
- The persona should make the agent feel personal, but it must still behave like a qualified coding assistant.
- Do not claim the AI has magic memory. Memory works by reading and updating markdown files.
- Include a beginner-safe coding workflow: inspect, plan, edit, run, test, explain, save.
- Include a warning to never store secrets in memory files.

After interviewing me, output clean markdown sections I can paste into MemoryCore files.

Awak boleh pilih theme apa-apa:

  • calm mentor
  • mission operator
  • studio producer
  • cyberpunk systems engineer
  • academy tutor
  • strategist
  • research librarian
  • product builder

Theme ialah skin. Nilai sebenar ialah behavior.

8. Belajar converse dengan agent

Guna command pendek sampai rhythm jadi natural:

Reference

[AI_NAME]

Restore agent.

Reference

save

Minta agent simpan progress penting.

Reference

update memory

Minta agent update apa yang ia belajar tentang awak.

Reference

review growth

Minta agent inspect macam mana ia sedang improve.

Untuk project work:

Reference

We are building a small React task tracker.
Read the current files first.
Tell me the safest next step.
Do not edit yet.

Kemudian:

Reference

Implement the next step.
Keep the change small.
Run the app or tell me exactly why you cannot.
Update current-session.md with a short recap.

9. Minta agent upgrade diri dengan careful

Mula dengan skill penting untuk vibe coding.

Minta:

Reference

Review my MemoryCore setup.
Suggest 3 essential skills that would help with vibe coding sessions.
For each skill, explain:
- what it does
- when it triggers
- what file it should live in
- how I can test it
Do not install anything until I approve.

Skill awal yang bagus:

  • Project Setup Skill
  • Debugging Skill
  • Prompt Improvement Skill
  • Frontend Design Review Skill
  • GitHub and Vercel Deploy Skill
  • Session Save Skill
  • Decision Log Skill

Tambah skill satu demi satu. Test setiap skill sebelum tambah yang seterusnya.

10. Jaga system supaya clean

MemoryCore jadi lemah bila semua benda masuk permanent memory.

Guna rule ini:

Memory typeSimpan di sini
identity, purpose, behavioridentity-core.md
user preferences and stylerelationship-memory.md
current task and recapcurrent-session.md
long conversation recorddiary system
reusable commands or workflowsfeature or skill files

Sebelum save memory, tanya:

Reference

Is this durable truth, temporary task state, or just chat noise?

Simpan hanya benda yang akan bantu future sessions.

Mistake biasa

  • Build app dalam repo MemoryCore sebelum identity agent berfungsi.
  • Pilih persona menarik tapi coding workflow masih vague.
  • Install terlalu banyak feature sebelum test core activation.
  • Biar agent update permanent memory dengan mood atau task noise sementara.
  • Simpan secret dalam markdown files.
  • Anggap setup wizard berjaya tanpa test activation phrase.

Next step

Pergi ke Iteration.

Guna Iteration untuk improve agent melalui test kecil: activate, beri task, check response, adjust memory, kemudian test lagi.