Skip to main content

Library for creating LLM-based agents with tools and RAG

Project description

Fyodorov LLM Agents

GitHub Contributors GitHub Last Commit GitHub Issues GitHub Pull Requests

fyodorov_llm_agents is a Python library that provides tooling for creating LLM-based agents using arbitrary API providers (such as OpenAI). You can optionally provide those agents with tools (via ChatGPT style plugins) and search to perform Retrieval Augmented Generation (RAG).

This library is used in the FyodorovAI suite to create agents and provide them with tools and access to a search database.

# Importing the library
from fyodorov_llm_agents import create_agent, OpenAIProvider, Tool, DostoyevskyRAG
agent = create_agent(
    llm=OpenAIProvider(api_key="###"),
    tools = [
        Tool("https://example.com/.well-known/tool-name.json"),
    ],
    rag=[
        DostoyevskyRAG(endpoint="https://dostoyevsky.example.com"),
    ],
)

Installation

You can install fyodorov_llm_agents using pip:

pip install fyodorov-llm-agents==0.0.1

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

fyodorov_llm_agents-0.0.21.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

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

fyodorov_llm_agents-0.0.21-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file fyodorov_llm_agents-0.0.21.tar.gz.

File metadata

  • Download URL: fyodorov_llm_agents-0.0.21.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for fyodorov_llm_agents-0.0.21.tar.gz
Algorithm Hash digest
SHA256 ce1536a281455e5fb476306ebf030289f42216f7b0fdbd8ac14d37db4593ea6e
MD5 7fa4f35b9ba92dec43955dc3d6595697
BLAKE2b-256 fd7b9c7ed59e9767fcf322013cef7e71f8098dac60bcd9e0938b90bda24b62c1

See more details on using hashes here.

File details

Details for the file fyodorov_llm_agents-0.0.21-py3-none-any.whl.

File metadata

File hashes

Hashes for fyodorov_llm_agents-0.0.21-py3-none-any.whl
Algorithm Hash digest
SHA256 3601bedaa070788b71385a881ceaebe603e10f96f85773910306a7f78c4d08c7
MD5 6ee1dad1c0f58aabc29d48c8fd3a9311
BLAKE2b-256 be928b501bfbd418a84d9ae335241f80d7b95acc75bb39f3c5d1ed2237ea42f7

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