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.2.tar.gz (18.5 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.2-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: autourgos_llmagentkit-1.0.2.tar.gz
  • Upload date:
  • Size: 18.5 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.2.tar.gz
Algorithm Hash digest
SHA256 1bd82c69ec4d58a5b3400f08f16f4c61c65340e37fb247858681b301b4a09b76
MD5 69e5d1ffc2e67da4ff6e04a472b324d6
BLAKE2b-256 37bb15979eec0d1b8877f62a4b858bcd439cc88423eda20abb76bb43f0a18797

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for autourgos_llmagentkit-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ed2d2b939d44f92a26ce77ca7be658e7792bcf9f671d897794e05dcbd4de80c7
MD5 866de90076af3dba38d8f7a5aa4f7172
BLAKE2b-256 0b3423c47664961c34beaef1c7ea0d8dd85d8d6075a2ce1cd46ffe27cc24a3e9

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