๐Ÿœ Phero

The chemical language of AI agents.

Why Phero?

Features

Architecture

Examples

ExampleDescription
Simple AgentStart here! Minimal example showing one agent with one custom tool perfect for learning the basics
Conversational AgentREPL-style chatbot with short-term conversational memory and a simple built-in tool
Long-Term MemoryREPL-style chatbot with semantic long-term memory (RAG) backed by Qdrant
Debate CommitteeMulti-agent architecture where committee members debate independently and a judge synthesizes the final decision
Multi-Agent WorkflowClassic Plan โ†’ Execute โ†’ Analyze โ†’ Critique pattern with specialized agent roles
RAG ChatbotTerminal chatbot with semantic search over local documents using Qdrant
SkillDiscover SKILL.md files and expose them as callable agent tools
MCP IntegrationRun an MCP server as a subprocess and expose its tools to agents
Supervisor BlackboardSupervisor-worker pattern with a shared blackboard for coordination

Design Philosophy

  1. Composability over monoliths: Each package does one thing well
  2. Interfaces over implementations: Swap LLMs, vector stores, or embeddings easily
  3. Explicit over implicit: No hidden magic; clear control flow
  4. Tools are first-class: Function tools are the primary integration point
  5. Developer experience matters: Clean APIs, helpful tracing, good error messages

Contributing

Contributions are welcome! Please feel free to submit issues, feature requests, or pull requests.

License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.

Acknowledgments

Built with โค๏ธ by Simone Vellei.

Inspired by the collaborative intelligence of ant colonies where independent agents work together toward shared goals, recognizing one another and coordinating through clear protocols.

The ant is not just a mascot. It is the philosophy. ๐Ÿœ

Links