Changelog
All notable changes to the MCP AI Agent project will be documented in this file.
[0.0.12] - 2023-07-02
Breaking Changes
- Renamed
MCPAgent
class toAIAgent
for improved clarity - Changed constructor signature to use a configuration object instead of positional parameters
- Moved default model specification to agent level instead of requiring it on each request
New Features
- Added
generateObject
method to produce structured output using Zod schemas - Added CrewStyleHelpers for creating crew-based agent workflows similar to Crew AI pattern
- Added verbose mode for debugging agent operations
- Added support for custom tool definitions directly within agent configuration
- Added system prompt integration for specialized agent behaviors
- Added default model support to simplify multi-agent systems
- Added function-based tool handlers
Enhancements
- Improved agent configuration with a single config object containing all settings
- Enhanced sub-agent interaction with better context management and error handling
- Added support for passing context when delegating to sub-agents
- Improved type safety with better TypeScript types
- Enhanced logging with verbose mode option
Dependencies
- Added
zod-to-json-schema
package to support schema conversion
Documentation
- Updated README with new API usage patterns
- Added examples for custom tools, CrewAI-style workflows, and schema-based responses
- Updated all code examples to use the new configuration object format
Internal Changes
- Refactored agent implementation for better maintainability
- Added more comprehensive end-to-end testing
- Enhanced error handling and logging throughout the codebase
Full Changelog: v0.0.11...v0.0.12