{"id":28255537,"url":"https://github.com/jetify-com/ai","last_synced_at":"2026-01-21T13:25:26.276Z","repository":{"id":294315660,"uuid":"984999782","full_name":"jetify-com/ai","owner":"jetify-com","description":"The AI framework for Go developers. Build powerful AI applications and agents using our free, open-source library. From Jetify, the creators of TestPilot.","archived":false,"fork":false,"pushed_at":"2025-12-03T17:50:47.000Z","size":365,"stargazers_count":207,"open_issues_count":2,"forks_count":10,"subscribers_count":6,"default_branch":"main","last_synced_at":"2026-01-19T22:56:45.117Z","etag":null,"topics":["ai","anthropic","artificial-intelligence","genai","generative-ai","go","golang","language-model","llm","openai"],"latest_commit_sha":null,"homepage":"https://www.jetify.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jetify-com.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-16T22:05:27.000Z","updated_at":"2026-01-19T16:43:55.000Z","dependencies_parsed_at":"2025-07-18T17:31:51.221Z","dependency_job_id":"9ed1ca33-ae5c-4846-b6e0-9b48025c60e9","html_url":"https://github.com/jetify-com/ai","commit_stats":null,"previous_names":["jetify-com/ai"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/jetify-com/ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jetify-com%2Fai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jetify-com%2Fai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jetify-com%2Fai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jetify-com%2Fai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jetify-com","download_url":"https://codeload.github.com/jetify-com/ai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jetify-com%2Fai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28633757,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","anthropic","artificial-intelligence","genai","generative-ai","go","golang","language-model","llm","openai"],"created_at":"2025-05-19T22:13:55.979Z","updated_at":"2026-01-21T13:25:26.254Z","avatar_url":"https://github.com/jetify-com.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI SDK for Go\n\n### Build powerful AI applications and agents using a unified API.\n\n[![Version](https://img.shields.io/github/v/release/jetify-com/ai?color=green\u0026label=version\u0026sort=semver)](https://github.com/jetify-com/ai/releases)\n[![Go Reference](https://pkg.go.dev/badge/go.jetify.com/ai)](https://pkg.go.dev/go.jetify.com/ai)\n[![License](https://img.shields.io/github/license/jetify-com/ai)]()\n[![Join Discord](https://img.shields.io/discord/903306922852245526?color=7389D8\u0026label=discord\u0026logo=discord\u0026logoColor=ffffff\u0026cacheSeconds=1800)](https://discord.gg/jetify)\n\n*Primary Author(s)*: [Daniel Loreto](https://github.com/loreto)\n\n## Introduction\n\nJetify's **AI SDK for Go** is a unified interface for interacting with multiple AI providers including OpenAI, Anthropic, and more.\nInspired by [Vercel's AI SDK](https://github.com/vercel/ai) for TypeScript, we bring a similar developer experience to the Go ecosystem.\n\nIt is maintained and developed by [Jetify](https://www.jetify.com). We are in the process of migrating our production code\nto use this SDK as the primary way our AI agents integrate with different LLM providers.\n\n### The Problem\n\nBuilding AI applications go today means dealing with:\n- **Fragmented ecosystems** - Each provider has different APIs, authentication, and patterns\n- **Vendor lock-in** - Switching providers requires rewriting significant application code\n- **Poor Go developer experience** - Official Go SDKs are often auto-generated from OpenAPI specs, resulting in unidiomatic Go code\n- **Complex multi-modal handling** - Different providers handle images, files, and tools differently\n\n### Our Solution\n\nThe AI SDK provides a **unified interface** across multiple AI providers, with key advantages:\n\n1. **Provider abstraction** - Common interfaces for language models, embeddings, and image generation\n2. **Go-first design** - Built specifically for Go developers with idiomatic patterns and strong typing\n3. **Production-ready** - Comprehensive error handling, automatic retries, rate limiting, and robust provider failover\n4. **Multi-modal by default** - First-class support for text, images, files, and structured outputs across all providers\n5. **Extensible architecture** - Clean interfaces make it easy to add new providers while maintaining backward compatibility\n\n## Features\n\n* [x] **Multi-Provider Support** – [OpenAI](#), [Anthropic](#), with more coming\n* [x] **Multi-Modal Inputs** – Text, images, and files in conversations\n* [x] **Tool Calling** – Function calling with parallel execution\n* [x] **Language Models** – Text generation with streaming support\n* [ ] **Embedding Models** – Text embeddings for semantic search\n* [ ] **Image Models** – Generate images from text prompts\n* [ ] **Structured Outputs** – JSON generation with schema validation\n\n### Language Models\n\n* [x] Text generation (streaming \u0026 non-streaming)\n* [x] Multi-modal conversations (text + images + files)\n* [x] System messages and conversation history\n* [x] Tool/function calling with structured schemas\n* [ ] JSON output with schema validation\n\n### Provider-Specific Features\n\n* [x] **OpenAI** - Web search, computer use, file search tools\n* [x] **Anthropic** - Claude's advanced reasoning and tool use\n\n## Status\n\n- [x] Private Alpha: We are testing the SDK with a select group of developers.\n- [x] Public Alpha: Open to all developers, but breaking changes still expected.\n- [ ] Public Beta: Stable enough for most non-enterprise use cases.\n- [ ] General Availability (v1): Ready for production use at scale with guaranteed API stability.\n\nWe are currently in **Public Alpha**. The SDK functionality is stable but the API may have breaking changes. While in alpha, minor version bumps indicate breaking changes (`0.1.0` -\u003e `0.2.0` would indicate a breaking change). Watch \"releases\" of this repo to get notified of major updates.\n\n## Installation\n\n```bash\ngo get go.jetify.com/ai\n```\n\n## Quickstart\n\nGet started with a simple text generation example:\n\n```go\npackage main\n\nimport (\n    \"context\"\n    \"fmt\"\n    \"log\"\n\n    \"go.jetify.com/ai\"\n    \"go.jetify.com/ai/provider/openai\"\n)\n\nfunc main() {\n    // Set up your model\n    model := openai.NewLanguageModel(\"gpt-4o\")\n\n    // Generate text\n    response, err := ai.GenerateTextStr(\n        context.Background(),\n        \"Explain quantum computing in simple terms\",\n        ai.WithModel(model),\n        ai.WithMaxOutputTokens(200),\n    )\n    if err != nil {\n        log.Fatal(err)\n    }\n    // Do whatever you want with the response...\n    fmt.Println(response)\n}\n```\n\nFor detailed examples, see our [examples directory](examples/).\n\n## Documentation\n\nComprehensive documentation is available:\n\n* **[API Reference](https://pkg.go.dev/go.jetify.com/ai)** - Complete Go package documentation\n* **[Examples](examples/)** - Real-world usage patterns\n\n## Community \u0026 Support\n\nJoin our community and get help:\n\n* **Discord** – [https://discord.gg/jetify](https://discord.gg/jetify) (best for quick questions \u0026 showcase)\n* **GitHub Discussions** – [Discussions](https://github.com/jetify-com/ai/discussions) (best for ideas \u0026 design questions)\n* **Issues** – [Bug reports \u0026 feature requests](https://github.com/jetify-com/ai/issues)\n\n## Contributing\n\nWe 💖 contributions! Please read [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.\n\n## License\n\nLicensed under the **Apache 2.0 License** – see [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjetify-com%2Fai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjetify-com%2Fai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjetify-com%2Fai/lists"}