Python utilities for generative agent tasks, including LLM interactions and agent memory.
Project description
GenAgent Utilities
A Python package providing utilities for generative agent tasks, including:
- Interacting with LLM providers (OpenAI, Anthropic).
- Helper functions for prompt engineering and structured output.
- Basic agent memory and chat session management.
Installation
pip install genagent
(Once it's on PyPI)
Usage
# Example usage (customize based on your library's API)
# from genagent import gen, Agent, ChatSession
# response = gen("Tell me a joke.")
# print(response)
# my_agent = Agent(name="MyTestAgent")
# my_agent.add_memory("The sky is blue.")
# print(my_agent.retrieve_memories("What color is the sky?"))
Please update this README with more specific instructions and examples for your package.
Development
To install for development:
cd llm-utils
pip install -e .
License
This project is licensed under the MIT License - see the LICENSE file for details.
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
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 genagent-0.1.0.tar.gz.
File metadata
- Download URL: genagent-0.1.0.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7696972331e33ef2b8dd3b6a81204a91577e6939e5c54f4ca6ac80fb2b3c7706
|
|
| MD5 |
8868c2ab37ce0acad2b33e83bda5a585
|
|
| BLAKE2b-256 |
d013263ec6784d2603e518e8a4e12fbbc619cbb4718eed75157fa64b9339420c
|
File details
Details for the file genagent-0.1.0-py3-none-any.whl.
File metadata
- Download URL: genagent-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f5c906826f977f54d82db2dc3bb42a0d54b45969032f21215cccc5da1a5c691
|
|
| MD5 |
23f30cc20c90e36d8f532d77d2261c78
|
|
| BLAKE2b-256 |
70ee6ce5f71c8c83069b80fd5b8bc8a278ab0c957b4497f91cf01f235b9eaa73
|