GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - AlgenAI/algen-agent-tools: Curated, governed connectors for agents built on Algen Agent Runtime: typed tools for email, documents, databases, messaging and MCP servers, governed by default.

BranchesTags
Open more actions menu

Latest commit

 

History

141 Commits
141 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
docs
docs
 
 
scripts
scripts
 
 
src/algen_agent_tools
src/algen_agent_tools
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
GOVERNANCE.md
GOVERNANCE.md
 
 
LICENSE
LICENSE
 
 
MAINTAINERS.md
MAINTAINERS.md
 
 
Makefile
Makefile
 
 
NOTICE
NOTICE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
SUPPORT.md
SUPPORT.md
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

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. Documentation: algenai.github.io/algen-agent-tools.

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.

Important

0.2.0a14 is a pre-release. Tool contracts may change between alpha releases; every change is recorded in CHANGELOG.md with an upgrade note. Review the security policy and each connector's guarantees before deployment. What must be true before the beta and 1.0 is tracked in beta and GA criteria.

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.
Where code belongs: domain packs (product-specific tools such as candidate screening or text-to-SQL) build on algen-agent-tools (generic connectors such as Gmail, IMAP, Postgres and documents), which builds on algen-agent-runtime (contracts, approvals, policies, audit).
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.2.0b5,<0.3 (tested on 0.2.0b5); see compatibility. On Runtime 0.1.0a23 to 0.2.0b4, stay on algen-agent-tools==0.2.0a12, which pip chooses there by itself.

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
SQLite algen_agent_tools.sqlite sqlite sqlite.list_tables, sqlite.describe_table (read), plus your own typed queries sqlite
MySQL / MariaDB algen_agent_tools.mysql mysql mysql.list_tables, mysql.describe_table (read), plus your own typed queries mysql
SMTP algen_agent_tools.smtp smtp smtp.send_email (external) smtp
Gmail algen_agent_tools.gmail gmail gmail.list_messages, gmail.get_message, gmail.get_thread (read), gmail.send_email (external) gmail
IMAP algen_agent_tools.imap imap imap.list_messages, imap.list_folders, imap.get_message, imap.get_thread (read), with an artifact sink imap.get_attachment (read) imap
Outlook algen_agent_tools.outlook outlook outlook.list_messages, outlook.get_message, outlook.get_thread (read), outlook.send_email (external) outlook
OneDrive / SharePoint algen_agent_tools.onedrive onedrive onedrive.list_folder (read), with an artifact sink onedrive.get_file, with documents onedrive.read_file (read) onedrive
Telegram algen_agent_tools.telegram telegram telegram.list_messages (read), telegram.send_message (external) telegram
GitHub algen_agent_tools.github github 37 reviewed tools from GitHub's MCP server: 22 read, 15 write (5 need approval) github
Discord algen_agent_tools.discord discord discord.list_conversations, discord.list_messages (read), discord.send_message (external) discord
Documents none: built in code with an artifact loader documents (PDF), ocr, msg documents.extract_text (read): PDF, Office (legacy .doc, .xls, .ppt with a host converter), OpenDocument, RTF, HTML, text, EML and MSG documents
Webhook none: built in code with typed targets webhook one webhook.<action> (external) per target webhook
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.

About

Curated, governed connectors for agents built on Algen Agent Runtime: typed tools for email, documents, databases, messaging and MCP servers, governed by default.

algenai.github.io/algen-agent-tools/

Topics

agent-toolsagentsai-agentsai-governanceconnectorsdocument-securityemailhuman-in-the-loopllmmcpocrpython

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

2 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.