Agentlabs
Python library for implementing agents on Weavel
Installation
pip install agentlabs
Example Usage
from agentlabs import Agent, InputType
agent = Agent()
@agent.service(
id=3,
name="blog_post",
description="Given a keyword as input, this service generates a SEO-optimized blog post",
)
@agent.service_input(
name="keyword",
display_name="키워드",
description="The keyword for which the blog post should be generated",
type=InputType.TEXT,
options=[
"아로니아",
"아로니아 농장",
],
)
@agent.service_input(
name="post_length",
display_name="글 길이",
description="Desired length of the blog post",
type=InputType.TEXT,
placeholder="Medium",
options=[
"Short",
"Medium",
"Long",
],
)
async def generate_blog(keyword: str):
await agent.aupdate_status("Generating blog outline...")
await agent.aupdate_status("Writing post...")
await agent.aupdate_status("Searching for images...")
await agent.aupdate_status("Adding images to post...")
await agent.aupdate_status("Generating title...")
return {
"blog": "블로그",
}
if __name__ == "__main__":
agent.run(token="5f2593e7-1a10-492e-a9c1-e7521d400e2b")
Metadata
Release files for agentlabs 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agentlabs-0.1.0.tar.gz | 6.7 kB | Without provenance | Details for agentlabs-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agentlabs-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for agentlabs-0.1.0-py3-none-any.whl |
Total release size: 14.5 kB
Release files / agentlabs-0.1.0.tar.gz
| Download URL | agentlabs-0.1.0.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
777428549fb334c22dacecf1108b8a774c5ee44f20592a533da4027d2afbd3dc
|
|
BLAKE2b-256 checksum How to use checksums |
60f30a9fcd0a8a32b0dfa89585c617b16ca48920f263c4041d41cdb893e2c3d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.6 readme-renderer/40.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/1.26.16 tqdm/4.66.1 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/1.5.0 colorama/0.4.6 CPython/3.11.2
|
Release files / agentlabs-0.1.0-py3-none-any.whl
| Download URL | agentlabs-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
873953a34b632808cb130ffb0226b702a298394932173e3433b18bca4943b083
|
|
BLAKE2b-256 checksum How to use checksums |
503be2ecbe0c14a89ea106264d5b798ed389037123cd7f26e75f0d93e3456e06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.6 readme-renderer/40.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/1.26.16 tqdm/4.66.1 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/1.5.0 colorama/0.4.6 CPython/3.11.2
|
Security for agentlabs 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.