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
git clone https://github.com/shaharia-lab/goaiThis 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
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
README
🚀 GoAI

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:
- Getting Started
- LLM Integration
- Embedding Generation
- Vector Operations
- MCP (Model Context Protocol) Server in Go
- API Reference
🤝 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.