autogen-verdo
AutoGen tools for Verdo: structured team decisions with deadlines, routing and webhooks.
Use it when your agent needs a person to approve, pick or sign off on something, and needs a structured result rather than a discussion. The agent proposes; a person decides. No tool invites people, approves, rejects or settles a decision.
Install
pip install autogen-verdo
Needs Python 3.10+ and autogen-core 0.4 or newer.
Set up
Create a full-access API key in Verdo (Settings > API keys). It starts with vdok_.
export VERDO_API_KEY=vdok_...
Or pass api_key= to VerdoTools.
Use
from autogen_agentchat.agents import AssistantAgent
from autogen_verdo import VerdoTools
agent = AssistantAgent(
"planner",
model_client=model_client, # any autogen-ext chat completion client
tools=VerdoTools().get_tools(),
system_message="When a decision needs the team, propose it in Verdo and share the link.",
)
Or call a tool directly, since they're plain async methods:
tools = VerdoTools()
created = await tools.create_decision(
"Ship the redesigned onboarding this sprint?",
["Ship it", "One more round of testing", "Descope"],
tags=["engineering"], # a routing rule on this tag assigns its approver
idempotency_key="onboarding-sprint-47",
source_agent="sprint-planner",
)
print(created["url"]) # send this to the person who decides
status = await tools.check_decision(created["id"])
print(status["status"], status["outcome"])
Tools
| Tool | What it does |
|---|---|
verdo_create_decision |
Proposes a decision. It invites nobody: the decision opens in the Verdo dashboard, and tags can route it to an approver configured in Verdo. With an idempotency_key, a retry returns the same open decision (created: false). |
verdo_check_decision |
Status, outcome once decided, votes per option, owner, link, request_fingerprint. |
verdo_list_decisions |
Up to 25 decisions, filtered by title words, status, tags, source_agent or notification status. |
verdo_search_decisions |
Past decided decisions by title words, newest first. |
verdo_get_precedent |
One past decision's record, with related decisions. |
verdo_cancel_decision |
Withdraws a draft or open decision this key created. |
verdo_edit_decision |
Revises a draft or open decision this key created. A change voids the votes cast so far. |
Past decisions come back with execution_authorized: false: they're records, not consent to repeat them. A failed call raises VerdoAPIError with a sentence the agent can act on.
Webhooks
Instead of polling, subscribe a public https URL to an event (decision.settled, decision.rejected, decision.cancelled, decision.expired, decision.escalated) with POST https://verdo.ink/api/v1/webhooks/subscribe. The full API is at verdo.ink/openapi.yaml.
Development
pip install -e ".[test]"
pytest tests/
License
MIT
Metadata
Release files for autogen-verdo 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| autogen_verdo-0.1.0.tar.gz | 10.0 kB | Without provenance | Details for autogen_verdo-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| autogen_verdo-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for autogen_verdo-0.1.0-py3-none-any.whl |
Total release size: 18.4 kB
Release files / autogen_verdo-0.1.0.tar.gz
| Download URL | autogen_verdo-0.1.0.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85fbe9753c2821955905cd95fa48fcfa01a18620c0e69dbd4cdd798d492eeed9
|
|
BLAKE2b-256 checksum How to use checksums |
88679491bffa8521ebf4535743899163865b0ff4252315b3724c8b2e741ef88b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / autogen_verdo-0.1.0-py3-none-any.whl
| Download URL | autogen_verdo-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
af429778dd3d6060c4363acda9b7e88009a593c2f27599d47651c5add098124a
|
|
BLAKE2b-256 checksum How to use checksums |
bab479cc2dd991064a174e4e13968b800795b083b625b12dca190ad93a4edbfd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Security for autogen-verdo 0.1.0
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.
No provenance found
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.