genagent
Python utilities for generative agent tasks, including LLM interactions and agent memory.
Decision gist · record as of 2026-08-14
Yes, with conditions. GenAgent is useful for rapid prototyping of LLM-based agents and offers a clean abstraction over multiple providers. However, maintenance is aging (240 days since last release), the license treatment is unclear in the metadata, and you will need active API keys for OpenAI or Anthropic. Install it if you are building a prototype or internal tool and can tolerate potential lag on dependency updates; avoid it for production systems requiring long-term support guarantees.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires API keys for OpenAI and/or Anthropic; set OPENAI_API_KEY and ANTHROPIC_API_KEY environment variables, or configure DEFAULT_PROVIDER and DEFAULT_MODEL via .env.
- Low install friction with a pure-Python wheel.
- Maintenance status is aging—last release was 240 days ago—so expect limited active development and potential lag on dependency updates.
License · maintenance · safety
(unclear) — License treatment is unclear; the description mentions MIT but the metadata lacks SPDX confirmation. Verify the actual license file before relying on this package in proprietary or copyleft contexts.
last release 2025-12-17 (240 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 243,043 downloads/mo, #8,830 on PyPI
Alternatives
Verify before relying
pip install genagent
from genagent import gen, Agent, ChatSession
response = gen("Tell me a concise joke.")
my_agent = Agent(name="MyAgent")
my_agent.add_memory("The capital of France is Paris.")
chat_session = ChatSession(agent=my_agent, system_prompt="You are helpful.")
assistant_response = chat_session.chat("What is Paris?")- Whether the MIT license claim in the description is enforced in the actual LICENSE file.
- Current state of repository and whether it is actively maintained or archived.
- Compatibility of pinned versions of openai, anthropic, and cerebras-cloud-sdk with your target Python version.
What it is and what it does
GenAgent is a Python library that wraps interactions with multiple large language model providers—OpenAI, Anthropic, and Cerebras—behind a unified interface. It simplifies common LLM tasks like text generation, prompt engineering, and structured output extraction. The package also provides agent utilities: memory storage and retrieval, chat session management with system prompts, and modular instruction-based generation for extracting multiple fields from a single LLM call.
The library depends on eight runtime packages, including pydantic for validation, numpy for numerical work, tqdm for progress bars, and python-dotenv for environment configuration. It is designed for developers building agent-like applications that need to maintain context across multiple LLM calls and retrieve relevant memories based on queries. Configuration is handled via environment variables, allowing you to set a default provider and model once rather than passing them to every function call.
Use it for
- Building chatbot or assistant applications that maintain conversation history and retrieve relevant memories.
- Extracting structured data from unstructured text using modular instruction templates.
- Running parallel LLM experiments using the parallelization utilities.
- Prototyping multi-provider LLM applications without rewriting code for each API.
- Implementing agent systems that need semantic memory search across stored facts.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
GenAgent is useful for rapid prototyping of LLM-based agents and offers a clean abstraction over multiple providers. However, maintenance is aging (240 days since last release), the license treatment is unclear in the metadata, and you will need active API keys for OpenAI or Anthropic. Install it if you are building a prototype or internal tool and can tolerate potential lag on dependency updates; avoid it for production systems requiring long-term support guarantees.
Install
genagent on PyPI
Before you install
Low install friction with a pure-Python wheel. Maintenance status is aging—last release was 240 days ago—so expect limited active development and potential lag on dependency updates.
Requires API keys for OpenAI and/or Anthropic; set OPENAI_API_KEY and ANTHROPIC_API_KEY environment variables, or configure DEFAULT_PROVIDER and DEFAULT_MODEL via .env.
License in practice
License treatment is unclear; the description mentions MIT but the metadata lacks SPDX confirmation. Verify the actual license file before relying on this package in proprietary or copyleft contexts.
Quickstart
pip install genagent
from genagent import gen, Agent, ChatSession
response = gen("Tell me a concise joke.")
my_agent = Agent(name="MyAgent")
my_agent.add_memory("The capital of France is Paris.")
chat_session = ChatSession(agent=my_agent, system_prompt="You are helpful.")
assistant_response = chat_session.chat("What is Paris?")
Verify before relying
- Whether the MIT license claim in the description is enforced in the actual LICENSE file.
- Current state of repository and whether it is actively maintained or archived.
- Compatibility of pinned versions of openai, anthropic, and cerebras-cloud-sdk with your target Python version.
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 8 packagesopenaianthropiccerebras-cloud-sdkpydanticnumpypython-dotenvtqdmfrozendict |
| Maintenance | Aging 240 days since the last release |
| First released | |
| Downloads | 243,043 / month, #8,830 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Operating System :: OS IndependentProgramming Language :: Python :: 3 |
Evidence: genagent-0.4.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “LLM agent utilities”
- genagentGenAgent provides utilities for building applications with large…
- agentevalsProvides evaluators and utilities to assess agent trajectories—the…
- databricks-agentsMosaic AI Agent Framework SDK provides a Python library for building…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also langmem · aider-chat · llm · opentelemetry-util-genai · gllm-inference-binary · npmai-agents · pyrit · mem0ai · pydantic-ai