Releases: nerdai/llm-agents-from-scratch
Releases · nerdai/llm-agents-from-scratch
v0.0.10
What's Changed
- [docs] Add eval report for evaluation of final result outcomes by @nerdai in #105
- [docs] Add trajectory evaluation
hailstone.ipynb
by @nerdai in #106 - [chore] Changelog update by @nerdai in #107
- [docs] Add Qwen2.5-72b run to
hailstone.ipynb
by @nerdai in #108 - [chore] Add runpod.sh to .gitignore by @nerdai in #109
- [docs] Store previous runs in a separate section in
hailstone.ipynb
by @nerdai in #110 - [docs] Book version of
hailstone.ipynb
by @nerdai in #111 - Bump the all-python-packages group with 5 updates by @dependabot[bot] in #113
- [chore] better docstring for
LLMAgent
to match book text's language of LLM agent equipping tools to the LLM by @nerdai in #114 - [Feature] Add
LLMAgentTemplates
and add as an attribute toLLMAgent
by @nerdai in #117 - [version] bump version to v0.0.9 by @nerdai in #118
- [Feature] Add
id_
toToolCall
andtool_call_id
toToolCallResult
by @nerdai in #119 - Bump actions/checkout from 4 to 5 by @dependabot[bot] in #121
- Bump the all-python-packages group with 5 updates by @dependabot[bot] in #120
- [chore] Add deepwiki badge to README by @nerdai in #122
- Rename
continue_conversation_with_tool_results
tocontinue_chat_with_tool_results
by @nerdai in #123 - [chore] fix docstring for
continue_chat_with_tool_results
by @nerdai in #124 - Add host param to
OllamaLLM
construction to properly connect the internalAsyncClient
to it. by @nerdai in #125 - Remove
return_history
param inOllamaLLM.chat()
by @nerdai in #126 - [chore]
OllamaLLM.chat
docstring cleanup by @nerdai in #127 - [chore] README additions by @nerdai in #128
- Bump the all-python-packages group with 3 updates by @dependabot[bot] in #129
- Add
Tool
type alias forBaseTool | AsyncBaseTool
by @nerdai in #131 - Add
LLM
alias forBaseLLM
by @nerdai in #132 - [book-figures] Add
uml
folder to house D2 scripts by @nerdai in #133 - [book-figures] Use plantuml instead by @nerdai in #134
- [book-figures]
LLMAgent
UML sequence plantuml by @nerdai in #135 - [book-figures] Chapter 1 mindmap by @nerdai in #137
- [book-figure] Add thick border to root node in ch01 mindmap by @nerdai in #138
- [book-figures] Adjust to use manning specified fonts by @nerdai in #139
- [chore] Rip out black formatter by @nerdai in #140
- [book-diagrams] Add
BaseTool
andAsyncBaseTool
UML class diagrams by @nerdai in #141 - Bump ruff from 0.12.9 to 0.12.10 in the all-python-packages group by @dependabot[bot] in #142
- [book-diagrams] Update font sizes to better match Canva when importing for annotation by @nerdai in #149
- Bump ncipollo/release-action from 1.18.0 to 1.19.1 by @dependabot[bot] in #153
- Bump ruff from 0.12.10 to 0.12.11 in the all-python-packages group by @dependabot[bot] in #154
- [book diagrams] UML basics diagrams for Chapter 1 by @nerdai in #158
- Bump actions/setup-python from 5 to 6 by @dependabot[bot] in #162
- [Book Diagrams] Add more specific relations to ch2 class diagrams by @nerdai in #167
- [book diagrams] Add inherits annotation in UML class diagrams for Chapter 2 by @nerdai in #169
- [book diagrams] Fix inheritance arrows by @nerdai in #170
- Bump pypa/gh-action-pypi-publish from 1.12.4 to 1.13.0 in /.github/workflows by @dependabot[bot] in #171
- Bump ncipollo/release-action from 1.19.1 to 1.20.0 by @dependabot[bot] in #161
- Bump pypa/gh-action-pypi-publish from 1.12.4 to 1.13.0 by @dependabot[bot] in #160
- Bump the all-python-packages group with 4 updates by @dependabot[bot] in #159
- Bump the all-python-packages group with 5 updates by @dependabot[bot] in #176
- [Book Diagrams] Add simple function tools UML class diagrams by @nerdai in #179
- refactor: Store custom desc in
_desc
forSimpleFunctionTool
andAsyncSimpleFunctionTool
. by @nerdai in #181 - [feat] More specific error handling with simple function tools by @nerdai in #184
- version: bump version to v0.0.10 by @nerdai in #186
Full Changelog: v0.0.8...v0.0.10
v0.0.8
What's Changed
- Remove unnecessary
with_task_id
fromTaskStep
andTaskResult
by @nerdai in #95 - Improved rollout prints by @nerdai in #96
- Add 72b output to
hailstone.ipynb
by @nerdai in #98 - [Feature] Add max message length to log messages by @nerdai in #99
- Add task demarcation in rollout and better tool call requests formats by @nerdai in #100
- [docs] Add simple benchmark and llm as judge for
hailstone.ipynb
by @nerdai in #102 - [Feat] Add
TaskHandler.step_counter
by @nerdai in #103 - [version] bump version to v0.0.8 by @nerdai in #104
Full Changelog: v0.0.7...v0.0.8
v0.0.7
What's Changed
- Change param name for BaseLLM.continue_conversation_with_tool_call_results by @nerdai in #87
- Bump jsonschema from 4.24.0 to 4.25.0 in the all-python-packages group by @dependabot[bot] in #86
- Improve
NextStepDecision
structure to allow for only next_step or task_result by @nerdai in #88 - [docs] Add
hailstone.ipynb
notebook by @nerdai in #90 - [Feature] Add
max_steps
toLLMAgent.run
and set handler result toMaxStepsReachedError
by @nerdai in #91 - Remove
TaskHandlerResult
and useTaskResult
directly. by @nerdai in #93 - [version] bump version to v0.0.7 by @nerdai in #94
Full Changelog: v0.0.6...v0.0.7
v0.0.6
What's Changed
- Rename core to llm_agent by @nerdai in #74
- [chore] Rm tool registry attr from LLMAgent docstring by @nerdai in #75
- [Fix] Move check for previous_step_result at top of method by @nerdai in #76
- Add
with_task_id()
toTaskStep
andTaskResult
by @nerdai in #77 - [chore] Remove unnecessary task-id from get_next_step format by @nerdai in #78
- Remove
TaskHandler._lock
since we actually don't need it by @nerdai in #79 - Update CHANGELOG.md by @nerdai in #80
- Use templates for
_rollout_contribution_from_single_run_step
by @nerdai in #81 - Refactor: Change
LLMAgent.run
helper method_run
name to_process_loop
by @nerdai in #83 - Update
BaseLLM.chat
andBaseLLM.continue_conversation_with_tool_call_results
for better consistency by @nerdai in #84 - [version] bump version to v0.0.6 by @nerdai in #85
Full Changelog: v0.0.5...v0.0.6
v0.0.5
What's Changed
- [version] bump version to v0.0.3.post1 for Zenodo by @nerdai in #58
- [chore] Add DOI thru Zenodo; and CITATION.cff by @nerdai in #59
- Add str implementation of CompleteResult by @nerdai in #60
- [Feature] Add
ChatMessage.from_tool_call_result
factory method. by @nerdai in #61 - Use
param.kind
when passing args and kwargs in introspection of function signatures by @nerdai in #62 - [Fix]
AsyncPydanticFunctionTool
should inherit fromAsyncBaseTool
by @nerdai in #63 - [Fix]
LLMAgent.tools
should be list ofBaseTool | AsyncBaseTool
by @nerdai in #64 - Add tool registry to LLMAgent for ensuring no duplication of tools by @nerdai in #65
- [version] bump version to v0.0.4 by @nerdai in #66
- Add ids to
Task
,TaskStep
, and results by @nerdai in #67 - [chore] Docstrings update for
Task
,TaskStep
by @nerdai in #68 - Remove
error
fromTaskResult
and renameGetNextStep
toNextStepDecision
by @nerdai in #69 - Add
__str__
toTaskStepResult
by @nerdai in #70 - Nest
TaskHandler
withinLLMAgent
by @nerdai in #72 - [version] bump version to v0.0.5 by @nerdai in #73
Full Changelog: v0.0.3...v0.0.5
v0.0.3.post1
What's Changed
Full Changelog: v0.0.3...v0.0.3.post1
v0.0.3
What's Changed
- [cookbook] Add
OllamaLLM
notebook by @nerdai in #42 - Add flat-style import patterns by @nerdai in #44
- Rip out
OllamaLLM
from top level import by @nerdai in #45 - [Fix] TaskHandler.run_step bug where tool names passed to
llm.chat
by @nerdai in #46 - [cookbook] Add tool calling to OllamaLLM nb by @nerdai in #47
- Bump ncipollo/release-action from 1.16.0 to 1.18.0 by @dependabot in #48
- [Feature] Add library logger by @nerdai in #50
- [Fix] Task handler bug with wrong order of system message by @nerdai in #51
- new templates; use qwen; and quasi working agent by @nerdai in #52
- Improved agent processing loop and logger module by @nerdai in #54
- [Refactor] Rename
core
toagent
by @nerdai in #55 - [version] bump version to v0.0.3 by @nerdai in #56
New Contributors
- @dependabot made their first contribution in #48
Full Changelog: v0.0.2...v0.0.3
v0.0.2
What's Changed
- [Feature] Add
PydanticFunctionTool
by @nerdai in #28 - [Feature] Add
AsyncPydanticFunctionTool
by @nerdai in #30 - [Feature] Add
BaseLLM.structured_output()
interface and implement it forOllamaLLM
. by @nerdai in #34 - [Feature] Implement
TaskHandler.get_next_step()
as a structured output call by @nerdai in #33 - [Feature] Implement
TaskHandler.run_step
by @nerdai in #35 - [Feature] Add
return_history
param tochat
andcontinue_conversation_with_tool_results
by @nerdai in #38 - [Fix] Update
TaskHandler.run_step
to work with the newcontinue_conversation_with_tool_results
interface. by @nerdai in #39 - [version] bump version to v0.0.2 by @nerdai in #40
Full Changelog: v0.0.1...v0.0.2
v0.0.1
What's Changed
- Create dependabot.yml by @nerdai in #2
- [Feature] Add core and base modules by @nerdai in #1
- add tool test by @nerdai in #3
- [chore] fix unit test action -- coverage not reporting by @nerdai in #4
- [chore] add some badges to README by @nerdai in #5
- Add
LLMAgent.run()
and required data structures by @nerdai in #6 - [Feature] Add function calling by @nerdai in #8
- [chore] Ruff formatting + Google docstrings by @nerdai in #10
- [Feature] Implement base tool by @nerdai in #12
- [Feature] Ollama integration:
OllamaLLM
by @nerdai in #11 - [Feature] Add add tools to chat request for
OllamaLLM
and required utils by @nerdai in #14 - [Feature] Add
FunctionTool
by @nerdai in #16 - [Feature] Implements
__call__
forFunctionTool
. by @nerdai in #18 - [chore] Rename to SimpleFunctionTool by @nerdai in #19
- [Feature] Add
AsyncSimpleFunctionTool
by @nerdai in #20 - [chore] Add release gha by @nerdai in #23
- [chore] Fix GHA for releases by @nerdai in #24
- Create LICENSE by @nerdai in #25
- [version] bump version to v0.0.1 by @nerdai in #26
New Contributors
Full Changelog: https://github.com/nerdai/llm-agents-from-scratch/commits/v0.0.1