AYN - Agents You NeedΒΆ
The meta-framework for AI agent interoperability
Think βpip + Docker Hub + Postmanβ for AI agents.
π― VisionΒΆ
AYN solves the agent discovery and integration problem by providing:
Unified Search across GitHub, HuggingFace, and awesome lists
Standard Controller Interface for invoking any agent
HTTP/REST Export via FastAPI and LangServe
MCP Support for Model Context Protocol integration
Custom Actions for ChatGPT and Claude
Status: early. The registry, the controller interface and the FastAPI/MCP/ChatGPT exports work. The GitHub, Hugging Face and awesome-list searchers are not implemented (they raise
NotImplementedError, andAgentRegistry.searchwarns and skips them), and the CrewAI/LangChain/AutoGen controllers are placeholders that echo their input like the generic controller. See the roadmap below. Todayregistry.searchfinds agents you registered yourself.
π Quick StartΒΆ
from ayn import AgentRegistry, BaseAgentController, export_agent_full_stack
# 1. Search for agents
registry = AgentRegistry()
results = registry.search("data preparation")
# 2. Create controller
controller = BaseAgentController.from_metadata(results[0])
# 3. Use the agent
result = controller.invoke({"data": [1, 2, 3]})
# 4. Export with all integrations
artifacts = export_agent_full_stack(
controller, results[0], export_fastapi=True, export_mcp=True, export_chatgpt=True
)
π¦ InstallationΒΆ
# Basic installation
pip install ayn
# With FastAPI support
pip install ayn[fastapi]
# With LangServe support
pip install ayn[langserve]
# Full installation
pip install ayn[all]
π DocumentationΒΆ
Getting Started - Quick introduction and setup
README - Complete documentation
API Reference - Detailed API documentation
Quick Reference - Common patterns and snippets
Implementation Roadmap - Future development plans
ποΈ ArchitectureΒΆ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β AYN Framework β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β Search β β Controller β β Export β β
β β Registry β β Interface β β Layer β β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β β β β
β ββββββββΌβββββββ ββββββββββΌβββββββββ βββββββΌββββββ β
β β GitHub β β BaseAgent β β FastAPI β β
β β HuggingFaceβ β Controller β β LangServeβ β
β β AwesomeListsβ βββββββββββββββββββ βββββββββββββ β
β βββββββββββββββ β
β β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β MCP Layer β β Actions β β Frameworks β β
β β Tools β β ChatGPT β β CrewAI β β
β β Resources β β Claude β β LangChain β β
β β Prompts β β Gemini β β AutoGen β β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π ExamplesΒΆ
See the examples/ directory for complete working examples:
basic_usage.py - Basic registry and controller usage
fastapi_deployment.py - Deploy as HTTP API
mcp_integration.py - MCP protocol integration
tutorial.py - Comprehensive tutorial
πΊοΈ RoadmapΒΆ
Phase 1: Core β (Complete)ΒΆ
β Agent metadata and registry
β Standard controller interface
β FastAPI export
β MCP server support
β ChatGPT/Claude actions
Phase 2: Search (In Progress)ΒΆ
β³ GitHub API integration
β³ HuggingFace search
β³ Awesome list parsing
β³ Caching and indexing
Phase 3: Installation (TODO)ΒΆ
β¬ Dependency management (uv/pipx)
β¬ Docker support
β¬ Environment isolation
β¬ Version management
Phase 4: Frameworks (TODO)ΒΆ
β¬ CrewAI integration
β¬ LangChain/LangGraph integration
β¬ AutoGen integration
β¬ SmolAgents integration
See AYN_IMPLEMENTATION_ROADMAP.md for detailed plans.
π€ ContributingΒΆ
Contributions welcome! Key areas:
Searchers: Implement real API integrations
Controllers: Add framework-specific controllers
Export: Additional export formats
Tools: MCP tools and resources
Documentation: Examples and guides
π LicenseΒΆ
MIT License - see LICENSE file
π AcknowledgmentsΒΆ
Built on top of:
FastAPI for HTTP APIs
LangServe for LangChain integration
Model Context Protocol (Anthropic)
AYN - Making AI agents discoverable, interoperable, and deployable. π
This documentation as a single file: ayn.md (Markdown, for agents).
built 2026-11-24 04:38 UTC from bb6d744 (main) Β· ayn 0.0.4 Β· about this build