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.8.tar.gz (93.6 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.8-py3-none-any.whl (88.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wolfpackai-0.1.8.tar.gz
  • Upload date:
  • Size: 93.6 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.8.tar.gz
Algorithm Hash digest
SHA256 df6253ccc85b5f7ca9c354e56b12f9411487927703e3cee6c745398e4a77543a
MD5 4fd318628aa079893ae785eb6888aac4
BLAKE2b-256 2356f8417626a1979e2cb4e74f8ff23b632fae5fd881344d6e94c1c086391463

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wolfpackai-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 88.3 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 c2adf51aab44a4a7a1997704aa7bce75e2e09ee2a5810a22ab09b9bb8ae14849
MD5 d2a59896ccf895367b2f2239a100c8f3
BLAKE2b-256 9251531c2b83503f68b9267ce46b28b7ada77063c4b2a8d1e4b2be9e8b68141b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

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