3a34e61479896e600e5960ab48ea27b3778041f3
- New memory_manager.py with:
- check_and_compact: runs compaction on flagged sessions (extracts LTM via
Claude Haiku, stores as AgentCore Memory event, deletes old events)
- check_window_and_flag: sets DynamoDB flag when session > 100 events
- load_ltm: retrieves LTM extractions and formats as system prompt block
- Wired into main.py:
- Compaction runs before session_manager creation (trims old events)
- LTM block injected into system prompt
- Window check runs after session close
- SESSION_WINDOW_SIZE = 100 (named constant)
- Compaction is idempotent (uses event timestamps as cursor)
- LTM retrieval failure is non-fatal (logs and continues)
OpenClaw on AWS AgentCore — Research Project
Research into the feasibility of running OpenClaw on AWS Bedrock AgentCore Runtime.
Files
architecture-comparison.md— Side-by-side architecture comparisoncompatibility-analysis.md— Detailed component-by-component compatibility analysisoffload-requirements.md— What needs to move to external servicesfeasibility-verdict.md— Bottom-line assessment for AgentCorefargate-analysis.md— ECS Fargate deployment analysis (the better fit)agentcore-memory-research.md— AgentCore Memory deep dive + MEMORY.md replacement analysisagentcore-rebuild.md— What's reusable in an AgentCore-native rebuildserverless-relay-patterns.md— Lambda/webhook patterns per channel (Discord deep dive)build-plan.md— START HERE: full build plan, open questions, phases, cost estimate
Description
Languages
Python
86.6%
TypeScript
8.4%
JavaScript
4.4%
Shell
0.5%
Dockerfile
0.1%