Developer Resources

Everything you need to build intelligent agents with deterministic memory

Get Started in 5 Minutes

1

Get Your API Key

Sign up and get 5,000 free walks/month. No credit card required.

# Visit https://mantr.net/signup
# Click "Generate New Key" in dashboard
# Copy your key: vak_live_...
2

Install SDK

Python
pip install mantr
Node.js
npm install @mantr/sdk
Go
go get github.com/Mantrnet/go-sdk
3

Make Your First Call

from mantr import MantrClient

# Initialize
mantr = MantrClient(api_key='vak_live_...')

# Walk the semantic graph
result = mantr.walk(
  phonemes=['dharma', 'karma', 'yoga']
)

print(result.paths)  # Semantic connections found
4

Integrate with Your LLM

# Get context from Mantr
context = mantr.walk(query="user authentication")

# Pass to your LLM
response = openai.chat.completions.create(
  model="gpt-4",
  messages=[
    {"role": "system", "content": f"Context: {context}"},
    {"role": "user", "content": "How do I implement OAuth?"}
  ]
)

Official SDKs

Choose your language and start building. All SDKs are production-ready with comprehensive documentation.

Python

v1.0.3

Pydantic validation, retry logic, context managers

pip install mantrView on PyPI →

TypeScript

v1.0.3

Full types, Node.js & browser support

npm i @mantr/sdkView on npm →

Idiomatic, zero dependencies

go get github.com/Mantrnet/go-sdkView on pkg.go.dev →

Rust

v1.0.3

Async Tokio, full Serde support

cargo add mantr-sdkView on crates.io →

.NET/C#

v1.0.3

.NET 6.0+, async/await

dotnet add package Mantr.SDKView on NuGet →

JavaScript

v1.0.3

Same as TypeScript, pure JS output

npm i @mantr/sdkView on npm →

Ready to Build?

Get your API key and start building intelligent agents today.