Join our vibrant community of agent engineers, researchers, and AI enthusiasts! Our Discord server is the best place to get real-time support, share your projects, collaborate with others, and stay up-to-date with the latest developments in multi-agent AI.
Join Discord
Click here to join the Swarms Discord community and connect with thousands of agent developers worldwide!
Hi! I'm trying to create a SequentialWorkflow but getting an error.What I'm trying to do:Create a workflow with 3 agents that process data sequentiallyError message:
AttributeError: ‘Agent’ object has no attribute ‘run_task’
My code:```pythonfrom swarms import Agent, SequentialWorkflowagent1 = Agent(agent_name="Agent1", model_name="gpt-5.4")workflow = SequentialWorkflow(agents=[agent1])result = workflow.run_task("Analyze this data")
Environment:
Python 3.10
Swarms 6.5.0
macOS Sonoma
Any ideas what I’m doing wrong?
## Community GuidelinesTo maintain a positive and productive environment:### Do:- Be respectful and professional- Help others when you can- Share your knowledge and experiences- Give credit where it's due- Use appropriate channels for different topics- Search before asking duplicate questions### Don't:- Spam or post irrelevant content- Share sensitive information (API keys, credentials)- Engage in harassment or toxic behavior- Post large code blocks (use pastebin or GitHub gists)- Tag moderators or maintainers unless urgent- Promote unrelated products or services## Community Resources### Quick Links- **Documentation**: [docs.swarms.world](https://docs.swarms.world)- **GitHub Repository**: [github.com/kyegomez/swarms](https://github.com/kyegomez/swarms)- **Examples**: [Swarms Examples](https://github.com/kyegomez/swarms/tree/master/examples)- **Issue Tracker**: [GitHub Issues](https://github.com/kyegomez/swarms/issues)### Learning Resources- **Quickstart Guide**: [Get Started](https://docs.swarms.world/en/latest/swarms/install/quickstart/)- **Video Tutorials**: [YouTube Channel](https://www.youtube.com/channel/UC9yXyitkbU_WSy7bd_41SqQ)- **Blog Posts**: [Medium](https://medium.com/@kyeg)- **Examples Repository**: [GitHub Examples](https://github.com/kyegomez/swarms/tree/master/examples)## Events and Activities### Community CallsJoin our regular community calls to:- Discuss roadmap and upcoming features- Share your projects and use cases- Learn from community presentations- Ask questions directly to maintainers### HackathonsParticipate in community hackathons:- Build innovative multi-agent applications- Collaborate with other developers- Win prizes and recognition- Contribute to the ecosystem### Workshops and TutorialsAttend live workshops to:- Learn advanced techniques- Get hands-on experience- Ask questions in real-time- Network with other developers<Note> Check the #events channel and [Swarms Events Calendar](https://lu.ma/swarms_calendar) for upcoming activities.</Note>## Onboarding SessionNew to Swarms? Schedule a personal onboarding session with Kye Gomez, the creator and lead maintainer of Swarms!In this session, you'll learn:- How to install and configure Swarms- Best practices for building multi-agent systems- How to get started with your custom use case- Tips and tricks from the creator himself[**Book Your Onboarding Session**](https://cal.com/swarms/swarms-onboarding-session)## Connect With UsJoin us on other platforms too:| Platform | Link | Description ||----------|------|-------------|| 📚 Documentation | [docs.swarms.world](https://docs.swarms.world) | Official documentation || 📝 Blog | [Medium](https://medium.com/@kyeg) | Technical articles || 🐦 Twitter | [@swarms_corp](https://twitter.com/swarms_corp) | Latest news || 👥 LinkedIn | [The Swarm Corporation](https://www.linkedin.com/company/the-swarm-corporation) | Professional updates || 📺 YouTube | [Swarms Channel](https://www.youtube.com/channel/UC9yXyitkbU_WSy7bd_41SqQ) | Video tutorials || 💻 GitHub | [kyegomez/swarms](https://github.com/kyegomez/swarms) | Source code |<Card title="Join the Community Today!" icon="users"> [Click here to join our Discord](https://discord.gg/EamjgSaEQf) and become part of the most active multi-agent AI community!</Card>