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.4.tar.gz (90.8 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.4-py3-none-any.whl (87.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wolfpackai-0.1.4.tar.gz
  • Upload date:
  • Size: 90.8 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.4.tar.gz
Algorithm Hash digest
SHA256 35ebd3a39d90d03f7c99579f2a53923d56f59c79f1054a345b17376c344b83fd
MD5 40023a812ee59b42800e79f878d73b6b
BLAKE2b-256 3aa704a4668a983d9b80992fcfa29433ffecfee698ce33fa94b6dd9505497af3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wolfpackai-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4d2e1faaf2bcd55a5ddd5aab5cbb686f6ea77b251e7635bded28723ee2482630
MD5 7af4fe37500efcf9a7cd243e32e66592
BLAKE2b-256 aa748c9ab1068e84c4963e095c6df60b693828fa8081bcc92cd46c10013182f9

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

0.1.5

2 files

This release

0.1.4 This release

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