adaptive-memory-engine 0.1.6__tar.gz → 0.1.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/CHANGELOG.md +13 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/PKG-INFO +37 -12
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/README.en.md +39 -11
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/README.md +36 -11
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/docs/product_user_flow.md +19 -19
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/examples/corpora/README.md +3 -3
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/pyproject.toml +1 -1
- adaptive_memory_engine-0.1.8/src/ame/__init__.py +1 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/agent/mcp.py +344 -5
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/cli/main.py +2 -2
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_plan_compliance_runtime.py +53 -0
- adaptive_memory_engine-0.1.6/src/ame/__init__.py +0 -1
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/.gitignore +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/LICENSE +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/docs/release_distribution_plan.md +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/docs/standalone_distribution.md +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/examples/notes/openclaw.md +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/install.ps1 +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/install.sh +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/agent/__init__.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/agent/memory_api.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/agent/results.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/bronze/schema.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/bronze/store.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/cli/__init__.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/connectors/base.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/connectors/contract.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/connectors/github.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/connectors/google.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/connectors/google_oauth.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/connectors/jira.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/connectors/json_helpers.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/connectors/markdown.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/connectors/notion.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/connectors/oauth_callback.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/connectors/oauth_provider.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/connectors/obsidian.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/connectors/router.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/connectors/slack.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/connectors/slack_oauth.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/connectors/sync_history.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/context_budget.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/core/config.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/core/corpus.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/core/errors.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/core/paths.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/core/state.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/export/obsidian.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/gold/builder.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/gold/ontology.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/gold/resolver.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/gold/schema.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/gold/store.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/hardware/profiler.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/hardware/tier.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/hermes/__init__.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/hermes/memory.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/models/download.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/models/ollama.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/models/registry.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/models/router.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/pipeline.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/query/diff.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/query/engine.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/query/memory_os.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/query/mql.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/query/multihop.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/query/result.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/sdk.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/security.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/silver/extractor.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/silver/llm_extractor.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/silver/prompts.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/silver/rationale.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/silver/schema.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/silver/store.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/storage/custom_kg.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/storage/lightrag_adapter.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/validation/confidence.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/validation/grounding.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/validation/type_gate.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/ame/writeback.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/src/memory/__init__.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/conftest.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/fixtures/memory-mini/README.md +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/fixtures/memory-mini/docs/001_rag_core_considered.md +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/fixtures/memory-mini/docs/002_lightrag_selected.md +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/fixtures/memory-mini/docs/003_obsidian_required.md +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/fixtures/memory-mini/docs/004_model_tier_decision.md +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/fixtures/memory-mini/docs/005_invalid_relation_case.md +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/fixtures/memory-mini/docs/006_superseded_policy.md +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/fixtures/memory-mini/docs/007_current_policy.md +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/fixtures/memory-mini/docs/008_action_items.md +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/fixtures/memory-mini/docs/009_issue_log.md +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/fixtures/memory-mini/docs/010_project_summary.md +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/fixtures/memory-mini/expected/expected_queries.json +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/fixtures/memory-mini/expected/validation_results.json +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_agent_writeback_hermes.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_benchmark_part1_fact_recall.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_benchmark_part2_timeline_supersedes.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_benchmark_part3_negative_hallucination.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_benchmark_part4_multihop_reasoning.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_benchmark_part5_agent_memory_os.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_benchmark_part6_connectors.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_bronze_store.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_connector_contract.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_context_budget_optimizer.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_cross_platform_paths.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_custom_kg.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_external_connectors.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_gold_builder.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_google_connectors.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_hardware.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_lightrag_adapter.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_llm_extractor.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_markdown_connector.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_memory_interface_hardening.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_memory_mini_dataset.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_model_download.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_oauth_login.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_obsidian_export.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_ollama_client.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_pipeline.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_pipeline_llm.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_query_engine.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_rationale_memory.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_security.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_silver_extractor.py +0 -0
- {adaptive_memory_engine-0.1.6 → adaptive_memory_engine-0.1.8}/tests/test_slack_oauth_transport.py +0 -0
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.8 - 2026-06-12
|
|
4
|
+
|
|
5
|
+
- Added standard MCP `Content-Length` stdio framing support while keeping newline JSON-RPC compatibility.
|
|
6
|
+
- Added MCP initialize instructions and an `ame_setup_flow` prompt so agents prefer AME MCP tools for AME setup/model/local-memory requests.
|
|
7
|
+
- Documented that setup diagnosis should use bootstrap MCP and must not invent example corpus IDs such as `openclaw`.
|
|
8
|
+
- Updated package `ame.__version__` to match the published package version.
|
|
9
|
+
|
|
10
|
+
## 0.1.7 - 2026-06-12
|
|
11
|
+
|
|
12
|
+
- Added the `ame_flow` MCP tool with stage-by-stage setup branches and response templates.
|
|
13
|
+
- Updated README examples to guide users through AME setup as separate natural-language steps.
|
|
14
|
+
- Bumped MCP server metadata to 0.1.7.
|
|
15
|
+
|
|
3
16
|
## 0.1.6 - 2026-06-12
|
|
4
17
|
|
|
5
18
|
- Switched public install docs from TestPyPI to PyPI.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: adaptive-memory-engine
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.8
|
|
4
4
|
Summary: Local-first CLI memory engine that builds Bronze/Silver/Gold RAG memory from local documents.
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
License-File: LICENSE
|
|
@@ -38,7 +38,7 @@ Codex나 Claude Code가 그 메모리를 보고 답할 수 있게 해주는 loca
|
|
|
38
38
|
|
|
39
39
|
사용자가 매번 긴 명령어를 치는 방식보다, **Codex/Claude Code에 AME를 연결하고 자연어로 맡기는 방식**을 우선합니다.
|
|
40
40
|
|
|
41
|
-
현재는 alpha 단계이며 PyPI로 배포 중입니다. 현재 버전은 `0.1.
|
|
41
|
+
현재는 alpha 단계이며 PyPI로 배포 중입니다. 현재 버전은 `0.1.8`입니다.
|
|
42
42
|
|
|
43
43
|
## 1. 설치
|
|
44
44
|
|
|
@@ -95,24 +95,44 @@ ame connect --client claude
|
|
|
95
95
|
|
|
96
96
|
이때 아직 문서 메모리를 만들지 않았어도 괜찮습니다. `ame connect --client ...`는 bootstrap MCP 설정을 출력하므로, Codex/Claude Code가 사양 진단부터 메모리 구축까지 진행할 수 있습니다.
|
|
97
97
|
|
|
98
|
-
## 3. 자연어로
|
|
98
|
+
## 3. 자연어로 진행
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
한 번에 길게 요청하기보다, 아래 흐름대로 하나씩 진행하는 것을 권장합니다.
|
|
101
|
+
|
|
102
|
+
먼저 AME MCP를 사용한다고 명시하고 진행 방식을 확인합니다.
|
|
103
|
+
|
|
104
|
+
```text
|
|
105
|
+
AME MCP를 사용해서 단계별로 진행해줘. 먼저 ame_flow를 확인해줘.
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
그 다음 사양 진단을 요청합니다.
|
|
101
109
|
|
|
102
110
|
```text
|
|
103
111
|
내 컴퓨터 사양을 진단하고 AME에 맞는 로컬 모델을 추천해줘.
|
|
104
|
-
다운로드가 필요하면 어떤 모델을 받을지 먼저 알려줘.
|
|
105
|
-
내가 승인하면 모델을 설치해줘.
|
|
106
|
-
그 다음 /Users/me/Documents/planning 폴더를 my-docs라는 이름으로 메모리화해줘.
|
|
107
|
-
구축이 끝나면 그 메모리를 기준으로 질문에 답해줘.
|
|
108
112
|
```
|
|
109
113
|
|
|
110
|
-
|
|
114
|
+
모델 다운로드가 필요하면 먼저 계획만 확인합니다.
|
|
111
115
|
|
|
112
116
|
```text
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
117
|
+
다운로드가 필요한 모델과 이유를 먼저 알려줘. 아직 설치는 하지 마.
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
계획을 보고 승인한 뒤 설치합니다.
|
|
121
|
+
|
|
122
|
+
```text
|
|
123
|
+
승인할게. 필요한 모델을 설치해줘.
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
문서 폴더와 corpus 이름을 지정해서 메모리를 구축합니다.
|
|
127
|
+
|
|
128
|
+
```text
|
|
129
|
+
/Users/me/Documents/planning 폴더를 my-docs라는 이름으로 메모리화해줘.
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
구축 후에는 메모리 기준으로 질문합니다.
|
|
133
|
+
|
|
134
|
+
```text
|
|
135
|
+
my-docs 메모리를 기준으로 현재 유효한 결정과 그 근거를 알려줘.
|
|
116
136
|
```
|
|
117
137
|
|
|
118
138
|
## AME가 제공하는 MCP 도구
|
|
@@ -120,6 +140,7 @@ ame connect --client claude
|
|
|
120
140
|
Codex/Claude Code는 AME MCP를 통해 다음 도구를 사용할 수 있습니다.
|
|
121
141
|
|
|
122
142
|
- `ame_doctor`: 컴퓨터 사양과 로컬 모델 상태 진단
|
|
143
|
+
- `ame_flow`: 단계별 진행 방식과 응답 템플릿 확인
|
|
123
144
|
- `ame_setup`: 추천 모델 다운로드 계획 또는 실행
|
|
124
145
|
- `ame_load`: 문서 폴더를 Bronze/Silver/Gold 메모리로 구축
|
|
125
146
|
- `ame_corpora`: 만들어진 corpus 목록 확인
|
|
@@ -128,6 +149,8 @@ Codex/Claude Code는 AME MCP를 통해 다음 도구를 사용할 수 있습니
|
|
|
128
149
|
|
|
129
150
|
모델 다운로드는 시간과 디스크를 사용합니다. Codex/Claude Code가 먼저 다운로드 계획을 보여준 뒤, 사용자가 승인하면 실행하는 흐름을 권장합니다.
|
|
130
151
|
|
|
152
|
+
사양 진단이나 모델 추천은 corpus가 필요 없는 bootstrap MCP에서 처리합니다. 사용자가 직접 만든 corpus가 아니라면 `openclaw` 같은 예시 corpus 이름을 임의로 사용하지 않아야 합니다.
|
|
153
|
+
|
|
131
154
|
## CLI로 직접 쓰고 싶을 때
|
|
132
155
|
|
|
133
156
|
에이전트 없이 직접 사용할 수도 있습니다.
|
|
@@ -194,6 +217,8 @@ ame mcp stdio my-docs
|
|
|
194
217
|
|
|
195
218
|
대부분의 사용자는 직접 `ame mcp stdio`를 실행하지 않고, `ame connect --client codex` 또는 `ame connect --client claude`로 출력된 설정을 클라이언트에 넣으면 됩니다.
|
|
196
219
|
|
|
220
|
+
`ame mcp stdio`는 표준 MCP `Content-Length` 프레이밍과 newline JSON-RPC를 모두 지원합니다.
|
|
221
|
+
|
|
197
222
|
## Bronze/Silver/Gold 구조
|
|
198
223
|
|
|
199
224
|
- Bronze: 원본 문서를 보존합니다.
|
|
@@ -7,7 +7,7 @@ The preferred UX is agent-first: connect AME through MCP, then ask Codex or
|
|
|
7
7
|
Claude Code to diagnose hardware, recommend models, build memory, and answer
|
|
8
8
|
questions in natural language.
|
|
9
9
|
|
|
10
|
-
Current status: alpha, distributed through PyPI. Current version: `0.1.
|
|
10
|
+
Current status: alpha, distributed through PyPI. Current version: `0.1.8`.
|
|
11
11
|
|
|
12
12
|
## 1. Install
|
|
13
13
|
|
|
@@ -71,24 +71,44 @@ This works even before a corpus exists. The bootstrap MCP server lets Codex or
|
|
|
71
71
|
Claude Code diagnose hardware, plan model downloads, build memory, and query the
|
|
72
72
|
built memory.
|
|
73
73
|
|
|
74
|
-
## 3.
|
|
74
|
+
## 3. Proceed In Natural Language
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
Use separate steps instead of one long request.
|
|
77
|
+
|
|
78
|
+
First ask the agent to use AME MCP and follow the AME flow:
|
|
79
|
+
|
|
80
|
+
```text
|
|
81
|
+
Use AME MCP and follow the AME flow step by step. Start by checking ame_flow.
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Then diagnose hardware and model fit:
|
|
77
85
|
|
|
78
86
|
```text
|
|
79
87
|
Diagnose my computer for AME and recommend local models.
|
|
80
|
-
If downloads are needed, show me the model plan first.
|
|
81
|
-
After I approve, install the models.
|
|
82
|
-
Then build memory named my-docs from /Users/me/Documents/planning.
|
|
83
|
-
Once memory is built, answer questions from that local memory.
|
|
84
88
|
```
|
|
85
89
|
|
|
86
|
-
|
|
90
|
+
If downloads are needed, ask for the plan first:
|
|
87
91
|
|
|
88
92
|
```text
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
93
|
+
Show me the models to download and why. Do not install yet.
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
After reviewing the plan, approve installation:
|
|
97
|
+
|
|
98
|
+
```text
|
|
99
|
+
Approved. Install the required models.
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Then build memory from a folder:
|
|
103
|
+
|
|
104
|
+
```text
|
|
105
|
+
Build memory named my-docs from /Users/me/Documents/planning.
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
After memory is built, ask grounded questions:
|
|
109
|
+
|
|
110
|
+
```text
|
|
111
|
+
Using my-docs memory, tell me the current decisions and their rationale.
|
|
92
112
|
```
|
|
93
113
|
|
|
94
114
|
## MCP Tools
|
|
@@ -96,6 +116,7 @@ Which past decisions are now superseded?
|
|
|
96
116
|
AME exposes these tools to Codex or Claude Code:
|
|
97
117
|
|
|
98
118
|
- `ame_doctor`: diagnose hardware and local model status
|
|
119
|
+
- `ame_flow`: return the step-by-step flow and response templates
|
|
99
120
|
- `ame_setup`: plan or execute recommended model downloads
|
|
100
121
|
- `ame_load`: build Bronze/Silver/Gold memory from a folder
|
|
101
122
|
- `ame_corpora`: list built corpora
|
|
@@ -105,6 +126,10 @@ AME exposes these tools to Codex or Claude Code:
|
|
|
105
126
|
Model downloads can take time and disk space. The agent should show the plan
|
|
106
127
|
first, then run downloads after user approval.
|
|
107
128
|
|
|
129
|
+
Hardware diagnosis and model recommendations should use bootstrap MCP because
|
|
130
|
+
they do not require a corpus. Agents should not invent example corpus IDs such
|
|
131
|
+
as `openclaw` unless the user explicitly provided that corpus.
|
|
132
|
+
|
|
108
133
|
## Manual CLI Use
|
|
109
134
|
|
|
110
135
|
You can also use AME directly:
|
|
@@ -171,6 +196,9 @@ ame mcp stdio my-docs
|
|
|
171
196
|
Most users do not need to run these manually. Use `ame connect --client codex`
|
|
172
197
|
or `ame connect --client claude` and paste the printed config into the client.
|
|
173
198
|
|
|
199
|
+
`ame mcp stdio` supports both standard MCP `Content-Length` framing and newline
|
|
200
|
+
JSON-RPC.
|
|
201
|
+
|
|
174
202
|
## Bronze/Silver/Gold
|
|
175
203
|
|
|
176
204
|
- Bronze: preserves raw documents.
|
|
@@ -7,7 +7,7 @@ Codex나 Claude Code가 그 메모리를 보고 답할 수 있게 해주는 loca
|
|
|
7
7
|
|
|
8
8
|
사용자가 매번 긴 명령어를 치는 방식보다, **Codex/Claude Code에 AME를 연결하고 자연어로 맡기는 방식**을 우선합니다.
|
|
9
9
|
|
|
10
|
-
현재는 alpha 단계이며 PyPI로 배포 중입니다. 현재 버전은 `0.1.
|
|
10
|
+
현재는 alpha 단계이며 PyPI로 배포 중입니다. 현재 버전은 `0.1.8`입니다.
|
|
11
11
|
|
|
12
12
|
## 1. 설치
|
|
13
13
|
|
|
@@ -64,24 +64,44 @@ ame connect --client claude
|
|
|
64
64
|
|
|
65
65
|
이때 아직 문서 메모리를 만들지 않았어도 괜찮습니다. `ame connect --client ...`는 bootstrap MCP 설정을 출력하므로, Codex/Claude Code가 사양 진단부터 메모리 구축까지 진행할 수 있습니다.
|
|
66
66
|
|
|
67
|
-
## 3. 자연어로
|
|
67
|
+
## 3. 자연어로 진행
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
한 번에 길게 요청하기보다, 아래 흐름대로 하나씩 진행하는 것을 권장합니다.
|
|
70
|
+
|
|
71
|
+
먼저 AME MCP를 사용한다고 명시하고 진행 방식을 확인합니다.
|
|
72
|
+
|
|
73
|
+
```text
|
|
74
|
+
AME MCP를 사용해서 단계별로 진행해줘. 먼저 ame_flow를 확인해줘.
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
그 다음 사양 진단을 요청합니다.
|
|
70
78
|
|
|
71
79
|
```text
|
|
72
80
|
내 컴퓨터 사양을 진단하고 AME에 맞는 로컬 모델을 추천해줘.
|
|
73
|
-
다운로드가 필요하면 어떤 모델을 받을지 먼저 알려줘.
|
|
74
|
-
내가 승인하면 모델을 설치해줘.
|
|
75
|
-
그 다음 /Users/me/Documents/planning 폴더를 my-docs라는 이름으로 메모리화해줘.
|
|
76
|
-
구축이 끝나면 그 메모리를 기준으로 질문에 답해줘.
|
|
77
81
|
```
|
|
78
82
|
|
|
79
|
-
|
|
83
|
+
모델 다운로드가 필요하면 먼저 계획만 확인합니다.
|
|
80
84
|
|
|
81
85
|
```text
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
86
|
+
다운로드가 필요한 모델과 이유를 먼저 알려줘. 아직 설치는 하지 마.
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
계획을 보고 승인한 뒤 설치합니다.
|
|
90
|
+
|
|
91
|
+
```text
|
|
92
|
+
승인할게. 필요한 모델을 설치해줘.
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
문서 폴더와 corpus 이름을 지정해서 메모리를 구축합니다.
|
|
96
|
+
|
|
97
|
+
```text
|
|
98
|
+
/Users/me/Documents/planning 폴더를 my-docs라는 이름으로 메모리화해줘.
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
구축 후에는 메모리 기준으로 질문합니다.
|
|
102
|
+
|
|
103
|
+
```text
|
|
104
|
+
my-docs 메모리를 기준으로 현재 유효한 결정과 그 근거를 알려줘.
|
|
85
105
|
```
|
|
86
106
|
|
|
87
107
|
## AME가 제공하는 MCP 도구
|
|
@@ -89,6 +109,7 @@ ame connect --client claude
|
|
|
89
109
|
Codex/Claude Code는 AME MCP를 통해 다음 도구를 사용할 수 있습니다.
|
|
90
110
|
|
|
91
111
|
- `ame_doctor`: 컴퓨터 사양과 로컬 모델 상태 진단
|
|
112
|
+
- `ame_flow`: 단계별 진행 방식과 응답 템플릿 확인
|
|
92
113
|
- `ame_setup`: 추천 모델 다운로드 계획 또는 실행
|
|
93
114
|
- `ame_load`: 문서 폴더를 Bronze/Silver/Gold 메모리로 구축
|
|
94
115
|
- `ame_corpora`: 만들어진 corpus 목록 확인
|
|
@@ -97,6 +118,8 @@ Codex/Claude Code는 AME MCP를 통해 다음 도구를 사용할 수 있습니
|
|
|
97
118
|
|
|
98
119
|
모델 다운로드는 시간과 디스크를 사용합니다. Codex/Claude Code가 먼저 다운로드 계획을 보여준 뒤, 사용자가 승인하면 실행하는 흐름을 권장합니다.
|
|
99
120
|
|
|
121
|
+
사양 진단이나 모델 추천은 corpus가 필요 없는 bootstrap MCP에서 처리합니다. 사용자가 직접 만든 corpus가 아니라면 `openclaw` 같은 예시 corpus 이름을 임의로 사용하지 않아야 합니다.
|
|
122
|
+
|
|
100
123
|
## CLI로 직접 쓰고 싶을 때
|
|
101
124
|
|
|
102
125
|
에이전트 없이 직접 사용할 수도 있습니다.
|
|
@@ -163,6 +186,8 @@ ame mcp stdio my-docs
|
|
|
163
186
|
|
|
164
187
|
대부분의 사용자는 직접 `ame mcp stdio`를 실행하지 않고, `ame connect --client codex` 또는 `ame connect --client claude`로 출력된 설정을 클라이언트에 넣으면 됩니다.
|
|
165
188
|
|
|
189
|
+
`ame mcp stdio`는 표준 MCP `Content-Length` 프레이밍과 newline JSON-RPC를 모두 지원합니다.
|
|
190
|
+
|
|
166
191
|
## Bronze/Silver/Gold 구조
|
|
167
192
|
|
|
168
193
|
- Bronze: 원본 문서를 보존합니다.
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
|
|
9
9
|
1. 사용자가 Claude Code나 Codex를 터미널에서 엽니다.
|
|
10
10
|
2. Adaptive Memory Engine을 설치합니다.
|
|
11
|
-
3. `
|
|
12
|
-
4. `
|
|
13
|
-
5. `
|
|
14
|
-
6. `
|
|
11
|
+
3. `ame doctor` 또는 AME MCP `ame_doctor`로 컴퓨터 사양을 진단합니다.
|
|
12
|
+
4. `ame setup` 또는 AME MCP `ame_setup`으로 사양에 맞는 로컬 LLM과 embedding model을 추천받습니다.
|
|
13
|
+
5. 사용자 승인 후 `ame setup --execute` 또는 AME MCP `ame_setup(execute=true)`로 Ollama 모델을 다운로드합니다.
|
|
14
|
+
6. `ame load <corpus> <docs>` 또는 AME MCP `ame_load`로 문서 폴더를 읽힙니다.
|
|
15
15
|
7. 엔진이 `$AME_HOME/corpora/<corpus>` 아래에 corpus 폴더를 만들고 Bronze/Silver/Gold memory를 구축합니다.
|
|
16
|
-
8. `
|
|
17
|
-
9. Claude Code나 Codex가 `
|
|
16
|
+
8. `ame connect <corpus> --client codex` 또는 `--client claude`로 MCP 연결 설정을 출력합니다.
|
|
17
|
+
9. Claude Code나 Codex가 `ame mcp stdio <corpus>`를 MCP server로 실행합니다.
|
|
18
18
|
10. 사용자가 질문하면 Claude Code나 Codex는 구축된 local RAG memory pool에서 `memory_search`, `memory_retrieve`, `memory_graph`, `memory_decisions` 같은 tool을 호출해 답변합니다.
|
|
19
19
|
|
|
20
20
|
## 사용자가 실행하는 명령
|
|
@@ -23,23 +23,23 @@
|
|
|
23
23
|
pip install adaptive-memory-engine
|
|
24
24
|
export AME_HOME="$PWD/.ame"
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
ame doctor
|
|
27
|
+
ame setup
|
|
28
|
+
ame setup --execute
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
ame load my-docs ./docs
|
|
31
|
+
ame connect my-docs --client codex
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
Windows PowerShell에서는 환경변수를 다음처럼 설정합니다.
|
|
35
35
|
|
|
36
36
|
```powershell
|
|
37
37
|
$env:AME_HOME = "$PWD\.ame"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
ame doctor
|
|
39
|
+
ame setup
|
|
40
|
+
ame setup --execute
|
|
41
|
+
ame load my-docs .\docs
|
|
42
|
+
ame connect my-docs --client codex
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
`AME_HOME`을 지정하지 않으면 기본 runtime 위치는 OS별로 달라집니다.
|
|
@@ -54,7 +54,7 @@ Claude Code나 Codex에 등록되는 MCP server command는 다음 형태입니
|
|
|
54
54
|
{
|
|
55
55
|
"mcpServers": {
|
|
56
56
|
"adaptive-memory-engine": {
|
|
57
|
-
"command": "
|
|
57
|
+
"command": "ame",
|
|
58
58
|
"args": ["mcp", "stdio", "my-docs"],
|
|
59
59
|
"env": {
|
|
60
60
|
"AME_HOME": "/absolute/path/to/.ame"
|
|
@@ -107,7 +107,7 @@ Codex / Claude Code
|
|
|
107
107
|
|
|
108
108
|
## Fallback
|
|
109
109
|
|
|
110
|
-
`
|
|
110
|
+
`ame load --mode deterministic`은 기본 제품 흐름이 아닙니다.
|
|
111
111
|
|
|
112
112
|
이 모드는 다음 상황에서만 사용합니다.
|
|
113
113
|
|
|
@@ -116,4 +116,4 @@ Codex / Claude Code
|
|
|
116
116
|
- 로컬 LLM 설치 전 smoke check
|
|
117
117
|
- 저사양 환경에서 최소 기능 확인
|
|
118
118
|
|
|
119
|
-
정식 사용자 경험은 `
|
|
119
|
+
정식 사용자 경험은 `ame setup --execute` 이후 `ame load`를 실행하는 local-LLM first 흐름입니다.
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "adaptive-memory-engine"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.8"
|
|
8
8
|
description = "Local-first CLI memory engine that builds Bronze/Silver/Gold RAG memory from local documents."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.11"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.8"
|