Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: inference-gateway/adk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.14.0
Choose a base ref
...
head repository: inference-gateway/adk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.15.0
Choose a head ref
  • 2 commits
  • 40 files changed
  • 4 contributors

Commits on Oct 14, 2025

  1. feat(toolbox): Implement CreateArtifact tool for autonomous artifact …

    …creation (#111)
    
    * Feat(toolbox): Implement CreateArtifact tool for autonomous artifact creation
    
    Adds a new `create_artifact` tool that allows LLMs to autonomously create 
    artifacts without requiring custom task handler implementation.
    
    Key features:
    - Environment variable configuration: `CAPABILITIES_CREATE_ARTIFACT=true`
    - Auto file-type detection based on content (JSON, HTML, XML, CSS, JS, MD, CSV, TXT)
    - Integration with existing artifact helper infrastructure
    - Comprehensive test coverage with 14 new test cases
    - Backward compatibility maintained for existing toolbox usage
    
    Usage:
    ```bash
    export CAPABILITIES_CREATE_ARTIFACT=true
    ```
    
    ```go
    agent := server.NewAgentBuilder(logger).
        WithDefaultToolBox(&config.CapabilitiesConfig{CreateArtifact: true}).
        Build()
    ```
    
    The tool accepts `content` and `type="url"` parameters, auto-detects file types,
    and returns downloadable URLs for created artifacts.
    
    Fixes #109
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-authored-by: Eden Reich <edenreich@users.noreply.github.com>
    
    * Refactor(toolbox): Remove capabilities-based CreateArtifact configuration and simplify API
    
    - Remove CreateArtifact from CapabilitiesConfig (not part of A2A spec)
    - Add EnableCreateArtifact to AgentConfig with AGENT_CLIENT_ENABLE_CREATE_ARTIFACT env var
    - Replace NewDefaultToolBoxWithCapabilities with NewDefaultToolBoxWithCreateArtifact 
    - Simplify AgentBuilder.WithDefaultToolBox to use AgentConfig.EnableCreateArtifact
    - Update all tests to use simplified API
    - Fix formatting issues causing CI failures
    - Regenerate mocks to reflect interface changes
    
    Co-authored-by: Eden Reich <edenreich@users.noreply.github.com>
    
    * refactor(agent_toolbox): Simplify context handling and improve error messages in executeCreateArtifact
    
    Signed-off-by: Eden Reich <eden.reich@gmail.com>
    
    * fix(toolbox): Require filename in create artifact tool and update related tests
    
    Signed-off-by: Eden Reich <eden.reich@gmail.com>
    
    * refactor(toolbox): Move all default tools registration to the toolbox for now
    
    Later we might be able to convert the toolbox to a tool orchestrator and manage it's execution patterns - sequential or parallel etc
    
    Signed-off-by: Eden Reich <eden.reich@gmail.com>
    
    * docs(examples): Add Artifacts Autonomous Tool server implementation
    
    - Introduced a new server for the Artifacts Autonomous Tool that allows an AI agent to autonomously create artifacts based on user requests.
    - Implemented configuration management via environment variables for server settings, agent details, and artifact storage options.
    - Integrated logging with zap for better debugging and monitoring.
    - Added support for streaming task handling, enabling real-time responses from the AI agent.
    - Established a graceful shutdown mechanism for the server and its components.
    
    Signed-off-by: Eden Reich <eden.reich@gmail.com>
    
    * refactor: Rename artifact storage to artifact service in server builder and task handlers
    
    - Updated A2AServerBuilder interface and implementation to replace WithArtifactStorage with WithArtifactService.
    - Refactored DefaultBackgroundTaskHandler and DefaultStreamingTaskHandler to use ArtifactService instead of ArtifactStorageProvider.
    - Adjusted context keys for dependency injection to reflect the change from ArtifactHelper to ArtifactService.
    
    Signed-off-by: Eden Reich <eden.reich@gmail.com>
    
    * refactor: Rename artifact_service.go to artifacts_service.go for consistency
    
    Signed-off-by: Eden Reich <eden.reich@gmail.com>
    
    * refactor: Rename artifactSvc to artifactService for consistency
    
    Signed-off-by: Eden Reich <eden.reich@gmail.com>
    
    ---------
    
    Signed-off-by: Eden Reich <eden.reich@gmail.com>
    Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
    Co-authored-by: Eden Reich <edenreich@users.noreply.github.com>
    3 people authored Oct 14, 2025
    Configuration menu
    Copy the full SHA
    5fe9bf3 View commit details
    Browse the repository at this point in the history
  2. chore(release): 🔖 0.15.0 [skip ci]

    ## [0.15.0](v0.14.0...v0.15.0) (2025-10-14)
    
    ### ✨ Features
    
    * **toolbox:** Implement CreateArtifact tool for autonomous artifact creation ([#111](#111)) ([5fe9bf3](5fe9bf3)), closes [#109](#109)
    ig-semantic-release-bot[bot] committed Oct 14, 2025
    Configuration menu
    Copy the full SHA
    e52c482 View commit details
    Browse the repository at this point in the history
Loading