Getting started
First launch: index your first folderเปิดใช้งานครั้งแรก: index โฟลเดอร์แรกของคุณ
The first time you open Cosmos it asks for a single thing: a folder to remember. Add a repo or notes vault and Cosmos indexes its symbols and text on-device, incrementally, in the background.ครั้งแรกที่คุณเปิด Cosmos มันจะขอเพียงสิ่งเดียว นั่นคือโฟลเดอร์ที่อยากให้จดจำ เพิ่ม repo หรือ notes vault เข้าไป แล้ว Cosmos จะ index symbol และข้อความแบบ on-device โดยทำเพิ่มทีละน้อยอยู่เบื้องหลัง
The first time you open Cosmos, it asks for one thing: a folder to remember. That can be a code repository, a notes vault, or any directory. Cosmos indexes its symbols and text on-device, incrementally, in the background — and your AI tools can then recall it over MCP.
What Cosmos asks for
On first open, the only required step is choosing a folder. Cosmos reads it locally and builds a searchable index of:
- Code symbols — functions, classes, and where they're called.
- Text — comments, docs, and notes.
Nothing is uploaded; everything stays on your machine.
1. Add your first folder
Click "+ Add folder" in the left tree, or drag a folder directly onto the Cosmos window.
2. Pick a repo
Choose a repository (or any directory) you want the AI to remember. Cosmos starts indexing immediately.
3. Wait for the indexer badge
Indexing runs in the background and updates incrementally. Watch the indexer badge — once it settles, the folder is fully indexed and ready.
4. Done — your AI can recall it
That's it. Your connected AI tools can now recall this folder through the Cosmos MCP server. Ask your AI about a symbol or a past fix and it answers from the freshly indexed folder.
Add more folders anytime
You can add more folders whenever you like. Each folder stays scoped on-device, and nothing is uploaded. Add a second repo, a notes vault, or a docs directory and they all become recall-able.
Where is my data stored?
Locally, in data/brain_v2/brain.db next to the app. Your indexed content never leaves your machine.
Does indexing upload anything?
No. Indexing is fully on-device. Cloud backup is an optional Pro feature you turn on explicitly — see Pro features & cloud backup.
How do I connect my AI tool to this folder?
The onboarding wizard installs the MCP server for you. For manual setup, see Connect your AI tools (MCP).
ครั้งแรกที่คุณเปิด Cosmos มันจะขอเพียงสิ่งเดียว นั่นคือโฟลเดอร์ที่อยากให้มันจดจำ ซึ่งจะเป็น code repository, notes vault หรือไดเรกทอรีใดก็ได้ Cosmos จะ index symbol และข้อความแบบ on-device โดยทำเพิ่มทีละน้อยอยู่เบื้องหลัง จากนั้นเครื่องมือ AI ของคุณก็จะเรียกคืนข้อมูลนั้นผ่าน MCP ได้
Cosmos ขออะไรบ้าง
เมื่อเปิดครั้งแรก ขั้นตอนเดียวที่จำเป็นคือการเลือกโฟลเดอร์ Cosmos จะอ่านโฟลเดอร์นั้นในเครื่องและสร้าง index ที่ค้นหาได้ของ:
- Code symbol — ฟังก์ชัน, คลาส, และตำแหน่งที่ถูกเรียกใช้
- ข้อความ — คอมเมนต์, เอกสาร, และโน้ตต่าง ๆ
ไม่มีการอัปโหลดอะไรทั้งสิ้น ทุกอย่างอยู่บนเครื่องของคุณ
1. เพิ่มโฟลเดอร์แรกของคุณ
คลิก "+ Add folder" ในแถบ tree ด้านซ้าย หรือลากโฟลเดอร์มาวางบนหน้าต่าง Cosmos โดยตรง
2. เลือก repo
เลือก repository (หรือไดเรกทอรีใดก็ได้) ที่คุณอยากให้ AI จดจำ Cosmos จะเริ่ม index ทันที
3. รอ indexer badge
การ index ทำงานอยู่เบื้องหลังและอัปเดตเพิ่มทีละน้อย คอยดูที่ indexer badge เมื่อมันนิ่งแล้ว แสดงว่าโฟลเดอร์ถูก index ครบและพร้อมใช้งาน
4. เสร็จแล้ว — AI ของคุณเรียกคืนข้อมูลได้
เท่านี้แหละ เครื่องมือ AI ที่เชื่อมต่อไว้จะเรียกคืนข้อมูลของโฟลเดอร์นี้ได้ผ่าน Cosmos MCP server ลองถาม AI เกี่ยวกับ symbol หรือการแก้บั๊กในอดีต แล้วมันจะตอบจากโฟลเดอร์ที่เพิ่ง index เสร็จ
เพิ่มโฟลเดอร์ได้ตลอดเวลา
คุณเพิ่มโฟลเดอร์เพิ่มได้ทุกเมื่อที่ต้องการ แต่ละโฟลเดอร์จะถูกจำกัดขอบเขตไว้แบบ on-device และไม่มีการอัปโหลดอะไรทั้งนั้น เพิ่ม repo ตัวที่สอง, notes vault หรือไดเรกทอรีเอกสารเข้าไป แล้วทั้งหมดก็จะเรียกคืนได้
ข้อมูลของฉันเก็บไว้ที่ไหน
เก็บไว้ในเครื่อง ที่ data/brain_v2/brain.db ข้าง ๆ ตัวแอป เนื้อหาที่ index แล้วจะไม่ออกจากเครื่องของคุณ
การ index มีการอัปโหลดอะไรไหม
ไม่มี การ index ทำงานแบบ on-device ทั้งหมด ส่วน cloud backup เป็นฟีเจอร์เสริมของ Pro ที่คุณต้องเปิดใช้งานเองอย่างชัดเจน — ดูได้ที่ Pro features & cloud backup
ฉันจะเชื่อมต่อเครื่องมือ AI เข้ากับโฟลเดอร์นี้อย่างไร
wizard ในขั้นตอน onboarding จะติดตั้ง MCP server ให้คุณเอง หากต้องการตั้งค่าด้วยตนเอง ดูได้ที่ Connect your AI tools (MCP)
- Atitechs DXDeveloper Experience