Conversation
This change implements a ToolRegistry, containing a tool decorator, that is used to register MCP tools. The decorator infers a JSON schema from the input and output params of the decorated function. Additionally to support Splunk-specific needs, this change introduces a ToolContext, which tools can accept to gain access to additional functionalities. For now the ToolContext exposes a connection to the Splunk REST API, but in future we will add more functionalities there like: logging, tool cancellation, tool notifications and so on.
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.pre.beta to 6.0.1. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@71cf226...8e8c483) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6.0.0 to 6.1.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@e797f83...83679a8) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: 6.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5.0.0 to 6.0.0. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@330a01c...b7c566a) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: 6.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…ctions/upload-artifact-6.0.0 Bump actions/upload-artifact from 5.0.0 to 6.0.0
…ctions/checkout-6.0.1 Bump actions/checkout from 6.pre.beta to 6.0.1
…ctions/setup-python-6.1.0 Bump actions/setup-python from 6.0.0 to 6.1.0
Agentic Splunk Apps
* Add additional parameter support to Agents Added support for the `output_schema` field. This field controls the format that the Agent responds with. Currently we support only the pydantic models. But in the future we could support other types as well. For example json schemas, typed dicts etc * Support additional parameters in Agents * Add checkpointer to the langchain backend Thanks to this, the agent remembers things between different invokations. * Refactoring * Introduce AgentResponse to hold structured output * Add generics for the AgentResponse * Fix structured io * Improve generics * Fixes * Add comment explaining the structured response behavior * Fix test * BaseAgent private fields
This change makes the agent asynchronous, also removing asyncio.run from our Agentic code.
This also fixes a bug, we should not require the tools.py file for the remote tools to be loaded.
Ollama has an API that's compatible with OpenAI so it can be still used, but via the OpenAIModel instead
This change adds few E2E tests, that make sure that out code works inside of an App properly. Such tests are defined using a Custom REST endpoint, as it is the simplest way to execute some custom code on demand in the App.
For now we use the service only for mcp tool loading (when it is requested), but in future we might want to add other stuff, say telemetry, that will require a functional service object to be always available, so lets enforce it now, to avoid breakage in future.
It seems like I have left this unintentionally in 302befb.
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6.1.0 to 6.2.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@83679a8...a309ff8) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: 6.2.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.1 to 6.0.2. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@8e8c483...de0fac2) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…actions/checkout-6.0.2 Bump actions/checkout from 6.0.1 to 6.0.2
…actions/setup-python-6.2.0 Bump actions/setup-python from 6.1.0 to 6.2.0
This change adds a README that explain all the stuff we have in the Agentic SDK part. It lists all features with a simple code snippet. The snippets are intentionally minimal and may not be fully valid Python. They as are meant to progressively introduce and explain the core ideas and abstractions in the SDK.
In the README, we modified the request within a middleware, which is a bad practice. Middleware should treat the request as immutable, since middleware earlier in the chain may depend on the original request state. And to avoid such mistakes, lets make all middleware-related types read-only.
CLAUDE.md points to AGENTS.md. AGENTS.md contains actual guidance for Agents.
* Revamp tool settings * Make tags non-optional * Replace unittest.skipTest() with pytest.skip() * Match typehint for tool.tags with the LangChain StructuredTool * Remove defaults from ToolSettings * Fix tests, duplication in README * Update README
…#141) - Add reproducer tool that returns a dict - Fix the bug
* Update CI/CD workflows * Extract all shared CI steps into a single action * Add missing newline * Adjust lint stage name so it's actually discernable in GH web UI * Move actions/checkout back * Uncomment commented steps * Revert step name change
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.
No description provided.