--- id: genagent version: "0.4.1" license: unclear license_treatment: unclear maintenance: aging --- # genagent — Python utilities for generative agent tasks, including LLM interactions and agent memory. License: unclear · Maintenance: aging · Downloads: 243.0K/mo ## 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 above — verify before relying. GenAgent provides utilities for building applications with large language models, including integrations with OpenAI and Anthropic, agent memory management, chat sessions, and structured output generation. 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 pip install genagent uv add genagent poetry add genagent ## Installing genagent 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. 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?") 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. 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_current - Install friction: low - Maintenance: aging - Downloads: 243.0K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags LLM agent utilities, generative agent framework, OpenAI Anthropic wrapper, agent memory management, structured LLM output, prompt engineering helpers, chat session management, llm-integration, agent-framework, multi-provider [View on SkillFed](https://skillfed.io/packages/genagent) · [View on PyPI](https://pypi.org/project/genagent/)