Files
agent-claw/agentclaw/app/agent_claw_main
daniel 893c110729 multi-tenant Phase 1: user registry + per-user memory
- CDK: add agent-claw-users DynamoDB table (actor_id PK, RETAIN policy)
- CDK: grant agent-runner read/write on users table; add USERS_TABLE_NAME env
- CDK: fix cdk.json app field (was object, must be command string)
- CDK: add UsersTableName output
- agent-runner: get_or_create_user() auto-registers users on first contact
  (stores display_name, telegram_username, created_at, allowed)
- agent-runner: pass user_profile in AgentCore payload
- prompt_builder: split base prompt (cached) from per-user context (injected per-call)
  removes USER.md/MEMORY.md from shared load; user name/username injected dynamically
- main.py: extract user_profile from payload, build user_context string for prompt
2026-05-06 20:36:22 -05:00
..
2026-05-06 18:55:16 -05:00
2026-05-06 18:55:16 -05:00
2026-05-06 18:55:16 -05:00
2026-05-06 18:55:16 -05:00
2026-05-06 18:55:16 -05:00

This is a project generated by the AgentCore CLI!

Layout

The generated application code lives at the agent root directory. At the root, there is a .gitignore file, an agentcore/ folder which represents the configurations and state associated with this project. Other agentcore commands like deploy, dev, and invoke rely on the configuration stored here.

Agent Root

The main entrypoint to your app is defined in main.py. Using the AgentCore SDK @app.entrypoint decorator, this file defines a Starlette ASGI app with the chosen Agent framework SDK running within.

model/load.py instantiates your chosen model provider.

Environment Variables

Variable Required Description
LOCAL_DEV No Set to 1 to use .env.local instead of AgentCore Identity

Developing locally

If installation was successful, a virtual environment is already created with dependencies installed.

Run source .venv/bin/activate before developing.

agentcore dev will start a local server on 0.0.0.0:8080.

In a new terminal, you can invoke that server with:

agentcore invoke --dev "What can you do"

Deployment

After providing credentials, agentcore deploy will deploy your project into Amazon Bedrock AgentCore.

Use agentcore invoke to invoke your deployed agent.