{"slug": "crewai-go-v0-4-0-is-live", "title": "crewai-go v0.4.0 is live!", "summary": "The crewai-go project released v0.4.0, bringing multi-agent AI orchestration to Go with custom tools, sequential context flow, structured outputs, flexible provider support, and short-term memory. The release enables developers to build type-safe, production-ready multi-agent systems in Go, with support for offline use via Ollama or integration with OpenAI.", "body_md": "If you love the multi-agent AI orchestration concepts from Python’s CrewAI, but want the performance, native concurrency, and low memory footprint of Go, check out crewai-go.\n\nThe v0.4.0 release brings key capabilities to make building multi-agent systems in Go fast, type-safe, and production-ready.\n\n✨ Key Highlights:\n\n🛠️ Custom Tools: Easily create and bind custom tools using tools.NewTool(...).\n\n🔄 Sequential Context Flow: Outputs from previous tasks flow directly into subsequent tasks as context.\n\n📦 Structured Outputs: Map LLM responses straight into native Go structs using standard json:\"...\" tags.\n\n🏠 Flexible Provider Support: Run fully offline with Ollama or integrate seamlessly with OpenAI.\n\n🧠 Short-Term Memory: Agents keep context across complex task executions.\n\n💡 Quick Example:\n\n```\npackage main\n\nimport (\n    \"context\"\n    \"fmt\"\n    \"log\"\n\n    \"github.com/rhgs/crewai-go/crew\"\n)\n\nfunc main() {\n    researcher := crew.NewAgent(crew.AgentConfig{\n        Role:      \"AI Researcher\",\n        Goal:      \"Analyze tech trends\",\n        Backstory: \"An expert in discovering high-impact open-source Go tools.\",\n    })\n\n    task := crew.NewTask(crew.TaskConfig{\n        Description:    \"Summarize the main benefits of using Go for AI agent orchestration.\",\n        ExpectedOutput: \"3 concise bullet points.\",\n        Agent:          researcher,\n    })\n\n    c := crew.NewCrew(crew.CrewConfig{\n        Agents: []*crew.Agent{researcher},\n        Tasks:  []*crew.Task{task},\n    })\n\n    result, err := c.Kickoff(context.Background())\n    if err != nil {\n        log.Fatal(err)\n    }\n\n    fmt.Println(result.Raw)\n}\n```\n\n🔗 Release details & GitHub repo:\n\ngithub.com/rhgs/crewai-go/releases/tag/v0.4.0", "url": "https://wpnews.pro/news/crewai-go-v0-4-0-is-live", "canonical_source": "https://dev.to/rhgs/crewai-go-v040-is-live-14j1", "published_at": "2026-08-17 21:27:56+00:00", "updated_at": "2026-08-17 21:42:41.702200+00:00", "lang": "en", "topics": ["ai-agents", "developer-tools", "artificial-intelligence"], "entities": ["crewai-go", "CrewAI", "Go", "Ollama", "OpenAI"], "alternates": {"html": "https://wpnews.pro/news/crewai-go-v0-4-0-is-live", "markdown": "https://wpnews.pro/news/crewai-go-v0-4-0-is-live.md", "text": "https://wpnews.pro/news/crewai-go-v0-4-0-is-live.txt", "jsonld": "https://wpnews.pro/news/crewai-go-v0-4-0-is-live.jsonld"}}