1. Conduid
  2. AI
  3. Goai
MCP server · AI

Goai

Go AI SDK, the Go way. One unified API across 21+ providers. Streaming, structured output, MCP support, stdlib only. Go AI SDK for AI applications inspired by Vercel AI SDK.

56Fair

Scored 6 days ago · breakdown

About Goai

Goai is an MCP server published by shaharia-lab in the AI category: go AI SDK, the Go way. One unified API across 21+ providers. Streaming, structured output, MCP support, stdlib only. Go AI SDK for AI applications inspired by Vercel AI SDK.

The repository has 10 stars and 2 forks, with the last commit a month ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/shaharia-lab/goai

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Goai

Powered by Claude · Grounded in docs

I know everything about Goai. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

3 checks have not been run yet.

Releases

v0.20.0v0.20.0 · 12 Jul 2026What's Changed ✨ Features anth2oai**: OpenAI-compatible facade over the Anthropic endpoints (#74) 🐛 Fixes Make SSE client teardown idempotent, fixing an intermittent `close of closed channel` panic under concurrent disconnects (#77)…
v0.19.2v0.19.2 · 2 Jun 2025What's Changed Fix example imports and add mcp-tools dependency by @shahariaazam in https://github.com/shaharia-lab/goai/pull/64 Update max iterations handling and default configuration by @shahariaazam in…
v0.19.1v0.19.1 · 6 May 2025What's Changed lists handling in MCP server by @shahariaazam in https://github.com/shaharia-lab/goai/pull/63 Full Changelog**: https://github.com/shaharia-lab/goai/compare/v0.19.0...v0.19.1
v0.19.0v0.19.0 · 27 Apr 2025What's Changed Adding metadata for chat history type by @shahariaazam in https://github.com/shaharia-lab/goai/pull/58 Improve logging by @shahariaazam in https://github.com/shaharia-lab/goai/pull/61 Full Changelog**:…
v0.18.0v0.18.0 · 21 Apr 2025What's Changed Test bedrock client by @shahariaazam in https://github.com/shaharia-lab/goai/pull/55 Improve bedrock example by @shahariaazam in https://github.com/shaharia-lab/goai/pull/56 Added support for AWS Bedrock embedding provider…

README

🚀 GoAI

AI Package Banner

Go Reference CI Status Go Report Card codecov Quality Gate Status Reliability Rating Security Rating Maintainability Rating Bugs Code Smells

GoAI is a powerful Go library that seamlessly integrates multiple LLM providers, vector embeddings, and vector storage capabilities. Built for developers who want a clean, unified interface for AI operations.

✨ Features

🤖 Multiple LLM Providers

  • OpenAI
  • Anthropic Claude
  • AWS Bedrock

📊 Vector Operations

  • Efficient embeddings generation
  • PostgreSQL vector storage
  • Similarity search

🛠 Developer Experience

  • Consistent interfaces
  • Streaming support
  • Type-safe operations

🚀 Quick Start

📦 Installation

go get github.com/shaharia-lab/goai

Example

You can find more examples in the _examples directory which you can run simply by go run _examples/simple_chat.go

package main

import (
   "github.com/shaharia-lab/goai"
   "log"
   "os"
)

func main() {
    // Initialize LLM
    client := goai.NewAnthropicClient(os.Getenv("ANTHROPIC_API_KEY"))
    provider := goai.NewAnthropicLLMProvider(goai.AnthropicProviderConfig{
        Client: client,
    })

    // Configure request
    llm := goai.NewLLMRequest(goai.NewRequestConfig(
        goai.WithMaxToken(200),
        goai.WithTemperature(0.7),
    ), provider)

    // Generate response
    response, err := llm.Generate([]goai.LLMMessage{
        {Role: goai.UserRole, Text: "Explain quantum computing"},
    })

    if err != nil {
        panic(err)
    }
    
    log.Println(response)
}

📚 Documentation

Visit our documentation for detailed guides on:

🤝 Contributing

We welcome contributions! See our Contributing Guide for details.

🔒 Security

Review our Security Policy for reporting vulnerabilities.

📝 License

MIT License - see LICENSE for details.


Built with ❤️ by Shaharia Lab and Contributors

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Goai

How do I install Goai?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Goai safe to use with an AI agent?

Its trust score is 56 out of 100 (fair). It passes 2 of the 3 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Goai still maintained?

Yes — the latest release is v0.20.0 (12 Jul 2026), and the last commit was a month ago. The repository has 10 stars and 2 open issues.