Tiny CLI for pushing a single Python Strands Agent file to Amazon Bedrock AgentCore Runtime.
Project description
agentcore-push
Deploy a single-file Strands Agent to Bedrock AgentCore Runtime.
uvx agentcore-push agent.py
Quick Start
# 1. Write your agent
nano agent.py
# 2. Authenticate from Codespaces
aws login --remote
# 3. Deploy
uvx agentcore-push agent.py
agent.py
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
agentcore_push-0.1.0.tar.gz
(31.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentcore_push-0.1.0.tar.gz.
File metadata
- Download URL: agentcore_push-0.1.0.tar.gz
- Upload date:
- Size: 31.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71c6f306c8138a7ac166826ca0a2482efdf7d1092e2fa1e29fed6acb0854d7cc
|
|
| MD5 |
b4acb5281c5bee5cfd4ab9d61ae87cbf
|
|
| BLAKE2b-256 |
ac623375888b9f5fc38b43a425bf3d8143923c149d6739de2aa799b60f25d46f
|
File details
Details for the file agentcore_push-0.1.0-py3-none-any.whl.
File metadata
- Download URL: agentcore_push-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb63935ae2045ede2644277b1153424a0f9e7d02c6f99a1d726e40f53fe009d5
|
|
| MD5 |
cdc5fabd4bde0bc711ffe436fcc946ac
|
|
| BLAKE2b-256 |
60bf9ae163cb1c4d9a79a714d038618fcb1e11430f2cfdd984067daeff9c5772
|