Repository navigation
Feature/116 modularization - #152
Merged
Merged
Conversation
…, still testing, working through examples
…multimodal instructor version, updating upgrade doc
…les with new import paths
…ding transcription lib dependency to 1.1.1, fix was necessary
…sue, updating imports for youtube to recipe
…ectors will include subdirs for mcp and future use cases like agent to agent. updating mcp-agent examples with new imports, new inits, updating SystemPromptContextProviderBase -> BaseDynamicContextProvider. Updating readme examples and example_clients to launch with universal launcher
…ntextproviderbase to basedynamiccontextprovider
…youtube-transcript-api to version 1.1.1 to handle errors
…> BaseDynamicContextProvider
Eigenwise
approved these changes
Jul 21, 2025
Owner
|
Woohooo!! @jon-fox Thanks a ton, I'll try to find some time ASAP to play around with it a bit & make sure there's no obvious bugs in 🎉🎉🎉 |
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.
My Summary
addresses #116 Improve modularization
Summary and import upgrades included in UPGRADE_DOC.md
Core abstractions are re exported at the package root
from atomic_agents import BaseAgent, BaseTool, BaseIOSchema, …(instead of
atomic_agents.lib.*)Directory cleanup
components/→context/factories/→connectors/withconnectors.mcpfor MCP toolsClass rename:
SystemPromptContextProviderBase→BaseDynamicContextProviderOld paths removed → breaking change; version set to v2.0.0
Updated youtube api scraper to 1.1.1 to address errors
jdepoix/youtube-transcript-api#429
Updated atomic-examples and atomic-forge poetry dependences using
poetry update atomic-agentswhile testing to ensure all examples and forges work as expected.Updated the doc md files to reflect the new import structure
GITHUB COPILOT SUMMARY
This pull request introduces a major refactor to the Atomic Agents library, focusing on simplifying import paths, reorganizing the package structure, and improving code clarity. The changes include breaking changes to import paths, renaming classes for better readability, and reorganizing modules into more intuitive packages. Additionally, version 2.0.0 introduces updates to dependencies and documentation to guide users through the migration process.
Simplified Import Paths and Package Reorganization:
The
.libdirectory has been eliminated, and imports are now shorter and cleaner. Core classes are re-exported fromatomic_agents, while components have been moved tocontext, and factories toconnectorswith MCP-specific functionality underconnectors.mcp.New
__init__.pyfiles were added to re-export relevant classes and functions for better package organization. Examples includeatomic_agents/__init__.py,atomic_agents/agents/__init__.py, andatomic_agents/context/__init__.py.Class Renaming and API Consistency:
SystemPromptContextProviderBasehas been renamed toBaseDynamicContextProviderfor improved clarity. All references to the old class name have been updated.Context providers in
SystemPromptGeneratornow use the updatedBaseDynamicContextProvidertype.Documentation Updates:
UPGRADE_DOC.md) has been added to help users migrate to the new import paths and understand the breaking changes. This includes examples of before-and-after import patterns and the benefits of the new structure.Dependency and Version Updates: