#codegen #proc-macro #rest #mcp

macro universal-tool-macros

Procedural macros for Universal Tool Framework - generate CLI, REST, and MCP interfaces

7 releases

Uses new Rust 2024

new 0.1.6 Oct 16, 2025
0.1.5 Oct 7, 2025
0.1.3 Sep 23, 2025
0.1.2 Aug 16, 2025

#2882 in Procedural macros

Download history 130/week @ 2025-08-06 251/week @ 2025-08-13 39/week @ 2025-08-20 9/week @ 2025-09-03 17/week @ 2025-09-10 93/week @ 2025-09-17 109/week @ 2025-09-24 347/week @ 2025-10-01 138/week @ 2025-10-08

689 downloads per month
Used in 4 crates (via universal-tool-core)

MIT license

145KB
3K SLoC

Agentic Auxiliary Tools

Development tools for enhanced AI agent workflows.

Tools

🔀 Thoughts Tool

Unified filesystem for organizing documentation across git repositories using mergerfs/fuse-t.

  • Merge multiple repositories into single mountpoint
  • Automatic git synchronization
  • Cross-platform (Linux/macOS)

🛠️ Universal Tool Framework

Write tool logic once, deploy as CLI/REST/MCP without code changes.

  • Zero-overhead code generation
  • Type-safe interfaces
  • Framework agnostic

🤖 ClaudeCode-RS

Rust SDK for programmatically interacting with Claude Code CLI.

  • Type-safe event streaming
  • Async-first API design
  • MCP (Model Context Protocol) support
  • Builder pattern configuration

🧠 GPT-5 Reasoner

Two-phase prompt optimization tool: optimize with Claude, execute with GPT-5.

  • Directory-based file discovery with smart filtering
  • Dual CLI and MCP interfaces
  • Configurable optimizer model (default: Claude Sonnet 4.5)
  • Automatic binary file detection and deduplication

Quick Start

# Clone repository
git clone https://github.com/allisoneer/agentic_auxilary
cd agentic_auxilary

# Build thoughts_tool
cd thoughts_tool && make build

# Build universal_tool
cd universal_tool && cargo build --workspace

# Build claudecode_rs
cd claudecode_rs && make build

# Build gpt5_reasoner
cd gpt5_reasoner && make build

Installation

Install thoughts_tool from crates.io

cargo install thoughts-tool

Use universal_tool in your project

[dependencies]
universal-tool-core = "0.2.1"
universal-tool-macros = "0.1.4"

Use claudecode in your project

[dependencies]
claudecode = "0.1.4"

Install gpt5_reasoner

cargo install gpt5_reasoner

Install pr_comments

cargo install pr_comments

Quick example (ClaudeCode):

use claudecode::{Client, SessionConfig};

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let client = Client::new().await?;
    let config = SessionConfig::builder("Hello, Claude!")
        .build()?;
    let result = client.launch_and_wait(config).await?;
    println!("{:?}", result.content);
    Ok(())
}

License

MIT - See LICENSE


lib.rs:

Universal Tool Framework (UTF) Procedural Macros

This crate provides the procedural macros that power UTF's code generation. Users should depend on universal-tool-core, not this crate directly.

See parser.rs for detailed documentation on the feature propagation system.

Dependencies

~0.5–1MB
~21K SLoC