A basic library to create AI agents
go-agents is a lightweight library built for developers looking to integrate simple AI agents into their applications. With a focus on modularity and ease-of-use, this library serves as a foundation to build, test, and deploy AI-driven functionalities.
- Modular Design: Easily customize and extend agent functionalities.
- Simple Integration: Minimal setup required to start building intelligent agents.
- Scalable: Suitable for projects of all sizes, from prototypes to production-grade applications.
Install go-agents via go get:
go get github.com/jlrosende/go-agentsOr add the dependency to your project’s go.mod:
require github.com/jlrosende/go-agents vX.Y.ZBelow is a basic example to demonstrate how to create and run an agent:
package main
import (
"fmt"
"github.com/jlrosende/go-agents/agent"
)
func main() {
// Create a new agent
swarm := controller.AgentController()
// Configure agent (add behaviors, intents, etc.)
// agentContrller.AddAgent(...)
// Run the agent
swarm.Run()
}For more comprehensive examples, please refer to the examples directory.
For detailed documentation and API reference, please visit the Wiki or view the inline code comments.
Contributions are welcome! Please check out our Contributing Guidelines for more details on how to get started, and read our Code of Conduct to ensure a welcoming environment for all.
- Implement advanced agent behaviors
- Integrate with external AI services
- Improve documentation with more examples
This project is licensed under the MIT License - see the LICENSE file for details.
- Hat tip to all the contributors and the open-source community for their invaluable support.
- Thanks to the developers behind similar projects that inspired this library.