Skip to content

Add conversation engine tool profiles#229

Merged
roackb2 merged 1 commit into
mainfrom
codex/conversation-engine-tool-profile
Jul 11, 2026
Merged

Add conversation engine tool profiles#229
roackb2 merged 1 commit into
mainfrom
codex/conversation-engine-tool-profile

Conversation

@roackb2

@roackb2 roackb2 commented Jul 11, 2026

Copy link
Copy Markdown
Owner

What changed

  • add an engine-level toolProfile option to createConversationEngine
  • propagate the profile through normalized engine and turn configuration
  • use the host profile by default while preserving custom-agent profile precedence
  • export RuntimeToolSelectionProfile from the package entrypoint
  • document model-visible memory tools separately from memory maintenance scheduling

Why

Programmatic hosts could configure post-turn memory maintenance, but they could not control the default tools exposed to the model. As a result, disabling memory maintenance did not remove tools such as memory_checkpoint.

This change reuses Heddle's existing runtime tool-profile policy instead of adding host-specific filtering.

Impact

Existing engines keep the current default tool bundle. Hosts can now disable memory tools while retaining other defaults:

toolProfile: {
  preset: 'default',
  memoryMode: 'none',
}

A selected custom agent still owns its per-turn tool profile and overrides the engine default.

Validation

  • yarn lint
  • yarn build
  • yarn test — 613 unit tests and 285 integration tests passed
  • verified no private integration names were added to the public repository

@roackb2 roackb2 marked this pull request as ready for review July 11, 2026 03:15
@roackb2 roackb2 merged commit ba21ce3 into main Jul 11, 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