Skip to content

Releases: fwdai/regent

Fix dependency loading

Choose a tag to compare

@alchaplinsky alchaplinsky released this 08 Feb 08:37
0a6f578

Changes

  • Fix missing faraday dependency
  • Update dependency loading in dependable concern

Support Ollama and OpenRouter

Choose a tag to compare

@alchaplinsky alchaplinsky released this 08 Feb 08:00
9d5b650

Changes

  • Add Regent::LLM::Ollama provider to use local LLMs
  • Add Regent::LLM::OpenRouter provider
  • Allow defining tool functions on the agent itself:
class MyAgent < Regent::Agent
  tool :my_tool, "Tool description"
  
  def  my_tool
    # call tool
  end
end

Improve tool calling

Choose a tag to compare

@alchaplinsky alchaplinsky released this 04 Jan 18:42
edaa5ce
  • Update ReAct agent system prompt to return Action in JSON format
  • Allow Tool to accept multiple arguments
  • Extract logic potential common for different engines into Regent::Engine::Base
  • Update LLM interface:
    • Add strict_mode optional argument
  • Update Agent interface:
    • execute method renamed to run
    • llm argument renamed to model
    • Add engine optional argument for future use with different engine

Full Changelog: v0.3.1...v0.3.2

Fix logger and improve test coverage

Choose a tag to compare

@alchaplinsky alchaplinsky released this 29 Dec 12:09
e89aaf6

Full Changelog: v0.3.0...v0.3.1

Implement LLM class and update interfaces

Choose a tag to compare

@alchaplinsky alchaplinsky released this 28 Dec 10:59
5c2e5cd
  • LLMs can now be instantiated with Regent::LLM.new("gpt-4o-mini")
  • Agent supports purpose Regent::Agent.new("You are a weather assistant", llm: llm)

Basic agent version

Choose a tag to compare

@alchaplinsky alchaplinsky released this 25 Dec 21:11
19945a3
v0.2.0

Update README.md