Skip to content

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
nsikanikpoh:week3
Open

Igniters-Week3 - Applied context engineering and a todo tracking tool to the Alex Researcher agent#98
nsikanikpoh wants to merge 5 commits intoed-donner:mainfrom
nsikanikpoh:week3

Conversation

@nsikanikpoh
Copy link
Copy Markdown
Contributor

@nsikanikpoh nsikanikpoh commented Apr 16, 2026

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_document to return type from Dict to str — returns a minimal confirmation string so the agent does not re-read its own output back into the context window.

  • Added update_todo tool 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.py to include a todo template and integrated with get_agent_instructions().

  • Updated the server.py to sync with the updated tools.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

Screenshot from 2026-04-16 14-14-23 Screenshot from 2026-04-16 14-17-47

@iamumarjaved
Copy link
Copy Markdown

@nsikanikpoh I don't see any deployed link to the week 3 task

@nsikanikpoh
Copy link
Copy Markdown
Contributor Author

@nsikanikpoh I don't see any deployed link to the week 3 task

@iamumarjaved I just added the service URL to the readme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants