AgentStack
MCP verified MPL-2.0 Self-run

Go Calque

mcp-calque-ai-go-calque · by calque-ai

A composable multi-agent AI framework for Go that makes it easy to build production-ready AI applications.

No reviews yet
0 installs
22 views
0.0% view→install

Install

$ agentstack add mcp-calque-ai-go-calque

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README — it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-calque-ai-go-calque)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming — see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps — measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Go Calque? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Go-Calque

A composable AI agent framework for Go that makes it easy to build production-ready AI applications.

Developed by Calque AI_

The Problem

Building AI apps in Go means wrestling with:

  • Provider lock-in - Switching between OpenAI, Gemini, or local models requires rewriting code
  • Conversation state - Managing chat history and context windows across requests
  • Tool calling - Connecting AI to your Go functions with proper error handling
  • Structured outputs - Getting reliable JSON responses that match your types
  • RAG pipelines - Coordinating document retrieval, embedding, and generation

Go-Calque solves these with a simple, composable middleware pattern that feels native to Go.

Installation

go get github.com/calque-ai/go-calque

Quickstart

package main

import (
    "context"
    "fmt"
    "log"

    "github.com/calque-ai/go-calque/pkg/calque"
    "github.com/calque-ai/go-calque/pkg/middleware/ai"
    "github.com/calque-ai/go-calque/pkg/middleware/ai/ollama"
)

func main() {
    client, err := ollama.New("llama3.2:3b")
    if err != nil {
        log.Fatal(err)
    }

    flow := calque.NewFlow().Use(ai.Agent(client))

    var result string
    err = flow.Run(context.Background(), "What's the capital of France?", &result)
    if err != nil {
        log.Fatal(err)
    }
    fmt.Println(result)
}

Three lines to set up, one line to run.

What You Can Build

Chatbot with Memory

convMem := memory.NewConversation()

flow := calque.NewFlow().
    Use(convMem.Input(userID)).
    Use(ai.Agent(client)).
    Use(convMem.Output(userID))

AI with Tool Calling

calculator := tools.Simple("calc", "Math", calcFn)
weather := tools.Simple("weather", "Weather", weatherFn)

flow := calque.NewFlow().
    Use(ai.Agent(client, ai.WithTools(calculator, weather)))

Structured Output

flow := calque.NewFlow().
    Use(ai.Agent(client, ai.WithSchema(&MyType{})))

var result MyType
flow.Run(ctx, "Analyze this", convert.FromJSONSchema(&result))

RAG Pipeline

flow := calque.NewFlow().
    Use(retrieval.VectorSearch(store, opts)).
    Use(prompt.Template(ragTemplate)).
    Use(ai.Agent(client))

📖 [See Getting Started Guide →](docs/getting-started.md)

Why Go-Calque?

| Challenge | Raw SDK | Go-Calque | | ----------------------- | -------------------------- | ---------------------------------------- | | Provider switching | Rewrite API calls | Change one line: ollama.New()openai.New() | | Conversation memory | Manual state management | convMem.Input() / convMem.Output() | | Tool calling | Parse, match, handle errors| ai.WithTools(...) - automatic | | Structured output | Hope AI follows instructions| ai.WithSchema() - guaranteed types | | Retries & fallbacks | Custom logic | ctrl.Retry(), ctrl.Fallback() |

Features

Core

  • [AI Agents](docs/middleware.md#ai-agents) - OpenAI, Gemini, Ollama with unified interface
  • [Tool Calling](docs/middleware.md#tool-integration) - Auto-discovery and execution of Go functions
  • [Memory](docs/middleware.md#memory) - Conversation history with configurable limits

Data Processing

  • [RAG & Retrieval](docs/middleware.md#retrieval) - Vector search, context building, semantic filtering
  • [Converters](docs/middleware.md#converters) - JSON, YAML, Protobuf, JSONSchema, SSE
  • [Flow Control](docs/middleware.md#flow-control) - Retry, timeout, fallback, parallel, chain

Production

  • [Observability](docs/middleware.md#observability) - Metrics, tracing, health checks, structured logging
  • [MCP Support](docs/middleware.md#mcp) - Model Context Protocol client
  • [Multi-Agent](docs/middleware.md#multi-agent) - Agent routing and load balancing

📖 [See Full Middleware Reference →](docs/middleware.md)

Performance

Go-Calque is built for production AI workloads where LLM latency dominates.

| Metric | Value | |--------|-------| | Framework Overhead |

Star History

License

Mozilla Public License 2.0 - see [LICENSE](LICENSE) file for details.

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.