Metadata-Version: 2.4
Name: agentcore-push
Version: 0.1.0
Summary: Tiny CLI for pushing a single Python Strands Agent file to Amazon Bedrock AgentCore Runtime.
Project-URL: Homepage, https://github.com/minorun365/agentcore-push
Project-URL: Repository, https://github.com/minorun365/agentcore-push
Project-URL: Issues, https://github.com/minorun365/agentcore-push/issues
Author: minorun365
License: MIT
License-File: LICENSE
Keywords: agentcore,aws,bedrock,cli,strands
Requires-Python: >=3.10
Requires-Dist: boto3>=1.42.49
Requires-Dist: botocore[crt]>=1.42.49
Requires-Dist: rich>=13.0.0
Requires-Dist: typer>=0.12.0
Provides-Extra: dev
Requires-Dist: pytest>=8.0.0; extra == 'dev'
Description-Content-Type: text/markdown

# agentcore-push

Deploy a single-file Strands Agent to Bedrock AgentCore Runtime.

```bash
uvx agentcore-push agent.py
```

## Quick Start

```bash
# 1. Write your agent
nano agent.py

# 2. Authenticate from Codespaces
aws login --remote

# 3. Deploy
uvx agentcore-push agent.py
```

## agent.py

```python
from bedrock_agentcore import BedrockAgentCoreApp
from strands import Agent

app = BedrockAgentCoreApp()
agent = Agent()


@app.entrypoint
def invoke(payload):
    prompt = payload.get("prompt", "こんにちは")
    response = agent(prompt)
    return {"result": str(response)}


if __name__ == "__main__":
    app.run()
```

## Note

Community OSS. Not an AWS official tool.
