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? PERT analysis, Monte Carlo simulation, RL optimization, trust calibration, oversight/governance, delegation memory, and human-in-the-loop are available in the anvyonenterprise package.

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 including PERT analysis, Monte Carlo simulation, RL optimization, trust calibration, oversight/governance, delegation memory, and human-in-the-loop approval, see the anvyonenterprise package.

pip install anvyonenterprise

Contributing

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

git clone https://github.com/anvyon/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.1.tar.gz (44.1 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.1-py3-none-any.whl (53.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anvyonagentic-3.0.1.tar.gz
  • Upload date:
  • Size: 44.1 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.1.tar.gz
Algorithm Hash digest
SHA256 95302130cec02056ecafeebbff55e97623aa1720c1f589d17b3b5fb47ad78f39
MD5 a1cf0bbdf8c1d9b76cbf9ccf7f597090
BLAKE2b-256 7104348cbcabf842282109b6799d4adfc3d88d41862102dd237eae0af012373b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anvyonagentic-3.0.1-py3-none-any.whl
  • Upload date:
  • Size: 53.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fd836da03f650066b703ac8638de751d7b9cbe0e31b2d2c0b7815f409173bbae
MD5 cc5854e313db16e9f90633ac5cc41f74
BLAKE2b-256 174386266080b9a1bbbbb57b3aa8cefa89cac602e1ad56f78fb1eb1cc1e95fc8

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