Skip to content

First-class Tools - #48

Merged
beansrowning merged 11 commits into
masterfrom
dev
Sep 22, 2026
Merged

beansrowning merged 11 commits into
masterfrom
dev

Conversation

@beansrowning

Copy link
Copy Markdown
Collaborator

Changes

  • Tool becomes first class, and gains some nice features that will help with constructing complex state machines, where the arguments to tools can change, and some may only become available under certain conditions
  • Class-defined Agent.TOOLS is deprecated, which should have happened a while back, but I kept it for a hack-y work around that I no longer need
  • (async_)agent_callable decorators get condition and definition_factory args, making it easier to define functions or parameters that change at runtime
  • Dependabot version bump of azure-identity

dependabot Bot and others added 11 commits September 11, 2026 18:26
Bumps [azure-identity](https://github.com/Azure/azure-sdk-for-python) from 1.16.0 to 1.16.1.
- [Release notes](https://github.com/Azure/azure-sdk-for-python/releases)
- [Commits](Azure/azure-sdk-for-python@azure-identity_1.16.0...azure-identity_1.16.1)

---
updated-dependencies:
- dependency-name: azure-identity
  dependency-version: 1.16.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
- Tools now get a class
- Ditching class-level definitions of TOOLS, which was probably an anti-pattern to begin with
- Updating unit tests (thanks codex)
- misc other things I forgot about

Co-authored-by: OpenAI Codex <codex@openai.com>
Co-authored-by: OpenAI Codex <codex@openai.com>
Co-authored-by: OpenAI Codex <codex@openai.com>
- Otherwise we'd trip over these and cause the agent to fail outright. Should be correctable.
Bump azure-identity from 1.16.0 to 1.16.1
@beansrowning
beansrowning merged commit 96c433b into master Sep 22, 2026
5 checks passed
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.

1 participant