MoonBit version of LangChain core library — type-safe, composable, embeddable AI Agent framework. Depends on mizchi/llm for LLM clients and colmugx/mcp for MCP tool calling.
let version : Stringlet prompt = @prompts.ChatPromptTemplate::new()
|> @prompts.ChatPromptTemplate::with_system("You are a helpful assistant.")
|> @prompts.ChatPromptTemplate::with_user("What is {topic}?")
let chain = @chains.LLMChain::new(model.boxed(), prompt)
let result = chain.invoke({ "topic": "MoonBit" })Install
Download zipMoonBit version of LangChain core library — type-safe, composable, embeddable AI Agent framework. Depends on mizchi/llm for LLM clients and colmugx/mcp for MCP tool calling.