Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ dependencies = [
"aiomysql>=0.3.2", # For async MySQL database (short term memory)
"opensearch-py==2.8.0",
"filetype>=1.2.0",
"agentkit-sdk-python"
]

[project.scripts]
Expand Down
12 changes: 7 additions & 5 deletions veadk/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,19 @@

import click

from veadk.cli.cli_agentkit import agentkit
from veadk.cli.cli_clean import clean
from veadk.cli.cli_create import create
from veadk.cli.cli_deploy import deploy
from veadk.cli.cli_eval import eval
from veadk.cli.cli_init import init
from veadk.cli.cli_create import create
from veadk.cli.cli_kb import kb
from veadk.cli.cli_pipeline import pipeline
from veadk.cli.cli_prompt import prompt
from veadk.cli.cli_web import web
from veadk.cli.cli_uploadevalset import uploadevalset
from veadk.cli.cli_update import update
from veadk.cli.cli_clean import clean
from veadk.cli.cli_rl import rl_group
from veadk.cli.cli_update import update
from veadk.cli.cli_uploadevalset import uploadevalset
from veadk.cli.cli_web import web
from veadk.version import VERSION


Expand Down Expand Up @@ -55,6 +56,7 @@ def veadk():
veadk.add_command(update)
veadk.add_command(clean)
veadk.add_command(rl_group)
veadk.add_command(agentkit)

if __name__ == "__main__":
veadk()
30 changes: 30 additions & 0 deletions veadk/cli/cli_agentkit.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Copyright (c) 2025 Beijing Volcano Engine Technology Co., Ltd. and/or its affiliates.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import click
from agentkit.toolkit.cli.cli import app as agentkit_typer_app
from typer.main import get_command


@click.group()
def agentkit():
"""AgentKit-compatible commands"""
pass


agentkit_commands = get_command(agentkit_typer_app)

if isinstance(agentkit_commands, click.Group):
for cmd_name, cmd in agentkit_commands.commands.items():
agentkit.add_command(cmd, name=cmd_name)