Skip to main content

Wolfpack AI

Wolfpack AI is a Python framework for building production-ready artificial intelligence agents. It combines agent execution, tool calling, retrieval-augmented generation (RAG), memory, human approval flows, guardrails, and OpenTelemetry observability in a single developer-focused library.

Every agent run can emit structured traces for model calls, tool executions, token usage, latency, and cost. The optional Wolfpack Agent Management Platform (AMP) receives those traces and provides an operational interface for monitoring, governance, evaluation, and agent lifecycle management.

Install

Wolfpack AI requires Python 3.10 or later.

pip install wolfpackai

The published package is named wolfpackai; Python imports remain under the stable wolfpack module.

Install optional integrations as needed:

pip install "wolfpackai[qdrant]"    # Qdrant vector database
pip install "wolfpackai[pgvector]"  # PostgreSQL vector search
pip install "wolfpackai[knowledge]" # Document readers
pip install "wolfpackai[mcp]"       # Model Context Protocol client

Quick Start

Configure a supported model provider, then create an agent and attach typed Python functions as tools.

export OPENAI_API_KEY="..."
from wolfpack import Agent, get_model_from_env, tool


@tool
def get_weather(city: str) -> str:
    """Return the current weather for a city.

    Args:
        city: City name.
    """
    return f"{city}: 22 C, cloudy."


agent = Agent(
    name="Weather assistant",
    model=get_model_from_env(),
    tools=[get_weather],
)

result = agent.run("What is the weather in Lisbon?")
print(result.content)

Capabilities

  • Agent loop with synchronous execution, asynchronous execution, streaming, events, and typed tool calling.
  • Model adapters for OpenAI, Anthropic, Google Gemini, Ollama, Groq, and OpenAI-compatible providers.
  • Knowledge retrieval with chunking, embeddings, and memory, Qdrant, or PostgreSQL vector stores.
  • Persistent session memory with in-memory and SQLite stores.
  • Guardrails for personally identifiable information, prompt injection, and tool allowlists.
  • Durable human-in-the-loop approvals, including pause and resume workflows.
  • Pydantic-based structured output with validation and retry feedback.
  • Deterministic workflows with directed acyclic graph execution, conditions, and retries.
  • Multi-agent teams with delegation, routing, broadcast, and task modes.
  • Model Context Protocol client support for external tool servers.
  • Evaluation runners, score publishing, scheduled tasks, and channel adapters for Telegram, Slack, Discord, and web chat.

Observability

Wolfpack AI emits OpenTelemetry spans using the generative artificial intelligence semantic conventions. Set an Agent Management Platform endpoint and project Application Programming Interface key to send runs to the control plane:

export WOLFPACK_AMP_URL="http://localhost:8000"
export WOLFPACK_AMP_API_KEY="pk-...:secret"

The Agent Management Platform stores traces and provides dashboards, trace exploration, session views, approvals, guardrail settings, evaluation scores, privacy controls, schedules, runtime mesh monitoring, and channel management.

Development

Clone the repository and install the development dependencies with uv:

git clone https://github.com/wolfpackaiagents/wolfpackai.git
cd wolfpackai/framework
uv sync --extra test --group dev
pytest

Examples are organized by capability in examples/, including basic agents, tools, knowledge retrieval, observability, human approval, workflows, teams, and Model Context Protocol integrations.

Author

Created by Álvaro Brito.

License

Wolfpack AI is released under the MIT License.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wolfpackai-0.1.5.tar.gz (90.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wolfpackai-0.1.5-py3-none-any.whl (87.2 kB view details)

Uploaded Python 3

File details

Details for the file wolfpackai-0.1.5.tar.gz.

File metadata

  • Download URL: wolfpackai-0.1.5.tar.gz
  • Upload date:
  • Size: 90.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for wolfpackai-0.1.5.tar.gz
Algorithm Hash digest
SHA256 d28c7fa05dec737c203c92e08df05f58130e9af130e3903d2e04ad029a448012
MD5 4bda202bc174c570a5d9210f655a0025
BLAKE2b-256 027b2a299e10f34a5ee6b55c9b9b09dee184a9b07b348c63fa45e533ca9e94d3

See more details on using hashes here.

File details

Details for the file wolfpackai-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: wolfpackai-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 87.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for wolfpackai-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ee8fa2913697261eede16486c73b38d0e67fad0216d3ac94447e79a3e1d9ef36
MD5 8fb65dede17c986bfcdf4ac0b8fd06ba
BLAKE2b-256 3daab6be2328568b236ced3f71779bd65222b9fcb3fd76f7dddf73434baf3eb4

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

This release

0.1.5 This release

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page