Skip to main content

vystak-adapter-langchain

Framework adapter that generates LangChain / LangGraph agent code from a Vystak Agent definition.

Vystak targets frameworks — it doesn't abstract them. This adapter emits idiomatic LangGraph react-agent code plus a FastAPI harness and A2A protocol endpoints, written as plain Python source files you can read, debug, and extend.

Install

pip install vystak-adapter-langchain

Usually you don't install this directly — vystak-cli depends on it and invokes it automatically.

What it generates

For each vystak apply, the adapter writes:

  • agent.py — LangGraph create_react_agent setup bound to the configured model and tools
  • server.py — FastAPI server exposing /invoke, /stream, /health, /.well-known/agent.json, /a2a
  • requirements.txt — pinned runtime deps (langgraph, langchain-anthropic, fastapi, etc.)
  • Session/memory stores — wired up automatically when sessions or memory are declared on the agent
  • Tool stubs — scaffolded from tools/ directory of Python files

A2A protocol

Generated servers implement Google's Agent-to-Agent JSON-RPC 2.0 protocol — agents discover each other via /.well-known/agent.json and communicate via /a2a with tasks/send, tasks/sendSubscribe, tasks/get, tasks/cancel.

License

Apache-2.0

Release files for vystak-adapter-langchain 0.1.0

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

Source distribution (sdist)

Source distribution for vystak-adapter-langchain 0.1.0
File Size Uploaded
vystak_adapter_langchain-0.1.0.tar.gz 21.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vystak-adapter-langchain 0.1.0
File Interpreter ABI Platform
vystak_adapter_langchain-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 40.7 kB

Release files / vystak_adapter_langchain-0.1.0.tar.gz

Download URL vystak_adapter_langchain-0.1.0.tar.gz
Size 21.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1e1ffdc6f5ddabe29bba489a191d773a2b6f1c3f5107e8675e3eb47e44c08d47
BLAKE2b-256 checksum
How to use checksums
376ec54831fc1df9b522a737ac536ade44ea2847d0f5eb6e4bf44314c8f5d2b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / vystak_adapter_langchain-0.1.0-py3-none-any.whl

Download URL vystak_adapter_langchain-0.1.0-py3-none-any.whl
Size 19.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4224d4c6856a2c6777a545c95b7ab681078d8922e9b9b9499e6b81359102732c
BLAKE2b-256 checksum
How to use checksums
d1a9b9aeb9e891a27e42c35191dd038a3c3739d675b85183029c047a9a74ed98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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