Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Algen Agent Tools — Typed tools for agents. Governed by default.

Algen Agent Tools

Quality Security PyPI Python 3.12+ License: Apache-2.0

Curated, governed connectors for agents built on Algen Agent Runtime.

Each connector is a Runtime Toolkit of narrow, typed actions, registered through a declared plugin. An agent names the plugin in agent.yaml, the Runtime checks every tool it enables, and Algen Agent Studio lists each tool with its side effect, permissions and environment variables from algen-agent-runtime describe, without running project code.

Why a separate package

  • The Runtime stays small and domain-agnostic; vendor APIs change faster than its core.
  • Connectors get their own release cadence, owners and security review.
  • Every connector is a plugin, so Studio sees it with no extra work.
Layer Package Contains
Core algen-agent-runtime Contracts, @tool, presets, Toolkit, plugins, describe, MCP and HTTP adapters
Connectors algen-agent-tools Generic toolkits, one optional extra each
Domain packs Their own packages Product-specific tools (hiring, text-to-SQL, HR, ...)

Install

Python 3.12 or 3.13. Install the package with the extra for each connector you use:

pip install "algen-agent-tools[postgres]"        # one connector
pip install "algen-agent-tools[all]"             # every connector

The package supports algen-agent-runtime>=0.1.0a11,<0.2; see compatibility.

Use a connector

Name the connector's plugin in domain_plugins, trust the package's prefix, enable the tools and grant their permissions:

agents:
  - name: assistant
    version: 1.0.0
    description: Checks that tools are wired up
    system_instructions: Use sample.echo when asked to echo text.
    default_model: {name: m, provider: demo}
    domain_plugins: [algen_agent_tools.sample]
    enabled_tools: [sample.echo]
    tool_permissions: [sample.read]
security:
  trusted_plugin_prefixes: [algen_agent_tools]

Then check the project the way Studio will:

algen-agent-runtime check agent.yaml
algen-agent-runtime describe --config agent.yaml --json

Each zero-configuration plugin reads its settings from env:// references at the moment its client first opens, never at import. To configure a connector in code (another name, other environment variables, a fake for tests), build its toolkit in your own plugin:

from algen_agent_runtime.plugins.sdk import PluginManifest, plugin
from algen_agent_tools.sample import sample_toolkit


@plugin(PluginManifest(name="acme.tools", version="1.0.0", publisher="acme"))
class AcmeTools:
    def register(self, context):
        sample_toolkit(name="diagnostics").register(context)

Connectors

Connector Plugin Extra Tools Docs
PostgreSQL algen_agent_tools.postgres postgres postgres.list_tables, postgres.describe_table (read), plus your own typed queries postgres
SMTP algen_agent_tools.smtp smtp smtp.send_email (external) smtp
Gmail algen_agent_tools.gmail gmail gmail.list_messages (read), gmail.send_email (external) gmail
Sample algen_agent_tools.sample none sample.echo (read) sample

MCP servers

For services with a well-maintained MCP server, algen_agent_tools.mcp adds a governance overlay instead of a native client: a reviewed mapping that declares each remote tool's side effect, permission, approval rule and pinned input schema. The tools appear in describe and Studio before anything connects, undeclared tools are never exposed, and a tool whose schema changes is refused until it is reviewed again.

pip install "algen-agent-tools[mcp]"
python -m algen_agent_tools.mcp snapshot server.yaml --name github --output github.overlay.yaml

Moving from the Runtime's built-in email and database connectors? See migrating from the Runtime.

Proposed connectors follow the connector policy: at least two projects need it, it holds no domain logic, it has an owner and it passed a security review. When a well-maintained MCP server exists, the package ships a governance overlay instead of a native client.

Rules every connector follows

  • Narrow, typed actions (list_open_invoices, post_message), never a raw passthrough such as free-form SQL or arbitrary HTTP.
  • Side effect, permission, idempotency, retries and timeout come from a Runtime preset. Anything that writes, sends or deletes is keyed by the idempotency key and tried once.
  • Secrets are env:// references only, resolved when a client opens.
  • An in-memory fake for offline tests; live tests run only when ALGEN_TOOLS_LIVE=1.
  • Every toolkit passes algen_agent_tools.testing.assert_toolkit_contract.

Development

python3.12 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e '.[dev]'
make check

See CONTRIBUTING.md, writing a connector and the release process.

Security

Report vulnerabilities privately as described in SECURITY.md. Do not open a public issue.

License

Apache License 2.0.

Metadata

Release files for algen-agent-tools 0.1.0a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for algen-agent-tools 0.1.0a1
File Size Uploaded Provenance Actions
algen_agent_tools-0.1.0a1.tar.gz 51.2 kB With provenance Details for algen_agent_tools-0.1.0a1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for algen-agent-tools 0.1.0a1
File Interpreter ABI Platform Actions
algen_agent_tools-0.1.0a1-py3-none-any.whl Python 3 none any Details for algen_agent_tools-0.1.0a1-py3-none-any.whl

Total release size: 101.1 kB

Release files / algen_agent_tools-0.1.0a1.tar.gz

Download URL algen_agent_tools-0.1.0a1.tar.gz
Size 51.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4a6fc5e85a137040b4fa60dde1a5ccbe4b3e1715f918b302c76d17bd411b5d0f
BLAKE2b-256 checksum
How to use checksums
e89983fd9aa531ce5ead1e7a16744ff5f10c494aadadc34a6a263e4c2303b0c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / algen_agent_tools-0.1.0a1-py3-none-any.whl

Download URL algen_agent_tools-0.1.0a1-py3-none-any.whl
Size 49.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f76077ab064de11946f3e78875f1549e379c7238fbebfeb5aa19b58c9f67d55
BLAKE2b-256 checksum
How to use checksums
5469f28639c73ef9263c23906ef7cc731d392afdbc56ac3e670e1c4d4de63e56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Security for algen-agent-tools 0.1.0a1

Provenance

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for algen_agent_tools-0.1.0a1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

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.

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