Metadata-Version: 2.5
Name: superoptix
Version: 0.3.1
Summary: Agent-to-Agent (A2A) interoperability and optimization layer. Adapt existing DSPy, CrewAI, OpenAI Agents SDK, Pydantic AI, Google ADK, Claude Agent SDK, DeepAgents and Microsoft agents to A2A 1.0, then optimize how they are discovered and called.
Project-URL: Homepage, https://superoptix.ai
Project-URL: Documentation, https://superagenticai.github.io/superoptix-ai
Project-URL: Repository, https://github.com/SuperagenticAI/superoptix-ai
Project-URL: Bug Tracker, https://github.com/SuperagenticAI/superoptix-ai/issues
Project-URL: Support, https://superoptix.ai
Project-URL: Download, https://pypi.org/project/superoptix/#files
Author-email: Superagentic AI <hello@super-agentic.ai>, Shashi Jagtap <shashikant.jagtap@icloud.com>, Shashi Jagtap <shashi@super-agentic.ai>
Maintainer-email: Superagentic AI <hello@super-agentic.ai>
License: Apache License
                                   Version 2.0, January 2004
                                http://www.apache.org/licenses/
        
           TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
        
           1. Definitions.
        
              "License" shall mean the terms and conditions for use, reproduction,
              and distribution as defined by Sections 1 through 9 of this document.
        
              "Licensor" shall mean the copyright owner or entity authorized by
              the copyright owner that is granting the License.
        
              "Legal Entity" shall mean the union of the acting entity and all
              other entities that control, are controlled by, or are under common
              control with that entity. For the purposes of this definition,
              "control" means (i) the power, direct or indirect, to cause the
              direction or management of such entity, whether by contract or
              otherwise, or (ii) ownership of fifty percent (50%) or more of the
              outstanding shares, or (iii) beneficial ownership of such entity.
        
              "You" (or "Your") shall mean an individual or Legal Entity
              exercising permissions granted by this License.
        
              "Source" form shall mean the preferred form for making modifications,
              including but not limited to software source code, documentation
              source, and configuration files.
        
              "Object" form shall mean any form resulting from mechanical
              transformation or translation of a Source form, including but
              not limited to compiled object code, generated documentation,
              and conversions to other media types.
        
              "Work" shall mean the work of authorship, whether in Source or
              Object form, made available under the License, as indicated by a
              copyright notice that is included in or attached to the work
              (an example is provided in the Appendix below).
        
              "Derivative Works" shall mean any work, whether in Source or Object
              form, that is based on (or derived from) the Work and for which the
              editorial revisions, annotations, elaborations, or other modifications
              represent, as a whole, an original work of authorship. For the purposes
              of this License, Derivative Works shall not include works that remain
              separable from, or merely link (or bind by name) to the interfaces of,
              the Work and Derivative Works thereof.
        
              "Contribution" shall mean any work of authorship, including
              the original version of the Work and any modifications or additions
              to that Work or Derivative Works thereof, that is intentionally
              submitted to Licensor for inclusion in the Work by the copyright owner
              or by an individual or Legal Entity authorized to submit on behalf of
              the copyright owner. For the purposes of this definition, "submitted"
              means any form of electronic, verbal, or written communication sent
              to the Licensor or its representatives, including but not limited to
              communication on electronic mailing lists, source code control systems,
              and issue tracking systems that are managed by, or on behalf of, the
              Licensor for the purpose of discussing and improving the Work, but
              excluding communication that is conspicuously marked or otherwise
              designated in writing by the copyright owner as "Not a Contribution."
        
              "Contributor" shall mean Licensor and any individual or Legal Entity
              on behalf of whom a Contribution has been received by Licensor and
              subsequently incorporated within the Work.
        
           2. Grant of Copyright License. Subject to the terms and conditions of
              this License, each Contributor hereby grants to You a perpetual,
              worldwide, non-exclusive, no-charge, royalty-free, irrevocable
              copyright license to reproduce, prepare Derivative Works of,
              publicly display, publicly perform, sublicense, and distribute the
              Work and such Derivative Works in Source or Object form.
        
           3. Grant of Patent License. Subject to the terms and conditions of
              this License, each Contributor hereby grants to You a perpetual,
              worldwide, non-exclusive, no-charge, royalty-free, irrevocable
              (except as stated in this section) patent license to make, have made,
              use, offer to sell, sell, import, and otherwise transfer the Work,
              where such license applies only to those patent claims licensable
              by such Contributor that are necessarily infringed by their
              Contribution(s) alone or by combination of their Contribution(s)
              with the Work to which such Contribution(s) was submitted. If You
              institute patent litigation against any entity (including a
              cross-claim or counterclaim in a lawsuit) alleging that the Work
              or a Contribution incorporated within the Work constitutes direct
              or contributory patent infringement, then any patent licenses
              granted to You under this License for that Work shall terminate
              as of the date such litigation is filed.
        
           4. Redistribution. You may reproduce and distribute copies of the
              Work or Derivative Works thereof in any medium, with or without
              modifications, and in Source or Object form, provided that You
              meet the following conditions:
        
              (a) You must give any other recipients of the Work or Derivative
              Works a copy of this License; and
        
              (b) You must cause any modified files to carry prominent notices
              stating that You changed the files; and
        
              (c) You must retain, in the Source form of any Derivative Works
              that You distribute, all copyright, patent, trademark, and
              attribution notices from the Source form of the Work,
              excluding those notices that do not pertain to any part of
              the Derivative Works; and
        
              (d) If the Work includes a "NOTICE" text file as part of its
              distribution, then any Derivative Works that You distribute must
              include a readable copy of the attribution notices contained
              within such NOTICE file, excluding those notices that do not
              pertain to any part of the Derivative Works, in at least one
              of the following places: within a NOTICE text file distributed
              as part of the Derivative Works; within the Source form or
              documentation, if provided along with the Derivative Works; or,
              within a display generated by the Derivative Works, if and
              wherever such third-party notices normally appear. The contents
              of the NOTICE file are for informational purposes only and
              do not modify the License. You may add Your own attribution
              notices within Derivative Works that You distribute, alongside
              or as an addendum to the NOTICE text from the Work, provided
              that such additional attribution notices cannot be construed
              as modifying the License.
        
              You may add Your own copyright statement to Your modifications and
              may provide additional or different license terms and conditions
              for use, reproduction, or distribution of Your modifications, or
              for any such Derivative Works as a whole, provided Your use,
              reproduction, and distribution of the Work otherwise complies with
              the conditions stated in this License.
        
           5. Submission of Contributions. Unless You explicitly state otherwise,
              any Contribution intentionally submitted for inclusion in the Work
              by You to the Licensor shall be under the terms and conditions of
              this License, without any additional terms or conditions.
              Notwithstanding the above, nothing herein shall supersede or modify
              the terms of any separate license agreement you may have executed
              with Licensor regarding such Contributions.
        
           6. Trademarks. This License does not grant permission to use the trade
              names, trademarks, service marks, or product names of the Licensor,
              except as required for reasonable and customary use in describing the
              origin of the Work and reproducing the content of the NOTICE file.
        
           7. Disclaimer of Warranty. Unless required by applicable law or
              agreed to in writing, Licensor provides the Work (and each
              Contributor provides its Contributions) on an "AS IS" BASIS,
              WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
              implied, including, without limitation, any warranties or conditions
              of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
              PARTICULAR PURPOSE. You are solely responsible for determining the
              appropriateness of using or redistributing the Work and assume any
              risks associated with Your exercise of permissions under this License.
        
           8. Limitation of Liability. In no event and under no legal theory,
              whether in tort (including negligence), contract, or otherwise,
              unless required by applicable law (such as deliberate and grossly
              negligent acts) or agreed to in writing, shall any Contributor be
              liable to You for damages, including any direct, indirect, special,
              incidental, or consequential damages of any character arising as a
              result of this License or out of the use or inability to use the
              Work (including but not limited to damages for loss of goodwill,
              work stoppage, computer failure or malfunction, or any and all
              other commercial damages or losses), even if such Contributor
              has been advised of the possibility of such damages.
        
           9. Accepting Warranty or Additional Liability. While redistributing
              the Work or Derivative Works thereof, You may choose to offer,
              and charge a fee for, acceptance of support, warranty, indemnity,
              or other liability obligations and/or rights consistent with this
              License. However, in accepting such obligations, You may act only
              on Your own behalf and on Your sole responsibility, not on behalf
              of any other Contributor, and only if You agree to indemnify,
              defend, and hold each Contributor harmless for any liability
              incurred by, or claims asserted against, such Contributor by reason
              of your accepting any such warranty or additional liability.
        
           END OF TERMS AND CONDITIONS
        
           Copyright 2024 Superagentic AI
        
           Licensed under the Apache License, Version 2.0 (the "License");
           you may not use this file except in compliance with the License.
           You may obtain a copy of the License at
        
               http://www.apache.org/licenses/LICENSE-2.0
        
           Unless required by applicable law or agreed to in writing, software
           distributed under the License is distributed on an "AS IS" BASIS,
           WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
           See the License for the specific language governing permissions and
           limitations under the License.
License-File: LICENCE
Keywords: agent-development,agent-framework,agent-memory,agent-observability,agent-orchestration,agent-testing,agents,ai,ai-agents,ai-development,ai-memory,ai-observability,ai-testing,artificial-intelligence,autonomous,bdd,context-engineering,dspy,dspy-ai,evaluation,framework,llm,llm-framework,llm-optimization,machine-learning,memory,multi-agent,observability,optimization,orchestration,prompt-engineering,prompt-optimization,rag,semantic-search,superspec,testing,vector-database
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Distributed Computing
Requires-Python: >=3.11
Requires-Dist: colorama
Requires-Dist: dspy>=3.3
Requires-Dist: jinja2
Requires-Dist: litellm!=1.82.7,!=1.82.8,>=1.98
Requires-Dist: mcp
Requires-Dist: numpy
Requires-Dist: pydantic
Requires-Dist: python-dotenv
Requires-Dist: pyyaml
Requires-Dist: requests
Requires-Dist: rich
Requires-Dist: typer
Provides-Extra: a2a
Requires-Dist: fastapi>=0.115.2; extra == 'a2a'
Requires-Dist: sse-starlette; extra == 'a2a'
Requires-Dist: uvicorn>=0.35.0; extra == 'a2a'
Provides-Extra: all
Requires-Dist: agent-framework>=1.16; extra == 'all'
Requires-Dist: azure-identity; extra == 'all'
Requires-Dist: chromadb; extra == 'all'
Requires-Dist: claude-agent-sdk>=0.2; extra == 'all'
Requires-Dist: deepagents<0.8,>=0.7; extra == 'all'
Requires-Dist: dspy>=3.3; extra == 'all'
Requires-Dist: faiss-cpu; extra == 'all'
Requires-Dist: fastapi; extra == 'all'
Requires-Dist: google-adk>=2.7; extra == 'all'
Requires-Dist: huggingface-hub; extra == 'all'
Requires-Dist: lancedb; extra == 'all'
Requires-Dist: langfuse; extra == 'all'
Requires-Dist: mlflow; extra == 'all'
Requires-Dist: openai-agents<0.21,>=0.20; extra == 'all'
Requires-Dist: openai<3,>=2.54; extra == 'all'
Requires-Dist: pandas; extra == 'all'
Requires-Dist: plotly; extra == 'all'
Requires-Dist: pydantic; extra == 'all'
Requires-Dist: pydantic-ai<2.32,>=2.31; extra == 'all'
Requires-Dist: pymilvus; extra == 'all'
Requires-Dist: qdrant-client; extra == 'all'
Requires-Dist: redis; extra == 'all'
Requires-Dist: sentence-transformers; extra == 'all'
Requires-Dist: sse-starlette; extra == 'all'
Requires-Dist: streamlit; extra == 'all'
Requires-Dist: surrealdb; extra == 'all'
Requires-Dist: torch; extra == 'all'
Requires-Dist: transformers; extra == 'all'
Requires-Dist: uvicorn; extra == 'all'
Requires-Dist: weaviate-client; extra == 'all'
Provides-Extra: all-with-mlx
Requires-Dist: agent-framework>=1.16; extra == 'all-with-mlx'
Requires-Dist: azure-identity; extra == 'all-with-mlx'
Requires-Dist: chromadb; extra == 'all-with-mlx'
Requires-Dist: claude-agent-sdk>=0.2; extra == 'all-with-mlx'
Requires-Dist: deepagents<0.8,>=0.7; extra == 'all-with-mlx'
Requires-Dist: dspy>=3.3; extra == 'all-with-mlx'
Requires-Dist: faiss-cpu; extra == 'all-with-mlx'
Requires-Dist: fastapi; extra == 'all-with-mlx'
Requires-Dist: google-adk>=2.7; extra == 'all-with-mlx'
Requires-Dist: huggingface-hub; extra == 'all-with-mlx'
Requires-Dist: lancedb; extra == 'all-with-mlx'
Requires-Dist: langfuse; extra == 'all-with-mlx'
Requires-Dist: mlflow; extra == 'all-with-mlx'
Requires-Dist: mlx-lm; extra == 'all-with-mlx'
Requires-Dist: openai-agents<0.21,>=0.20; extra == 'all-with-mlx'
Requires-Dist: openai<3,>=2.54; extra == 'all-with-mlx'
Requires-Dist: pandas; extra == 'all-with-mlx'
Requires-Dist: plotly; extra == 'all-with-mlx'
Requires-Dist: pydantic; extra == 'all-with-mlx'
Requires-Dist: pydantic-ai<2.32,>=2.31; extra == 'all-with-mlx'
Requires-Dist: pymilvus; extra == 'all-with-mlx'
Requires-Dist: qdrant-client; extra == 'all-with-mlx'
Requires-Dist: redis; extra == 'all-with-mlx'
Requires-Dist: sentence-transformers; extra == 'all-with-mlx'
Requires-Dist: streamlit; extra == 'all-with-mlx'
Requires-Dist: surrealdb; extra == 'all-with-mlx'
Requires-Dist: torch; extra == 'all-with-mlx'
Requires-Dist: transformers; extra == 'all-with-mlx'
Requires-Dist: uvicorn; extra == 'all-with-mlx'
Requires-Dist: weaviate-client; extra == 'all-with-mlx'
Provides-Extra: chromadb
Requires-Dist: chromadb>=1.5.5; extra == 'chromadb'
Requires-Dist: sentence-transformers; extra == 'chromadb'
Provides-Extra: cloud
Provides-Extra: data
Provides-Extra: dev
Requires-Dist: black; extra == 'dev'
Requires-Dist: mypy; extra == 'dev'
Requires-Dist: pre-commit; extra == 'dev'
Requires-Dist: pytest; extra == 'dev'
Requires-Dist: pytest-asyncio; extra == 'dev'
Requires-Dist: pytest-cov; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Provides-Extra: docs
Requires-Dist: mkdocs; extra == 'docs'
Requires-Dist: mkdocs-material; extra == 'docs'
Requires-Dist: mkdocs-mermaid2-plugin; extra == 'docs'
Requires-Dist: pymdown-extensions; extra == 'docs'
Provides-Extra: faiss
Requires-Dist: faiss-cpu; extra == 'faiss'
Requires-Dist: sentence-transformers; extra == 'faiss'
Provides-Extra: frameworks
Requires-Dist: agent-framework>=1.16; extra == 'frameworks'
Requires-Dist: azure-identity; extra == 'frameworks'
Requires-Dist: claude-agent-sdk>=0.2; extra == 'frameworks'
Requires-Dist: deepagents<0.8,>=0.7; extra == 'frameworks'
Requires-Dist: dspy>=3.3; extra == 'frameworks'
Requires-Dist: google-adk>=2.7; extra == 'frameworks'
Requires-Dist: openai-agents<0.21,>=0.20; extra == 'frameworks'
Requires-Dist: openai<3,>=2.54; extra == 'frameworks'
Requires-Dist: pydantic-ai<2.32,>=2.31; extra == 'frameworks'
Provides-Extra: frameworks-claude-sdk
Requires-Dist: claude-agent-sdk>=0.2; extra == 'frameworks-claude-sdk'
Provides-Extra: frameworks-deepagents
Requires-Dist: deepagents<0.8,>=0.7; extra == 'frameworks-deepagents'
Provides-Extra: frameworks-dspy
Requires-Dist: dspy>=3.3; extra == 'frameworks-dspy'
Provides-Extra: frameworks-google
Requires-Dist: google-adk>=2.7; extra == 'frameworks-google'
Provides-Extra: frameworks-microsoft
Requires-Dist: agent-framework>=1.16; extra == 'frameworks-microsoft'
Requires-Dist: azure-identity; extra == 'frameworks-microsoft'
Provides-Extra: frameworks-openai
Requires-Dist: openai-agents<0.21,>=0.20; extra == 'frameworks-openai'
Requires-Dist: openai<3,>=2.54; extra == 'frameworks-openai'
Provides-Extra: frameworks-pydantic-ai
Requires-Dist: pydantic-ai<2.32,>=2.31; extra == 'frameworks-pydantic-ai'
Provides-Extra: huggingface
Requires-Dist: accelerate; extra == 'huggingface'
Requires-Dist: fastapi; extra == 'huggingface'
Requires-Dist: huggingface-hub; extra == 'huggingface'
Requires-Dist: torch; extra == 'huggingface'
Requires-Dist: transformers; extra == 'huggingface'
Requires-Dist: uvicorn; extra == 'huggingface'
Provides-Extra: lancedb
Requires-Dist: lancedb; extra == 'lancedb'
Requires-Dist: sentence-transformers; extra == 'lancedb'
Provides-Extra: logfire
Requires-Dist: logfire; extra == 'logfire'
Provides-Extra: mcp
Requires-Dist: mcp; extra == 'mcp'
Provides-Extra: milvus
Requires-Dist: pymilvus; extra == 'milvus'
Requires-Dist: sentence-transformers; extra == 'milvus'
Provides-Extra: ml-cross-platform
Requires-Dist: huggingface-hub; extra == 'ml-cross-platform'
Requires-Dist: torch; extra == 'ml-cross-platform'
Requires-Dist: transformers; extra == 'ml-cross-platform'
Provides-Extra: mlx
Requires-Dist: mlx-lm; extra == 'mlx'
Provides-Extra: observability
Requires-Dist: langfuse; extra == 'observability'
Requires-Dist: mlflow; extra == 'observability'
Requires-Dist: pandas; extra == 'observability'
Requires-Dist: plotly; extra == 'observability'
Provides-Extra: phoenix
Requires-Dist: arize-phoenix-otel>=0.15.0; extra == 'phoenix'
Requires-Dist: openinference-instrumentation-crewai; extra == 'phoenix'
Requires-Dist: openinference-instrumentation-dspy; extra == 'phoenix'
Requires-Dist: openinference-instrumentation-google-adk; extra == 'phoenix'
Requires-Dist: openinference-instrumentation-openai; extra == 'phoenix'
Requires-Dist: openinference-instrumentation-openai-agents; extra == 'phoenix'
Requires-Dist: openinference-instrumentation-pydantic-ai; extra == 'phoenix'
Requires-Dist: openinference-instrumentation>=0.1.44; extra == 'phoenix'
Provides-Extra: protocols-a2a
Requires-Dist: fastapi>=0.115.2; extra == 'protocols-a2a'
Requires-Dist: sse-starlette; extra == 'protocols-a2a'
Requires-Dist: uvicorn>=0.35.0; extra == 'protocols-a2a'
Provides-Extra: qdrant
Requires-Dist: qdrant-client; extra == 'qdrant'
Requires-Dist: sentence-transformers; extra == 'qdrant'
Provides-Extra: redis
Requires-Dist: redis; extra == 'redis'
Provides-Extra: surrealdb
Requires-Dist: sentence-transformers; extra == 'surrealdb'
Requires-Dist: surrealdb; extra == 'surrealdb'
Provides-Extra: testing
Requires-Dist: pytest; extra == 'testing'
Requires-Dist: pytest-asyncio; extra == 'testing'
Requires-Dist: pytest-cov; extra == 'testing'
Requires-Dist: pytest-mock; extra == 'testing'
Requires-Dist: responses; extra == 'testing'
Provides-Extra: turboagents
Requires-Dist: chromadb>=1.5.5; extra == 'turboagents'
Requires-Dist: sentence-transformers; extra == 'turboagents'
Requires-Dist: turboagents[rag]>=0.1.0a2; extra == 'turboagents'
Provides-Extra: ui
Requires-Dist: pandas; extra == 'ui'
Requires-Dist: plotly; extra == 'ui'
Requires-Dist: streamlit; extra == 'ui'
Provides-Extra: vectordb
Requires-Dist: chromadb>=1.5.5; extra == 'vectordb'
Requires-Dist: faiss-cpu; extra == 'vectordb'
Requires-Dist: lancedb; extra == 'vectordb'
Requires-Dist: pymilvus; extra == 'vectordb'
Requires-Dist: qdrant-client; extra == 'vectordb'
Requires-Dist: sentence-transformers; extra == 'vectordb'
Requires-Dist: surrealdb; extra == 'vectordb'
Requires-Dist: turboagents[rag]>=0.1.0a2; extra == 'vectordb'
Requires-Dist: weaviate-client; extra == 'vectordb'
Provides-Extra: weaviate
Requires-Dist: sentence-transformers; extra == 'weaviate'
Requires-Dist: weaviate-client; extra == 'weaviate'
Provides-Extra: web
Requires-Dist: fastapi; extra == 'web'
Requires-Dist: pydantic; extra == 'web'
Requires-Dist: uvicorn; extra == 'web'
Description-Content-Type: text/markdown

<div align="center">
  <a href="https://superagenticai.github.io/superoptix/">
    <img src="https://raw.githubusercontent.com/SuperagenticAI/superoptix/main/docs/logo.png" alt="SuperOptiX Logo" width="260" />
  </a>
  <h1>SuperOptiX AI</h1>
  <h3><strong>Agent-to-Agent (A2A) Interoperability and Optimization Layer</strong></h3>
  <p>Make the agents you already run A2A-compliant, and get them discovered.</p>

  <div style="margin: 20px 0;">
    <a href="https://badge.fury.io/py/superoptix">
      <img src="https://badge.fury.io/py/superoptix.svg" alt="PyPI version" />
    </a>
    <a href="LICENCE">
      <img src="https://img.shields.io/badge/License-Apache_2.0-blue.svg" alt="License: Apache 2.0" />
    </a>
    <a href="https://www.python.org/downloads/">
      <img src="https://img.shields.io/badge/python-3.11+-blue.svg" alt="Python 3.11+" />
    </a>
    <img src="https://img.shields.io/badge/A2A%20TCK-100%25%20MUST-1C6B48.svg" alt="100% MUST on the A2A TCK" />
    <img src="https://img.shields.io/badge/runtimes-8-purple.svg" alt="8 agent runtimes" />
  </div>
</div>

---

## What it does

Agents built on different frameworks cannot call each other. A2A is the protocol
that lets them, and SuperOptiX gives an agent an A2A interface without asking you
to rewrite it.

Point it at an agent you already run. SuperOptiX reads its structure, works out
the skills a calling agent would route on, and writes an Agent Card and a
conformant server. Your code is not modified.

Being reachable is only half the problem. Whether another agent chooses to call
yours depends on how its card describes it, so SuperOptiX also measures that and
improves it.

## Install

Requires Python 3.11+ and [uv](https://docs.astral.sh/uv/).

```bash
uv tool install superoptix
```

To adapt or serve agents over A2A:

```bash
uv tool install superoptix --with "superoptix[a2a]"
```

To add SuperOptiX to an existing project:

```bash
uv add superoptix
```

## Adapt an existing agent

```bash
super a2a adapt --entrypoint mycrew:crew --framework crewai
```

This writes three files to `./a2a`:

| File | Contents |
|---|---|
| `agent-card.json` | A2A 1.0 Agent Card, advertising both the 1.0 and 0.3 spec lines |
| `a2a_server.py` | ASGI application that imports your agent and serves it |
| `agentspec.json` | The generated intermediate representation |

Serve it with any ASGI host:

```bash
uvicorn a2a.a2a_server:app --port 8000
curl localhost:8000/.well-known/agent-card.json
```

The framework is detected when you omit `--framework`. Use `--url` to set the
address the card advertises, and `--out` to choose the output directory.

## Supported runtimes

| Runtime | `--framework` | Skills derived from |
|---|---|---|
| DSPy | `dspy` | Signature instructions, inputs and outputs |
| CrewAI | `crewai` | Crew tasks, or agent roles when there are none |
| OpenAI Agents SDK | `openai` | Tool names and descriptions |
| Pydantic AI | `pydantic-ai` | Function toolset entries |
| Google ADK | `google-adk` | Agent description, plus sub-agents |
| Claude Agent SDK | `claude-sdk` | Agent definition or system prompt |
| DeepAgents | `deepagents` | Subagent names and descriptions |
| Microsoft Agent Framework | `microsoft` | Agent description and instructions |

Install the matching extra to work with a runtime, for example
`uv tool install superoptix --with "superoptix[frameworks-openai]"`.

CrewAI installs separately, because it requires `chromadb~=1.1.0` while the
vector store extras require `chromadb>=1.5.5`:

```bash
uv tool install superoptix --with "crewai>=1.15"
```

## Conformance

Measured against the [official A2A Technology Compatibility Kit](https://github.com/a2aproject/a2a-tck):

| Level | Compliance |
|---|---|
| MUST | 100% |
| SHOULD | 100% |
| MAY | 100% |

The suite runs in CI on every change to the protocol layer, and the build fails
if compliance regresses. An adapted agent scores 86.3% MUST, which matches the
published SuperOptiX endpoint. The difference is a set of TCK scenario hooks
that a production agent should not implement.

A live endpoint runs at
[a2a.superoptix.ai](https://a2a.superoptix.ai/.well-known/agent-card.json), with
its Agent Card published at
[superoptix.ai/.well-known/agent-card.json](https://superoptix.ai/.well-known/agent-card.json).

## Protocol surface

All eleven A2A 1.0 methods answer. Push notification configuration and the
extended agent card return the errors the specification defines for an agent
that does not offer them.

Both the JSON-RPC 2.0 and HTTP+JSON bindings are served. One endpoint handles
A2A 1.0 and 0.3, selected with the `A2A-Version` request header, because five of
the eight supported runtimes declare no A2A dependency and the three that do sit
below 1.0.

gRPC and signed Agent Cards are not implemented.

Agents adapted by SuperOptiX keep using their MCP tools. SuperOptiX changes how
an agent is reached rather than how it works, and exposing an agent as an MCP
server is not supported.

## Discoverability

A calling agent decides whether to invoke yours by reading `skills[].description`
on your card. Those strings are the routing interface.

Four sibling skills, identical queries, differing only in how each describes
itself:

| Catalogue | Invocation | Discovery |
|---|---|---|
| Vague | 12.5% | 75% |
| Specific | 100% | 100% |

`superoptix.protocols.a2a.routing` scores this, and GEPA improves it by
rewriting the descriptions. On the vague catalogue above it raises invocation
from 12.5% to 75%.

## Compiling from a specification

SuperOptiX also compiles agents from SuperSpec, a declarative YAML format, into
native code for any supported runtime.

```bash
super agent pull developer
super agent compile developer --framework dspy
super agent run developer --framework dspy --goal "Design a migration strategy"
```

GEPA optimization is available on the compiled agent:

```bash
super agent compile developer --framework dspy --optimize
super agent optimize developer --framework dspy --auto light
```

## Documentation

- [Adapting an existing agent](https://superagenticai.github.io/superoptix/guides/a2a-adapt/)
- [A2A conformance](https://superagenticai.github.io/superoptix/guides/a2a-conformance/)
- [Routing quality](https://superagenticai.github.io/superoptix/guides/a2a-routing/)
- [Quick start](https://superagenticai.github.io/superoptix/quick-start/)
- [CLI reference](https://superagenticai.github.io/superoptix/guides/cli-complete-guide/)
- [Runtime feature matrix](https://superagenticai.github.io/superoptix/guides/framework-feature-matrix/)
- [Troubleshooting](https://superagenticai.github.io/superoptix/guides/troubleshooting-by-symptom/)

Full documentation is at
[superagenticai.github.io/superoptix](https://superagenticai.github.io/superoptix/).

## Telemetry

SuperOptiX collects anonymous usage data. Disable it with:

```bash
export SUPEROPTIX_TELEMETRY=false
```

## Links

- Website: [superoptix.ai](https://superoptix.ai)
- Package: [pypi.org/project/superoptix](https://pypi.org/project/superoptix/)
- Source: [github.com/SuperagenticAI/superoptix](https://github.com/SuperagenticAI/superoptix)
- Changelog: [CHANGELOG.md](CHANGELOG.md)

## License

Apache License 2.0. See [LICENCE](LICENCE).
