daniel 3a34e61479 feat: add windowed session history + LTM extraction/retrieval
- 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)
2026-05-13 11:57:50 -05:00
2026-05-04 08:43:08 -05:00

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 comparison
  • compatibility-analysis.md — Detailed component-by-component compatibility analysis
  • offload-requirements.md — What needs to move to external services
  • feasibility-verdict.md — Bottom-line assessment for AgentCore
  • fargate-analysis.md — ECS Fargate deployment analysis (the better fit)
  • agentcore-memory-research.md — AgentCore Memory deep dive + MEMORY.md replacement analysis
  • agentcore-rebuild.md — What's reusable in an AgentCore-native rebuild
  • serverless-relay-patterns.md — Lambda/webhook patterns per channel (Discord deep dive)
  • build-plan.mdSTART HERE: full build plan, open questions, phases, cost estimate
Description
No description provided
Readme 65 MiB
Languages
Python 86.6%
TypeScript 8.4%
JavaScript 4.4%
Shell 0.5%
Dockerfile 0.1%