Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bsorrentino committed Mar 15, 2024
1 parent c0bdcb9 commit ef5ba26
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,29 @@
# LangGraph-Swift
🚀 LangGraph for Swift. A library for building stateful, multi-actor applications with LLMs, built on top of LangChain-Swift
# LangGraph for Swift
🚀 LangGraph for Swift. A library for building stateful, multi-actor applications with LLMs, built on top of [LangChain-Swift].
> It is a porting of original [LangGraph] from [LangChain AI project][langchain.ai] in Swift fashion

## Adding LangGraph for Swift as a Dependency

To use the LangGraph for Swift library in a [SwiftPM] project, add the following line to the dependencies in your `Package.swift` file:

```Swift
.package(url: "https://github.com/bsorrentino/LangGraph-Swift.git", from: "1.0.0"),
```
Include `LangGraph` as a dependency for your executable target:

```Swift
.target(name: "<target>", dependencies: [
.product(name: "AsyncAlgorithms", package: "swift-async-algorithms"),
]),
```

Finally, add `import LangGraph` to your source code.




[SwiftPM]: https://www.swift.org/documentation/package-manager/
[langchain-swift]: https://github.com/buhe/langchain-swift.git
[langchain.ai]: https://github.com/langchain-ai
[langgraph]: https://github.com/langchain-ai/langgraph

0 comments on commit ef5ba26

Please sign in to comment.