Skip to main content

AYN - Agents You Need

The meta-framework for AI agent interoperability

Think "pip + Docker Hub + Postman" for AI agents.

License: MIT Python 3.8+

🎯 Vision

AYN solves the agent discovery and integration problem by providing:

  1. Unified Search across GitHub, HuggingFace, and awesome lists
  2. Standard Controller Interface for invoking any agent
  3. HTTP/REST Export via FastAPI and LangServe
  4. MCP Support for Model Context Protocol integration
  5. 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, and AgentRegistry.search warns and skips them), and the CrewAI/LangChain/AutoGen controllers are placeholders that echo their input like the generic controller. See the roadmap below. Today registry.search finds 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

🏗️ 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:

🗺️ 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:

  1. Searchers: Implement real API integrations
  2. Controllers: Add framework-specific controllers
  3. Export: Additional export formats
  4. Tools: MCP tools and resources
  5. 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. 🚀

Metadata

Release files for ayn 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ayn 0.0.4
File Size Uploaded Provenance Actions
ayn-0.0.4.tar.gz 70.5 kB Without provenance Details for ayn-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ayn 0.0.4
File Interpreter ABI Platform Actions
ayn-0.0.4-py3-none-any.whl Python 3 none any Details for ayn-0.0.4-py3-none-any.whl

Total release size: 91.8 kB

Release files / ayn-0.0.4.tar.gz

Download URL ayn-0.0.4.tar.gz
Size 70.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c92d004548dd9268656a8f118888c8963c48a5d76926b9e6bf1edf31bb0c45d7
BLAKE2b-256 checksum
How to use checksums
70312ca642ba8e46e647f04b42396981d20536c5a42546493c0cd3bfc6e2f8a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / ayn-0.0.4-py3-none-any.whl

Download URL ayn-0.0.4-py3-none-any.whl
Size 21.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a756dbb2b5c12288dedaf1bfeaf825e8fae82ed367fa1bb371736af792ef4f2
BLAKE2b-256 checksum
How to use checksums
b17161b8b9b999da6598099357e2d63665f53d77bc05d7675e3801b4028f4e2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for ayn 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page