Igniters-Week3 - Applied context engineering and a todo tracking tool to the Alex Researcher agent#98
Open
nsikanikpoh wants to merge 5 commits intoed-donner:mainfrom
Open
Igniters-Week3 - Applied context engineering and a todo tracking tool to the Alex Researcher agent#98nsikanikpoh wants to merge 5 commits intoed-donner:mainfrom
nsikanikpoh wants to merge 5 commits intoed-donner:mainfrom
Conversation
|
@nsikanikpoh I don't see any deployed link to the week 3 task |
Contributor
Author
@iamumarjaved I just added the service URL to the readme. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Week3 Exercise
Summary
Applied context engineering and a todo tracking tool to the Alex Researcher agent.
Changes
Added
compress_for_context()to cap analysis at 2000 chars before storing to prevent context window overflow.Updated
ingest_financial_documentto return type fromDicttostr— returns a minimal confirmation string so the agent does not re-read its own output back into the context window.Added
update_todotool to allow the agent to explicitly mark each research step as complete, failed, or skipped, reducing the chance of repeated or out-of-order work.Updated the
context.pyto include a todo template and integrated withget_agent_instructions().Updated the
server.pyto sync with the updatedtools.py.Changes GitHub Repo link and Service URL
Changes made to backend/researcher
Service URL
Screenshots showing how the Agent is making use of the update_todo tool