Observed since 20 Oct, 18:43 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
LangChain helpers for acty payloads
acty-langchain provides LangChain-specific helpers for the Acty ecosystem:
message serialization, repair hints for malformed JSON outputs, and runnable
executor utilities that integrate with acty.
Runtime helpers only:
pip install acty-langchain
If you want to run LangChain runnables through ActyEngine:
pip install acty acty-langchain
For local development:
pip install -e .[dev]
from langchain_core.messages import HumanMessage
from acty_langchain import messages_to_acty_payload, messages_from_acty_payload
payload = messages_to_acty_payload(
[HumanMessage(content="hello")],
payload={"exec_id": "chat"},
)
roundtrip = messages_from_acty_payload(payload)
These helpers convert LangChain messages into JSON-safe payload structures that can be stored, retried, or cached inside Acty workflows.
The runnable executor accepts payloads shaped like:
{
"runnable": my_chain,
"input": {"question": "hi"},
}
Resolver-based execution can also use:
{
"exec_id": "qa",
"input": {"question": "hi"},
}
from acty import ActyEngine, EngineConfig
from acty_langchain import LangChainRunnableExecutor, runnable_retry_factory
engine = ActyEngine(
executor=LangChainRunnableExecutor(),
config=EngineConfig(
attempt_retry_policy=runnable_retry_factory(),
),
)
acty-langchain also includes repair utilities for invalid JSON responses:
from acty_langchain import DefaultPromptedJsonRepairer
repairer = DefaultPromptedJsonRepairer(
system_instruction="Return only valid JSON.",
repair_request="Please repair the assistant output above.",
)
tests/acty-core at runtimeacty so runnable executor integration can be exercisedDownload counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0 | 5 Apr 2026 | 8 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 18:43 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:67258b826465100af64d302b9a31a3d17d5f6acf1ee3a6b0409805e616c308c6