From 228de401c11256f86de404e8cdba1b1629f43cfc Mon Sep 17 00:00:00 2001 From: dcocco Date: Tue, 13 Jan 2026 11:41:18 +0100 Subject: [PATCH 1/3] gitignore update --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 9cd448c7b..89ff1d490 100644 --- a/.gitignore +++ b/.gitignore @@ -72,6 +72,8 @@ docs/_build/ .scrapy profile_default/ ipython_config.py +development/.buildinfo +development/.doctrees/ # OS generated files .DS_Store From 5796aafde521cae9fa20750a2661d9e491e7e8a8 Mon Sep 17 00:00:00 2001 From: dcocco Date: Tue, 13 Jan 2026 14:05:58 +0100 Subject: [PATCH 2/3] Updated deployment docs --- development/_components/llm_config_tabs.html | 10 +- .../constraints.txt | 2 +- development/_sources/adapters/autogen.rst.txt | 61 -- .../adapters/autogen/autogen_to_spec.rst.txt | 12 + .../_sources/adapters/autogen/index.rst.txt | 43 ++ .../adapters/autogen/spec_to_autogen.rst.txt | 12 + .../_sources/adapters/langgraph.rst.txt | 60 -- .../_sources/adapters/langgraph/index.rst.txt | 44 ++ .../langgraph/langgraph_to_spec.rst.txt | 11 + .../langgraph/spec_to_langgraph.rst.txt | 12 + .../index.rst.txt} | 34 +- .../adapters/wayflow/spec_to_wayflow.rst.txt | 12 + .../adapters/wayflow/wayflow_to_spec.rst.txt | 11 + .../agentspec/language_spec_nightly.rst.txt | 14 +- development/_sources/changelog.rst.txt | 11 + development/_sources/docs_home.rst.txt | 8 +- development/_static/documentation_options.js | 2 +- .../adapters/autogen/autogen_to_spec.html | 584 +++++++++++++++ development/adapters/autogen/index.html | 601 +++++++++++++++ .../spec_to_autogen.html} | 312 +++----- development/adapters/langgraph.html | 701 ------------------ development/adapters/langgraph/index.html | 601 +++++++++++++++ .../adapters/langgraph/langgraph_to_spec.html | 607 +++++++++++++++ .../adapters/langgraph/spec_to_langgraph.html | 612 +++++++++++++++ development/adapters/wayflow/index.html | 601 +++++++++++++++ .../spec_to_wayflow.html} | 312 +++----- .../adapters/wayflow/wayflow_to_spec.html | 584 +++++++++++++++ development/agentspec/index.html | 28 +- .../agentspec/intro_and_motivation.html | 28 +- .../agentspec/language_spec_25_4_1.html | 28 +- .../agentspec/language_spec_nightly.html | 46 +- development/agentspec/positioning.html | 28 +- development/agentspec/tracing.html | 32 +- development/api/a2a.html | 28 +- development/api/adapters.html | 30 +- development/api/agent.html | 28 +- development/api/agent_specialization.html | 28 +- development/api/agenticpatterns.html | 28 +- development/api/components.html | 28 +- development/api/flows.html | 46 +- development/api/index.html | 28 +- development/api/ioproperties.html | 28 +- development/api/llmmodels.html | 28 +- development/api/mcp.html | 28 +- development/api/remoteagent.html | 28 +- development/api/serialization.html | 28 +- development/api/tools.html | 46 +- development/changelog.html | 40 +- development/conduct.html | 10 +- development/contributing.html | 28 +- development/docs_home.html | 28 +- development/ecosystem/collaborations.html | 28 +- development/ecosystem/integrations.html | 30 +- development/faqs.html | 28 +- development/genindex.html | 10 +- development/howtoguides/howto_a2aagent.html | 28 +- development/howtoguides/howto_ag_ui.html | 28 +- .../howto_agent_with_remote_tools.html | 28 +- development/howtoguides/howto_agents.html | 28 +- .../howto_disaggregated_config.html | 28 +- ...o_execute_agentspec_across_frameworks.html | 30 +- .../howto_execute_agentspec_with_wayflow.html | 30 +- .../howto_flow_with_conditional_branches.html | 28 +- .../howtoguides/howto_generation_config.html | 28 +- .../howto_llm_from_different_providers.html | 28 +- .../howtoguides/howto_managerworkers.html | 28 +- development/howtoguides/howto_mapnode.html | 28 +- development/howtoguides/howto_mcp.html | 28 +- development/howtoguides/howto_ociagent.html | 28 +- .../howtoguides/howto_orchestrator_agent.html | 28 +- .../howtoguides/howto_parallelflownode.html | 28 +- development/howtoguides/howto_plugin.html | 28 +- .../howto_structured_generation.html | 28 +- development/howtoguides/howto_swarm.html | 28 +- development/howtoguides/index.html | 28 +- development/index.html | 10 +- development/installation.html | 32 +- development/misc/glossary.html | 28 +- development/misc/reference_sheet.html | 28 +- development/objects.inv | Bin 5367 -> 5476 bytes development/rfcs-template.html | 10 +- development/search.html | 10 +- development/searchindex.js | 2 +- development/security.html | 28 +- development/style_guide.html | 10 +- 85 files changed, 5720 insertions(+), 1698 deletions(-) delete mode 100644 development/_sources/adapters/autogen.rst.txt create mode 100644 development/_sources/adapters/autogen/autogen_to_spec.rst.txt create mode 100644 development/_sources/adapters/autogen/index.rst.txt create mode 100644 development/_sources/adapters/autogen/spec_to_autogen.rst.txt delete mode 100644 development/_sources/adapters/langgraph.rst.txt create mode 100644 development/_sources/adapters/langgraph/index.rst.txt create mode 100644 development/_sources/adapters/langgraph/langgraph_to_spec.rst.txt create mode 100644 development/_sources/adapters/langgraph/spec_to_langgraph.rst.txt rename development/_sources/adapters/{wayflow.rst.txt => wayflow/index.rst.txt} (50%) create mode 100644 development/_sources/adapters/wayflow/spec_to_wayflow.rst.txt create mode 100644 development/_sources/adapters/wayflow/wayflow_to_spec.rst.txt create mode 100644 development/adapters/autogen/autogen_to_spec.html create mode 100644 development/adapters/autogen/index.html rename development/adapters/{autogen.html => autogen/spec_to_autogen.html} (51%) delete mode 100644 development/adapters/langgraph.html create mode 100644 development/adapters/langgraph/index.html create mode 100644 development/adapters/langgraph/langgraph_to_spec.html create mode 100644 development/adapters/langgraph/spec_to_langgraph.html create mode 100644 development/adapters/wayflow/index.html rename development/adapters/{wayflow.html => wayflow/spec_to_wayflow.html} (51%) create mode 100644 development/adapters/wayflow/wayflow_to_spec.html diff --git a/development/_components/llm_config_tabs.html b/development/_components/llm_config_tabs.html index e6f61f564..fc1f060c1 100644 --- a/development/_components/llm_config_tabs.html +++ b/development/_components/llm_config_tabs.html @@ -10,7 +10,7 @@ - <no title> — PyAgentSpec 26.1.0.dev0 documentation + <no title> — PyAgentSpec 26.1.0.dev4 documentation @@ -136,8 +136,8 @@ - PyAgentSpec 26.1.0.dev0 documentation - Home - PyAgentSpec 26.1.0.dev0 documentation - Home + PyAgentSpec 26.1.0.dev4 documentation - Home + PyAgentSpec 26.1.0.dev4 documentation - Home @@ -184,7 +184,7 @@ Release Notes @@ -248,10 +248,6 @@ - - @@ -278,22 +274,22 @@ @@ -324,7 +320,7 @@ - Agent Spec GitHub repository + Agent Spec GitHub repository @@ -339,76 +335,88 @@ @@ -445,14 +453,17 @@ @@ -469,33 +480,10 @@
-
-

Agent Spec Adapters - AutoGen#

-
-Agent Spec adapter for AutoGen -
-

↑ With the Agent Spec adapter for AutoGen, you can easily import agents from external frameworks using Agent Spec and run them with AutoGen.#

-
-
-

Microsoft AutoGen supports the development of multi-agent conversational systems, -allowing agents to communicate and collaborate to solve tasks.

-
-

Get started#

-

To get started, set up your Python environment (Python 3.10 to 3.12 required), -and then install the PyAgentSpec package with the AutoGen extension.

-
python -m venv .venv
-source .venv/bin/activate  # On Windows: .venv\Scripts\activate
-pip install "pyagentspec[autogen]"
-
-
-

You are now ready to use the adapter:

-
    -
  • Run Agent Spec configurations with AutoGen (see more details below)

  • -
  • Convert AutoGen agents to Agent Spec (see more details below)

  • -
-
-
-

Run Agent Spec configurations with AutoGen#

+
+

Run Agent Spec configurations with AutoGen#

+

This usage example showcases the creation of a simple Agent Spec Agent, subsequently serialized into JSON and converted into an AutoGen +assistant. Also includes mapping of a ServerTool and execution of the conversation.

# Create a Agent Spec agent
 from pyagentspec.agent import Agent
 from pyagentspec.llms.openaicompatibleconfig import OpenAiCompatibleConfig
@@ -550,40 +538,6 @@ 

Get started# AGENT >> The result of the subtraction is 864197532.

-
-
-

Convert AutoGen agents to Agent Spec#

-
# Create an AutoGen Agent
-import os
-os.environ["OPENAI_API_KEY"] = "YOUR_API_KEY"
-from autogen_agentchat.agents import AssistantAgent
-from autogen_ext.models.openai import OpenAIChatCompletionClient
-
-async def add_tool(a: int, b: int) -> int:
-    """Adds a to b and returns the result"""
-    return a + b
-
-autogen_tools = {"add_tool": add_tool}
-
-model_client = OpenAIChatCompletionClient(
-    model="gpt-4.1",
-)
-
-autogen_agent = AssistantAgent(
-    name="assistant",
-    model_client=model_client,
-    tools=list(autogen_tools.values()),
-    system_message="Use tools to solve tasks, and reformulate the answers that you get.",
-    reflect_on_tool_use=True,
-)
-
-# Convert to Agent Spec
-from pyagentspec.adapters.autogen import AgentSpecExporter
-
-agentspec_config = AgentSpecExporter().to_json(autogen_agent)
-
-
-
@@ -597,26 +551,6 @@

Get started - -