# 1. 패키지 설치
uv sync
# 2. .env 파일 설정
cp .env.example .env
# .env 파일을 편집하여 실제 키 입력
# 가상환경 활성화 (Windows)
.venv\Scripts\activate
# 가상환경 활성화 (macOS/Linux)
source .venv/bin/activate
python 01_memory_basics.py
python 02_add_entity_fact_preference.py
python 03_memory_agent_with_trace.py
python 04_query_traces.py- Neo4j Aura Database: Create free database at https://console.neo4j.io
- Free tier is sufficient
- Save the URI, Username, and Password provided during creation
- OpenAI API Key: Required for LLM and embeddings
- Tavily API Key: Required for web search functionality (https://tavily.com)
- Visit https://console.neo4j.io and login
- Click "New Instance" to create free database
- Copy information from provided
.txtfile to.env
- Official Documentation: https://neo4j.com/labs/agent-memory/
- Tutorials: https://neo4j.com/labs/agent-memory/tutorials/
- GitHub: https://github.com/neo4j-labs/agent-memory