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.
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.1.tar.gz
(33.2 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.1.tar.gz.
File metadata
- Download URL: agentcore_push-0.1.1.tar.gz
- Upload date:
- Size: 33.2 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 |
27eb8d35fa00ba46483e627ca6dde1063586d51afec9add498e088f42bf2e635
|
|
| MD5 |
6dcbda7e4f014a805f57b29885343051
|
|
| BLAKE2b-256 |
d974ed2a7c07d063dab0c3a394dd686791bcc79eac34ded8f62eef58dfc57e4b
|
File details
Details for the file agentcore_push-0.1.1-py3-none-any.whl.
File metadata
- Download URL: agentcore_push-0.1.1-py3-none-any.whl
- Upload date:
- Size: 14.5 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 |
b6766de51b6daf5190c7552fb53ed1b3fe893a394834c89236a08a9d875bccd7
|
|
| MD5 |
293f81151849b8e2a523e2c20d91e426
|
|
| BLAKE2b-256 |
bc02b63a4a21124e1d57eab9800297209c464736b2a16e86be81ba5511d2174f
|