Getting Started
Get your AI agents governed with MeshGuard in minutes.
1. Create Your Account
Option A: Via Website (Recommended)
Visit meshguard.app and chat with Scout. Say "Create account" or "Start free" to begin.
You'll receive:
- API Key (
msk_...) — Identifies your organization - Admin Token (
msat_...) — For managing agents and policies - Agent Token (optional) — If you created a first agent
Save Your Credentials
These tokens are shown only once. Store them securely!
Option B: Via API
bash
curl -X POST https://dashboard.meshguard.app/signup \
-H "Content-Type: application/json" \
-d '{
"name": "Your Company",
"email": "you@company.com",
"agentName": "my-first-agent"
}'2. Install the SDK
bash
pip install meshguardWith LangChain support:
bash
pip install meshguard[langchain]3. Configure Your Client
python
from meshguard import MeshGuardClient
client = MeshGuardClient(
gateway_url="https://dashboard.meshguard.app",
agent_token="your-agent-token", # From signup
)Or use environment variables:
bash
export MESHGUARD_GATEWAY_URL="https://dashboard.meshguard.app"
export MESHGUARD_AGENT_TOKEN="your-agent-token"python
from meshguard import MeshGuardClient
client = MeshGuardClient() # Auto-loads from env4. Govern Your First Action
python
# Check if an action is allowed
decision = client.check("read:contacts")
if decision.allowed:
print("✅ Access granted!")
# Proceed with your action
else:
print(f"❌ Denied: {decision.reason}")5. View Your Dashboard
Visit dashboard.meshguard.app:
- Enter your API Key in the Gateway URL field (it auto-fills)
- Enter your Admin Token
- Click Connect
You'll see:
- Real-time audit log
- Your agents
- Active policies
- Usage statistics
Next Steps
- Quick Start — 2-minute integration
- Python SDK — Full SDK reference
- LangChain Integration — Govern LangChain agents
- Create Policies — Define what agents can do
