Vystak framework adapter — generates LangChain/LangGraph agent code
Project description
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— LangGraphcreate_react_agentsetup bound to the configured model and toolsserver.py— FastAPI server exposing/invoke,/stream,/health,/.well-known/agent.json,/a2arequirements.txt— pinned runtime deps (langgraph,langchain-anthropic,fastapi, etc.)- Session/memory stores — wired up automatically when
sessionsormemoryare 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vystak_adapter_langchain-0.1.0.tar.gz.
File metadata
- Download URL: vystak_adapter_langchain-0.1.0.tar.gz
- Upload date:
- Size: 21.5 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e1ffdc6f5ddabe29bba489a191d773a2b6f1c3f5107e8675e3eb47e44c08d47
|
|
| MD5 |
656d80b1ee3a30256ed67e69a0b6ad89
|
|
| BLAKE2b-256 |
376ec54831fc1df9b522a737ac536ade44ea2847d0f5eb6e4bf44314c8f5d2b1
|
File details
Details for the file vystak_adapter_langchain-0.1.0-py3-none-any.whl.
File metadata
- Download URL: vystak_adapter_langchain-0.1.0-py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4224d4c6856a2c6777a545c95b7ab681078d8922e9b9b9499e6b81359102732c
|
|
| MD5 |
d03fb235baa4c4dcbe5a190e3f977c54
|
|
| BLAKE2b-256 |
d1a9b9aeb9e891a27e42c35191dd038a3c3739d675b85183029c047a9a74ed98
|