Skip to main content

Anvyon Agentic

Open-source multi-agent framework for task decomposition, delegation, and execution.

Anvyon Agentic is a Python library for building multi-agent systems that decompose, delegate, and execute complex tasks. It provides a simple yet powerful foundation for agentic workflows with pluggable LLM providers.

License: AGPL v3 Python 3.9+

Features

  • Zero required dependencies — core library uses only Python stdlib
  • Task decomposition — break complex tasks into manageable subtasks via LLM
  • Agent registry — register, list, and find agents by skill
  • Basic delegation — create and manage delegation contracts
  • Executor routing — route tasks to the right execution path (LLM or tool)
  • Built-in tools — calculate, datetime, text_transform, json_parse, web_search
  • Pluggable LLM providers — bring your own LLM or use the built-in Anthropic provider

Looking for advanced features? For advanced capabilities that enable creating more efficient, less cost workflows we have embedded operations and OB principles into this. Additional features like PERT analysis, Monte Carlo simulation, RL optimization, trust calibration, oversight/governance, delegation memory, and human-in-the-loop approval are available in the Anvyon Enterprise package. Contact anvyon1@gmail.com and visit www.anvyon.com for more details.

Installation

pip install anvyonagentic

With Anthropic (Claude) support:

pip install anvyonagentic[anthropic]

For development:

pip install anvyonagentic[dev]

Quick Start

from anvyonagentic import Task, AgentRegistry, BasicOrchestrator, ToolRegistry

tasks = [
    Task(id="T1", description="Parse user input",
         optimistic=0.5, most_likely=1.0, pessimistic=2.0),
    Task(id="T2", description="Process data",
         optimistic=1.0, most_likely=2.0, pessimistic=3.0,
         depends_on=["T1"]),
]

registry = AgentRegistry()
agents = registry.find_by_skill("reasoning")
print(f"Found agent: {agents[0].name}")

orchestrator = BasicOrchestrator()
results = orchestrator.run(tasks)
print(results)

tools = ToolRegistry()
result = tools.execute("calculate", {"expression": "2 + 2 * 3"})
print(result)

Architecture

Modules

Module Description
anvyonagentic.core Task, AgentRegistry, BasicOrchestrator
anvyonagentic.router ExecutorRouter, DelegationManager
anvyonagentic.tools ToolRegistry with built-in tools

Default Agents

Agent Type Skills
llm_reasoner llm reasoning, analysis, text generation, planning
tool_executor tool calculation, data processing, JSON parsing
code_agent llm coding, debugging, testing, code review
research_agent hybrid search, research, fact-checking

Advanced Usage

Custom Agents

from anvyonagentic import AgentRegistry, WorkerAgent

registry = AgentRegistry()

registry.register(WorkerAgent(
    name="sql_expert",
    skills=["sql", "database", "query_optimization"],
    agent_type="tool",
    description="Specialized SQL and database agent"
))

agents = registry.find_by_skill("database")
print(f"Found agent: {agents[0].name}")

Built-in Tools

from anvyonagentic import ToolRegistry

tools = ToolRegistry()

result = tools.execute("calculate", {"expression": "2 + 2 * 3"})
print(result)  # {"success": True, "data": {"result": 8}}

result = tools.execute("datetime", {"format": "iso"})
result = tools.execute("text_transform", {"text": "hello", "operation": "upper"})

Enterprise Features

For advanced capabilities that enable creating more efficient, less cost workflows we have embedded operations and OB principles into this. Additional features like PERT analysis, Monte Carlo simulation, RL optimization, trust calibration, oversight/governance, delegation memory, and human-in-the-loop approval are available in the Anvyon Enterprise package.

Contact anvyon1@gmail.com and visit www.anvyon.com for more details.

Contributing

Contributions are welcome. Please open an issue first to discuss what you would like to change.

git clone https://github.com/anvyon1/Anvyonagentic.git
cd anvyonagentic
pip install -e ".[dev]"
pytest

License

This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). See LICENSE for the full text.

Metadata

Release files for anvyonagentic 3.0.2

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

Source distribution (sdist)

Source distribution for anvyonagentic 3.0.2
File Size Uploaded Provenance
anvyonagentic-3.0.2.tar.gz 44.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for anvyonagentic 3.0.2
File Interpreter ABI Platform
anvyonagentic-3.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 98.4 kB

Release files / anvyonagentic-3.0.2.tar.gz

Download URL anvyonagentic-3.0.2.tar.gz
Size 44.4 kB
Tags Source
SHA-256 checksum
How to use checksums
23aa83759a082746b336c0856043d79ec544f7e7315f703636fa1e9272a1cef5
BLAKE2b-256 checksum
How to use checksums
c2572b7136f9eb7b36967080167e08fba9065969cb0e0674107db936450ab08c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / anvyonagentic-3.0.2-py3-none-any.whl

Download URL anvyonagentic-3.0.2-py3-none-any.whl
Size 54.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5adafd37d6df036849c5530ee3b0ffb8d562cd5b7838312eefc3987e3a87f07
BLAKE2b-256 checksum
How to use checksums
66931ae51291edb0b9ae2edfb30984ecc3dff074e1603b2f9441c90296c6ffc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Security for anvyonagentic 3.0.2

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.

Release history Release notifications | RSS feed

This release

3.0.2 This release

2 release files No provenance

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