Catalog PyPI
PACKAGE EXPLORERView in registry

agentize

PyPI
Versions collected1
Direct dependencies15From release 0.1.0
Last observed20 Oct, 22:29 UTC

README

Version 0.1.0 documentation

agentize

image

Agentize provides out-of-the-box tools for building chatbot agent with LLMs.

Usage

Installation

pip install agentize

# If you want to use langfuse
pip install agentize[langfuse]

# If you want to use markitdown
pip install agentize[markitdown]

# Or just install all the extras
pip install agentize[all]

Tools

MarkItDown

  • markitdown_scrape tool to scrape a URL and get its content.

Firecrawl

  • firecrawl_scrape tool to scrape a URL and get its content.
  • search tool to perform web searches and optionally retrieve content from the results.
  • map tool to go from a single url to a map of the entire website.

Telegraph

  • publish_page_md tool to publish a markdown document to telegraph and get its URL.

Wise

  • query_rate_history tool to query the rate history of a currency.

Agents

  • Summary agent to summarize a document.

Examples

Chatbot agent. Summarize chatbot. The -w flag tells Chainlit to enable auto-reloading, so you don’t need to restart the server every time you make changes to your application.

uv run chainlit run examples/chatbot_agent.py -w

Chatbot with MCP client.

uv run chainlit run examples/mcp_chatbot.py -w

Summarize chatbot.

uv run chainlit run examples/summarize_chatbot.py -w

Prompt generation:

uv run chainlit run examples/prompt_generation.py -w

Development

type check and format the code

make format fix type

pre-commit git hook installation

pre-commit install
# or manually run
pre-commit run --all-files

Environment variables

# OpenAI compatible API
# export OPENAI_BASE_URL="..."
# export OPENAI_API_KEY="..."

# OpenAI
# export OPENAI_MODEL="gpt-4o-mini"
# export OPENAI_API_KEY="sk-..."

# Firecrawl (optional)
export FIRECRAWL_API_KEY="fc-..."

# Object Storage (optional), S3 compatible Storage
export AWS_ACCESS_KEY_ID="..."
export AWS_SECRET_ACCESS_KEY=".."
export AWS_ENDPOINT_URL_S3="..."
export AWS_BUCKET_NAME="..."

# Langfuse
export LANGFUSE_PUBLIC_KEY="pk-..."
export LANGFUSE_SECRET_KEY="sk-..."
export LANGFUSE_HOST="..."

# Azure OpenAI
export AZURE_OPENAI_API_KEY="..."
export AZURE_OPENAI_ENDPOINT="..."
export OPENAI_MODEL="gpt-4.1"
# see https://learn.microsoft.com/azure/ai-services/openai/api-version-deprecation for more details
export OPENAI_API_VERSION="2025-03-01-preview"

We follow the same environment variable conventions used by the official OpenAI and Azure OpenAI SDKs. This ensures a seamless integration experience and consistency across environments. The only difference is that if the environment variable AZURE_OPENAI_API_KEY is present, AzureOpenAI will be used. Below is a list of supported environment variables for each client, along with their descriptions and usage examples.

OpenAI / AsyncOpenAI

Variable NameDescription
OPENAI_API_KEY✅ Required. Your OpenAI API key
OPENAI_ORG_ID🟡 Optional. Organization ID
OPENAI_PROJECT_ID🟡 Optional. Project ID
OPENAI_BASE_URL🟡 Optional. Custom base URL (e.g., for proxy usage)

AzureOpenAI / AsyncAzureOpenAI

Variable NameDescription
AZURE_OPENAI_API_KEY✅ Required if not using AD token. Azure OpenAI API key
AZURE_OPENAI_AD_TOKEN✅ Required if not using API key. Azure Active Directory token
OPENAI_API_VERSION✅ Required. API version, e.g., 2025-03-01-preview
AZURE_OPENAI_ENDPOINT✅ Required. Azure endpoint (e.g., https://your-resource.openai.azure.com)
OPENAI_ORG_ID🟡 Optional. Organization ID (for compatibility)
OPENAI_PROJECT_ID🟡 Optional. Project ID (for compatibility)

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.010 Aug 202515

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:29 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:cec66a73f038742b61bd60d8757ba191a5241aa6dbbe42f17e37e5f042baa7d1