Skip to main content

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

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anvyonagentic-3.0.2.tar.gz (44.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anvyonagentic-3.0.2-py3-none-any.whl (54.0 kB view details)

Uploaded Python 3

File details

Details for the file anvyonagentic-3.0.2.tar.gz.

File metadata

  • Download URL: anvyonagentic-3.0.2.tar.gz
  • Upload date:
  • Size: 44.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for anvyonagentic-3.0.2.tar.gz
Algorithm Hash digest
SHA256 23aa83759a082746b336c0856043d79ec544f7e7315f703636fa1e9272a1cef5
MD5 2b48f62bdf1905de0d0cac26e8417536
BLAKE2b-256 c2572b7136f9eb7b36967080167e08fba9065969cb0e0674107db936450ab08c

See more details on using hashes here.

File details

Details for the file anvyonagentic-3.0.2-py3-none-any.whl.

File metadata

  • Download URL: anvyonagentic-3.0.2-py3-none-any.whl
  • Upload date:
  • Size: 54.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for anvyonagentic-3.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c5adafd37d6df036849c5530ee3b0ffb8d562cd5b7838312eefc3987e3a87f07
MD5 9466ff8edb28241332f4ff1231eb0700
BLAKE2b-256 66931ae51291edb0b9ae2edfb30984ecc3dff074e1603b2f9441c90296c6ffc9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page