← 开源

Simple Agents Made Easy

AI EngineeringGive agent toolsBuild agent workflow (SDK)Ruby
增长势头
+024 小时新增 Star0.0%
615
Star
31
Fork
+0
本周
1
贡献者
创建于 2025-05-06 · 更新于 2026-11-26 · 今日第 20538 名
主要开发者
ToolKami
README

ToolKami - Simple Agents Made Easy

ToolKami is an open sourced "simple" framework with conceptually clear, independant parts that allows you to build and work seamlessly with AI agents. It comes with a Command Line Interface and curated Tools.

Command Line Interface (CLI)

toolkami CLI is a modified version of 's CEO Tobias try implementation. It extends the implementation with sandboxing capabilities and designed with functional core, imperative shell in mind.

Usage

NOTE: tk an alias of toolkami is available too.

Commands:

  • toolkami init [PATH]: Generate shell function
  • toolkami cd [QUERY]: Interactive selector
  • toolkami wt [NAME]: Create worktree from current repo
    • merge: Merge worktree changes back to parent repo
    • drop: Delete worktree and branch
  • toolkami sb: Run Docker sandbox from .toolkami/docker-compose.yml
    • build [--no-cache]: Build service image (pass Docker Compose flags like --no-cache)
    • exec [CMD...]: Exec into the sandbox container (defaults to interactive bash)

It is designed to support multiple, concurrent agent workflows:

Installation

curl -sL https://raw.githubusercontent.com/aperoc/toolkami/refs/heads/main/toolkami.rb > ~/.local/toolkami.rb

# Make "try" executable so it can be run directly
chmod +x ~/.local/toolkami.rb

# Add to your shell (bash/zsh)
echo >> ~/.zshrc # add new line
echo 'eval "$(ruby ~/.local/toolkami.rb init)"' >> ~/.zshrc

Framework

ToolKami's framework let deterministic tools and dynamic agents to work together seamlessly. It is designed on the premise of simplicity, composability and extensibility that scales nicely with LLM's increasing capability.

All the MCP servers can be distributed as a single file binary, thanks to UV script.

I have elaborated on default File and Shell tool in this blog post, along with what can be improved.

Installation

# Install UV

## OSX/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
## Windows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

# Start the MCP server
`./servers/__main__.py`

Use Cases

Google's AlphaEvolve: ToolKami style

A minimal implementation of AlphaEvolve using this framework with detailed writeup and code.

(Credits to https://deepmind.google/discover/blog/alphaevolve-a-gemini-powered-coding-agent-for-designing-advanced-algorithms/)

Social

排名相邻
同类项目

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载