Catalog PyPI
Back to packageRELEASE DETAILS

0.1.0

PyPI

aacp-langchain

AACP coordination layer for LangChain multi-agent workflows

aacpagentscoordinationlangchainllmmulti-agentprotocol
Published5 Jun 2026
Direct dependencies5
Transitive dependenciesNot calculated

README

Version 0.1.0 documentation

aacp-langchain

AACP coordination layer for LangChain multi-agent workflows.

AACP replaces natural language agent-to-agent instructions with typed, validated, deterministic packets. LangChain handles agent lifecycle, memory, and tooling. AACP handles what the agents say to each other.

Install

pip install aacp-langchain

Quick start

from aacp_langchain import AACPOrchestrator

orch = AACPOrchestrator(model="gpt-4.1-mini")
result = orch.run_workflow("payroll", period="2026-03")
print(result.summary())

Measured results

Payroll workflow comparison. gpt-4.1-mini. June 2026.

                        WITHOUT AACP    WITH AACP
Coordination LLM calls:        4            0
Coordination cost:          $0.0024      $0.0000
Agent cost:                 $0.0035      $0.0035
Total cost:                 $0.0059      $0.0035
Total saving:                             18%
Coordination deterministic:    NO          YES
Schema validated:              NO          YES

Department day comparison (59 coordination hops)

python3 examples/department_comparison.py --mock
                        WITHOUT AACP    WITH AACP
Coordination LLM calls:       59            0
Coordination cost:         $0.0031      $0.0000
Total saving:                             18%
Deterministic:                 NO          YES

Without AACP vs With AACP

Without aacp-langchain:
  Orchestrator
    ↓ "Please ask the HR agent to retrieve salary records..."
  LLM call  ← costs tokens, varies every run
    ↓ "HR Agent, could you fetch the employee salary data?"
  HR Agent

With aacp-langchain:
  Orchestrator
    ↓ FETCH|HR|return:ORCHESTRATOR|p:1|aacp:1.1|res:emp_salary|period:2026-03
  HR Agent  ✓ validates. $0.00 encoding.

Workflows

# Payroll (5 hops)
result = orch.run_workflow("payroll", period="2026-03")

# IT provisioning / JML onboarding (6 hops)
result = orch.run_workflow(
    "it_provisioning",
    username="j.smith",
    dept="Engineering",
    licences=["M365", "Slack"],
)

# Sales qualification (5 hops)
result = orch.run_workflow(
    "sales_qualification",
    lead_id="L-001",
    lead={"budget_gbp": 75000, "timeline_months": 3},
)

Requirements

  • Python 3.10+
  • OPENAI_API_KEY
  • pip install aacp-langchain

Licence

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 6

Native requirements
5 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
aacp
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
aacp>=1.3.0runtime
langchain
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
langchain>=0.2.0runtime
langchain-openai
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
langchain-openai>=0.1.0runtime
langchain-core
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
langchain-core>=0.2.0runtime
langchain-anthropic
Environment
{
  "extras": "",
  "marker": "extra == \"anthropic\"",
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
langchain-anthropic>=0.1.0; extra == "anthropic"runtime
langchain-anthropic
Environment
{
  "extras": "",
  "marker": "extra == \"all\"",
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
langchain-anthropic>=0.1.0; extra == "all"runtime

Distribution files

2 collected
aacp_langchain-0.1.0-py3-none-any.whl

bdist_wheel · 21.98 KB · Python py3

Source file
aacp_langchain-0.1.0.tar.gz

sdist · 19.1 KB · Python source

Source file

Repository

PENDING
mackayandrew/aacp

Shared repository data · GitHub

License detected in repository
Not collected

Repository

PENDING
mackayandrew/aacp-langchain

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 16:51 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:b2794a617ccc4aa6e11f1bc1bfd2dad46ef9889bf3fcd11991d2c446332e43e3

Other collected versions

View all collected versions →