Controlled tool use
Only registered tools are available to the model. Each tool requires an explicit permission grant.
AgentForge is a lightweight Go runtime for model-driven tool execution. It gives AI models a controlled way to use practical business tools—with bounded execution, validated inputs, and permissions that default to deny.
A focused foundation for building AI-assisted workflows without starting with a large platform or opaque automation layer.
Only registered tools are available to the model. Each tool requires an explicit permission grant.
Limits model/tool turns and supports context cancellation and execution timeouts.
Tool arguments and results are checked against the project's supported JSON Schema subset.
A small provider interface separates orchestration from the current OpenAI Responses API adapter.
Deterministic text and CSV analysis can run directly from the CLI without a model API key.
Go tests cover provider behavior, tool execution, validation, and permission enforcement.
The model proposes a tool call; the runtime validates and authorizes it before execution.
The current tools are intentionally small, deterministic, and easy to inspect.
Confirms the basic tool-call path with a simple response.
Word, Unicode character, line, and estimated reading-time metrics.
Rows, columns, missing cells, and numeric-column summaries.
Won/lost/open counts, closed-lead win rate, estimated values, and stage/source breakdowns.
Run the synthetic CRM example from the repository. No hosted service or paid model call is needed for this direct tool execution.
git clone https://github.com/matteojose3112-bit/agentforge.git cd agentforge go test ./... go run ./cmd/agentforge -tool lead_pipeline_analyze -input-file examples/lead_pipeline_analysis.json
{
"total_leads": 8,
"won_leads": 1,
"lost_leads": 1,
"open_leads": 6,
"win_rate_percent": 50,
"total_estimated_value": 63700,
"open_pipeline_value": 44500
}AgentForge is an evolving developer project, currently focused on a dependable tool runtime and business-relevant examples.
AgentForge demonstrates controlled model-to-tool orchestration and deterministic local analysis. It is an early-stage foundation, not a production-ready autonomous platform.