Skip to content

Start towards the new agent loop framework#60

Merged
msullivan merged 2 commits into
mainfrom
new-agent
May 1, 2026
Merged

Start towards the new agent loop framework#60
msullivan merged 2 commits into
mainfrom
new-agent

Conversation

@msullivan

@msullivan msullivan commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

This adds ToolRunner, a context.keep_running() function and a
context.add() function to register messages.

I'm happy to merge this now and keep iterating. Next step is to change
how tool calls get reported out so we can rip that FIXME out, and then
we can start ripping out the auto-history.

@msullivan msullivan requested a review from anbuzin April 29, 2026 23:36
@vercel

vercel Bot commented Apr 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
py-ai Ready Ready Preview, Comment May 1, 2026 6:20pm

Request Review

Comment thread examples/samples/agent_custom_loop.py Outdated
Comment thread examples/samples/agent_custom_loop.py Outdated
Comment thread src/ai/types/messages.py
@msullivan msullivan changed the title [WIP] Work towards new Agent setup Start towards the new agent loop framework May 1, 2026
This adds ToolRunner, a context.keep_running() function and a
context.add() function to register messages.

I'm happy to merge this now and keep iterating. Next step is to change
how tool calls get reported out so we can rip that FIXME out, and then
we can start ripping out the auto-history.
@anbuzin anbuzin self-requested a review May 1, 2026 18:28
@anbuzin

anbuzin commented May 1, 2026

Copy link
Copy Markdown
Collaborator

lgtm

@msullivan msullivan merged commit 32d59c6 into main May 1, 2026
7 checks passed
@msullivan msullivan deleted the new-agent branch May 1, 2026 20:39
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