make sync # Install dependencies
make test # Run all tests (130 tests)
make dev # Start LangGraph Studio (both agents)
make demo-alice # Run Alice story demo
make demo-correction # Run correction flow demo
make demo-all # Run all demosmake dynamodb-start # Start DynamoDB Local
make dynamodb-create-tables # Create tables in DynamoDB Local
make docker-build # Build container image
make api # Run FastAPI demo server (port 8001)
./scripts/deploy-infrastructure.sh dev # Deploy CloudFormationMODEL_PROVIDER:openai(default) orbedrockSTORAGE_BACKEND:memory(default) ordynamodbDYNAMODB_ENDPOINT: For DynamoDB Local (e.g.,http://localhost:8000)
memory/service.py- CentralPortableMemoryService(main entry point)memory/scopes.py- Multi-dimensional scope definitionsmemory/grants.py- Access grant managementmemory/persistence/- Storage backends (in-memory, DynamoDB)graph/server.py- Exportsmath_tutorandwriting_coachgraphsgraph/models.py- Model provider factory (OpenAI/Bedrock)api/main.py- FastAPI demo endpointsinfrastructure/cloudformation.yaml- AWS resources
This implements the Pre-read Section 2.3 five-component architecture:
- Memory Store (schema.py)
- Policy/AuthZ (grants.py, scopes.py)
- Context Router (service.py scope filtering)
- Audit Log (audit.py)
- Interoperability (formats/clr.py, formats/caliper.py)
Seams 1-7 are design-only placeholders in:
memory/security.py- Seam 6 (adversarial robustness)memory/conflicts.py- Seam 7 (conflict resolution)memory/grants.py- Seams 1, 3 (OAuth, revocation propagation)
These have docstrings describing future work but minimal implementation.
Tests are organized by layer:
tests/unit/- Individual component teststests/integration/- Cross-agent scenarios
All 130 tests should pass with make test.