Skip to content

v0.2.0

Choose a tag to compare

@Dieg0Code Dieg0Code released this 23 Feb 23:37
· 18 commits to main since this release

πŸš€ Syndicate SDK v0.2.0 Release - Smarter, Stronger, and More Flexible! πŸŽ‰

Hey awesome developers! πŸ‘‹ We’re thrilled to introduce Syndicate SDK v0.2.0 – packed with new features, optimizations, and enhancements to make AI agent development in Go even more powerful! πŸ’ͺ✨


πŸ†• What’s New?

πŸ€– Agent Management Enhancements

  • More flexibility in building agents – Customize system prompts, memory, and tools with ease.
  • Improved orchestration – Recruit and manage multiple agents in a predefined sequence.

πŸ”§ Tool Schemas & JSON Validation

  • Auto-generate JSON schemas from Go structures for structured input validation.
  • Enhanced execution flow – Tools can now enforce strict input validation, reducing errors.

🧠 Memory Implementations

  • Custom memory support – Implement your own memory storage while leveraging built-in options.
  • Concurrency-safe design – Ensuring thread safety for multi-agent interactions.

πŸ“ Prompt Engineering Like a Pro

  • Structured prompts with sections & subsections πŸ“‘ for clarity and organization.
  • Easier prompt modifications – Create dynamic configuration prompts in a fluent API.

🦾 Syndicate System - The AI Orchestrator!

  • Seamlessly manage multiple agents in a step-by-step execution pipeline.
  • Designed for complex workflows – Perfect for real-world AI-driven applications.

πŸ”₯ Code Examples to Get You Started

πŸš€ Creating an AI Agent

agent, err := syndicate.NewAgent().
    SetClient(openaiClient).
    SetName("OrderAgent").
    SetConfigPrompt("You handle customer orders and process them accordingly.").
    SetModel(openai.GPT4).
    Build()

πŸ› οΈ Defining a Tool for Order Processing

type OrderSchema struct {
    Items        []string `json:"items"`
    CustomerName string   `json:"customer_name"`
}

func (ot *OrderTool) Execute(args json.RawMessage) (interface{}, error) {
    var order OrderSchema
    json.Unmarshal(args, &order)
    return fmt.Sprintf("Order received for %s!", order.CustomerName), nil
}

πŸ—οΈ Orchestrating Multiple Agents

syndicateSystem := syndicate.NewSyndicate().
    RecruitAgent(orderAgent).
    RecruitAgent(summaryAgent).
    DefinePipeline([]string{"OrderAgent", "SummaryAgent"}).
    Build()

πŸ“Œ Why Upgrade?

βœ… More control over AI agent workflows πŸš€
βœ… Stronger type safety with JSON schema validation πŸ”₯
βœ… Cleaner and more maintainable prompt engineering πŸ“œ
βœ… Smarter and more efficient memory management 🧠

We’re just getting started – expect even more improvements in the future! πŸš€
Give it a try and let us know what you think! πŸ—£οΈπŸ’¬

πŸ‘‰ Install or Upgrade Now:

go get -u github.com/Dieg0Code/syndicate-go

Happy coding! πŸ’»βœ¨