Skip to main content

Robust Modular Reasoning, Knowledge and Language agent that uses tools and retries on failure

Project description

robust-mrkl

A langchain agent that retries and utilizes a system prompt

Install

pip install rmrkl

Usage

from rmrkl import ChatZeroShotAgent, RetryAgentExecutor

tools = ...
llm = ..

agent = RetryAgentExecutor.from_agent_and_tools(
    tools=tools,
    agent=ChatZeroShotAgent.from_llm_and_tools(llm, tools),
    verbose=True,
)
agent.run(...)

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

rmrkl-0.0.3.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

rmrkl-0.0.3-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

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