Skip to main content

An advanced LLM agent framework supporting ReAct and Tool Calling paradigms.

Project description

Autourgos LLM Agent Kit

Autourgos LLM Agent Kit is a powerful, lightweight framework for building advanced AI agents. It supports both ReAct (Reasoning + Acting) and Tool Calling paradigms, allowing developers to create intelligent agents that can reason through complex problems and execute tools effectively.

Features

  • ReAct Agent: Implements the reasoning-trace loop (Thought → Action → Observation) for complex problem-solving.
  • Tool Calling Agent: Optimized for sequential tool execution without explicit reasoning overhead.
  • Autourgos Core: A robust tool management system with the @tool decorator for easy function-to-tool conversion.
  • Memory Integration: Optional conversation memory support.
  • Customizable Prompts: Easily modify agent behavior with custom prompt templates.
  • Verbose Logging: Detailed colored terminal output for debugging and monitoring agent thought processes.

Installation

Install via pip:

pip install autourgos-llmagentkit

Quick Start

1. Define Tools

Use the @tool decorator from autourgos.core to turn Python functions into tools.

from autourgos.core import tool

@tool
def calculate(expression: str) -> str:
    """Evaluates a mathematical expression."""
    return str(eval(expression))

@tool
def search(query: str) -> str:
    """Searches for information about the query."""
    return f"Results for: {query}"

2. Create a ReAct Agent

The ReAct agent reasons about the user's request and decides which tools to call.

from autourgos.llmagentkit import Create_ReAct_Agent

# Initialize your LLM client (must implement generate_response method)
# llm = MyLLMClient(...)

agent = Create_ReAct_Agent(llm=llm, verbose=True)
agent.add_tools(calculate, search)

response = agent.invoke("What is the calculation for 25 * 4 and search for its significance?")
print(response)

3. Create a Tool Calling Agent

For more direct tasks where explicit reasoning steps are less critical.

from autourgos.llmagentkit import Create_ToolCalling_Agent

agent = Create_ToolCalling_Agent(llm=llm, verbose=True)
agent.add_tools(calculate)

response = agent.invoke("Calculate 100 / 5")
print(response)

Project Structure

  • autourgos.llmagentkit: Core agent implementations (ReAct, Tool Calling).
  • autourgos.core: Tool management and decorators.

License

This project is licensed under a proprietary license. See the LICENSE file for details. Not for resale or commercial use without permission.

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

autourgos_llmagentkit-1.0.1.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

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

autourgos_llmagentkit-1.0.1-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file autourgos_llmagentkit-1.0.1.tar.gz.

File metadata

  • Download URL: autourgos_llmagentkit-1.0.1.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for autourgos_llmagentkit-1.0.1.tar.gz
Algorithm Hash digest
SHA256 63f3c6b100d7562282635a0000d2e9c9733a2446fdbb28fb12e3ca100510d4e0
MD5 5bdc68331430f6972895701d4b7b1226
BLAKE2b-256 aaf998e1cf3c938960755ba47bb0350b654c67607b7761751f69a6ddda09c9a4

See more details on using hashes here.

File details

Details for the file autourgos_llmagentkit-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for autourgos_llmagentkit-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2f09c37ff9684da114103d0bb18dab6e3e153ae08d78ac6c6688dd864109f679
MD5 a4edc084465f179e39b2a5a6e0471c90
BLAKE2b-256 60941e7d15fd0cde46cd7e3f2d4c7a32251b18f63c60d61cfa193bb7604dba4e

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