Skip to main content Switch to mobile version qbittorrent-agent 3.0.3 AI agent for qBittorrent management, RSS automation, and search.
pip install qbittorrent-agent==3.0.3 Copy PIP instructions
CLI or API | MCP | Agent
Documentation — Installation, deployment, and usage across the API, CLI, MCP, and A2A agent interfaces are maintained in the official documentation.
Qbittorrent Agent is a production-grade Agent and Model Context Protocol (MCP) server designed to interface directly with AI agent for qBittorrent management, RSS automation, and search..
Consolidated Action-Routed MCP Tools: Minimizes token overhead and eliminates tool bloat in LLM contexts by grouping methods into optimized, togglable tool modules.
Enterprise-Grade Security: Complete support for Eunomia policies, OIDC token delegation, and granular execution context tracking.
Integrated Graph Agent: Built-in Pydantic AI agent supporting the Agent Control Protocol (ACP) and standard Web interfaces (AG-UI).
Native Telemetry & Tracing: Out-of-the-box OpenTelemetry exports and native Langfuse tracing.
This agent wraps the AI agent for qBittorrent management, RSS automation, and search. API. The operator can interact with it programmatically or via its integrated execution entrypoints.
Detailed instructions on how to use the underlying API wrappers, extended schema bindings, and developer SDK references are maintained in docs/index.md.
This server use dynamic Action-Routed tools to optimize token overhead and maximize IDE compatibility.
Every qBittorrent WebUI API operation (121, qBittorrent 5.2.4) is one typed tool, plus qbittorrent_ingest_torrents (knowledge-graph ingest). There are no action-routed tools. A failed call raises with qBittorrent's reason.
This repository features a fully integrated Pydantic AI Graph Agent. It communicates over the Agent Control Protocol (ACP) and interacts smoothly with the Agent Web UI (AG-UI) and Terminal interface.
Running the Agent CLI
To start the interactive command-line agent:
# Set credentials export QBITTORRENT_URL="
The following docker/agent.compose.yml configures the Agent, Web UI, and Terminal Interface together:
version: '3.8' services: qbittorrent-agent-mcp: init: true user: "10001:10001" read_only: true cap_drop: - ALL security_opt: - no-new-privileges:true pids_limit: 256 mem_limit: ${AGENT_CONTAINER_MEMORY_LIMIT:-4g} cpus: ${AGENT_CONTAINER_CPU_LIMIT:-2.0} tmpfs: - /tmp:rw,noexec,nosuid,nodev,size=64m image: ${QBITTORRENT_AGENT_MCP_IMAGE:?set-QBITTORRENT_AGENT_MCP_IMAGE-to-image@sha256-digest} container_name: qbittorrent-agent-mcp hostname: qbittorrent-agent-mcp restart: always env_file: - ../.env environment: - PYTHONUNBUFFERED=1 - HOST=0.0.0.0 - PORT=8000 - TRANSPORT=streamable-http ports: - "127.0.0.1:8000:8000" healthcheck: test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"] interval: 30s timeout: 10s retries: 3 start_period: 10s logging: driver: json-file options: max-size: "10m" max-file: "3" qbittorrent-agent-agent: init: true user: "10001:10001" read_only: true cap_drop: - ALL security_opt: - no-new-privileges:true pids_limit: 256 mem_limit: ${AGENT_CONTAINER_MEMORY_LIMIT:-4g} cpus: ${AGENT_CONTAINER_CPU_LIMIT:-2.0} tmpfs: - /tmp:rw,noexec,nosuid,nodev,size=64m image: ${QBITTORRENT_AGENT_AGENT_IMAGE:?set-QBITTORRENT_AGENT_AGENT_IMAGE-to-image@sha256-digest} container_name: qbittorrent-agent-agent hostname: qbittorrent-agent-agent restart: always depends_on: - qbittorrent-agent-mcp env_file: - ../.env command: [ "qbittorrent-agent" ] environment: - PYTHONUNBUFFERED=1 - HOST=0.0.0.0 - PORT=9004 - MCP_URL=http://qbittorrent-agent-mcp:8000/mcp - PROVIDER=${PROVIDER:-openai} - MODEL_ID=${MODEL_ID:-gpt-4o} - ENABLE_WEB_UI=True - ENABLE_OTEL=True ports: - "127.0.0.1:9004:9004" healthcheck: test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:9004/health')"] interval: 30s timeout: 10s retries: 3 start_period: 10s logging: driver: json-file options: max-size: "10m" max-file: "3" Detailed graph node architecture explanations, custom skill configurations, and agentic trace guides are available in docs/deployment.md.
Security & Governance
Built directly upon the enterprise-ready scion-sdk core, standard security parameters are fully supported:
Access Control & Policy Enforcement
Eunomia Policies: Fine-grained, policy-driven tool authorization. Supports none, local embedded (mcp_policies.json), or centralized remote modes.
OIDC Token Delegation: Compliant with RFC 8693 token exchange for flowing authenticating user credentials from Web UI / ACP → Agent → MCP.
Scoped Credentials: Execution context runs restricted to the specific caller identity.
Runtime Security Grid
Environment Variables
Package environment variables
Inherited scion-sdk variables (apply to every connector)
24 package + 16 inherited variable(s). Auto-generated from .env.example + the shared scion-sdk set — do not edit.
The agent and MCP server can be fully configured using the following environment variables:
Pick the extra that matches what the operator want to run:
# Connector-focused MCP server (includes the shared graph engine) uv pip install "qbittorrent-agent[mcp]" # Agent runtime (adds model orchestration to the shared graph engine) uv pip install "qbittorrent-agent[agent]" # Everything (development) uv pip install "qbittorrent-agent[all]" # or: python -m pip install "qbittorrent-agent[all]" Container images (:mcp vs :agent)
One multi-stage docker/Dockerfile builds two right-sized images, selected by --target:
docker build --target mcp -t example/qbittorrent-agent:mcp docker/ # connector-focused MCP server docker build --target agent -t example/qbittorrent-agent:agent-local docker/ # agent runtime docker/mcp.compose.yml runs the connector-focused :mcp server; docker/agent.compose.yml runs the agent (immutable agent digest) with a co-located :mcp sidecar.
Knowledge-graph database (medulla)
Both [mcp] and [agent] carry the medulla engine through the required Meristem core dependency (medulla[full]). The [mcp] extra keeps the server connector-focused; [agent] also enables model orchestration. Local deployments can use the bundled engine. For production or shared state, run medulla as a dedicated database service and configure the runtime to use it. Deployment recipes (single-node + Raft HA), connection configuration, and architecture diagrams are documented in the medulla deployment guide.
The complete documentation is published as the official documentation site and is the recommended reference for installation, deployment, and day-to-day operation.
Contributions are welcome! Please ensure code quality by running local checks before submitting pull requests:
Format code using ruff format .
Lint code using ruff check .
Validate type-safety with mypy .
Run test suites using pytest
Deploy with agent-os-genesis
This package can be provisioned for you — skill-guided — by the agent-os-genesis universal skill (its single-package deploy mode): it picks your install method, seeds secrets to OpenBao/Vault (or .env), trusts your enterprise CA, registers the MCP server, and verifies it — the same machinery that stands up the whole Agent OS, narrowed to just this package. Ask your agent to "deploy qbittorrent-agent with agent-os-genesis".
Secrets are read-existing + seeded via vault_sync — you are only prompted for what's missing.
Governed capability contract
This package ships a compact canonical skill surface with specialist procedures kept as referenced workflows. The current MCP tools, skill metadata, connector_manifest.yml, ontology, mappings, shapes, fixtures, migrations, tool-schema fingerprints, and certification metadata form one versioned capability contract. Validate them together; do not rely on stale tool names or historical per-task skill wrappers.
Runtime endpoints, credentials, certificate trust, tenant identity, retention, and observability policy are deployment inputs and are never packaged values. See Configuration, trust, and privacy before enabling a network transport, connector ingestion, Arbora delegation, or trace export.
Released: Dec 4, 2026
Author: Repository Maintainers
Python <3.15, >=3.12
Development Status 4 - Beta
License OSI Approved :: MIT License
Operating System POSIX :: Linux
Programming Language Python :: 3
Release files for qbittorrent-agent 3.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 178.5 kB
Release files / qbittorrent_agent-3.0.3.tar.gz
Release files / qbittorrent_agent-3.0.3-py3-none-any.whl
Security for qbittorrent-agent 3.0.3
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Dec 4, 2026 2 release files No provenance
Dec 3, 2026 2 release files No provenance
Nov 6, 2026 2 release files No provenance
Oct 31, 2026 2 release files No provenance
Oct 30, 2026 2 release files No provenance
Oct 24, 2026 2 release files No provenance
Oct 23, 2026 2 release files No provenance
Oct 22, 2026 2 release files No provenance
Oct 18, 2026 2 release files No provenance
Oct 18, 2026 1 release file No provenance
Jul 2, 2026 2 release files No provenance
Jun 17, 2026 2 release files No provenance
Jun 16, 2026 2 release files No provenance
Jun 13, 2026 2 release files No provenance
Jun 10, 2026 2 release files No provenance
Jun 6, 2026 2 release files No provenance
Jun 4, 2026 2 release files No provenance
Jun 1, 2026 2 release files No provenance
May 31, 2026 2 release files No provenance
May 29, 2026 2 release files No provenance
May 22, 2026 2 release files No provenance
May 21, 2026 2 release files No provenance
May 18, 2026 2 release files No provenance
May 11, 2026 2 release files No provenance
May 10, 2026 2 release files No provenance
May 8, 2026 2 release files No provenance
May 7, 2026 2 release files No provenance
Apr 30, 2026 2 release files No provenance
Apr 17, 2026 2 release files No provenance
Apr 10, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from 1274d9b











