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.3.tar.gz (85.7 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.3-py3-none-any.whl (81.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wolfpackai-0.1.3.tar.gz
Algorithm Hash digest
SHA256 3890d080ca00c3a5976c94011b759e4bfc54b65fa1d9057757591bbd5a4bf4e3
MD5 c5e40d1edd57916abf84370622e32a26
BLAKE2b-256 86ab82ceb529e32e6b16ca2d31f6a74d123e08cd3c5d85fd168929cd892eb026

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for wolfpackai-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e8f48550ab62bafe4a7a6ccad4742495478265a57b751f875e407a21cd32e70b
MD5 c7ca8e541e844e42c28dfc581b3886dd
BLAKE2b-256 503a9d8e9493464610db2d86b3568f5e261dba7ce843ac933a015909f1a1f54f

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

0.1.4

2 files

This release

0.1.3 This release

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