Quick Start¶
Get Akasha running and execute your first operations in under 5 minutes.
1. Start Akasha¶
Verify it's running:
2. Write Your First Record¶
curl -s http://localhost:7777/api/v1/records/hello/world \
-X POST -H "Content-Type: application/json" \
-d '{"value": {"message": "Hello from Akasha!"}}'
3. Read It Back¶
{
"path": "hello/world",
"value": {"message": "Hello from Akasha!"},
"version": 1,
"content_type": "application/json"
}
4. Try With a SDK¶
from akasha import AkashaHttpClient
client = AkashaHttpClient(base_url="http://localhost:7777")
# Write
record = client.put("agents/planner/state", {
"status": "analyzing",
"confidence": 0.85,
})
print(f"Written: version {record.version}")
# Read
state = client.get("agents/planner/state")
print(f"Status: {state.value['status']}")
# Query
agents = client.query("agents/*/state")
print(f"Found {len(agents)} agents")
# Subscribe to changes
for event in client.subscribe("agents/**"):
print(f"[{event.kind}] {event.path}")
import { AkashaHttpClient } from 'akasha-memory';
const client = new AkashaHttpClient({
baseUrl: 'http://localhost:7777',
});
// Write
const record = await client.put('agents/planner/state', {
status: 'analyzing',
confidence: 0.85,
});
console.log(`Written: version ${record.version}`);
// Read
const state = await client.get('agents/planner/state');
console.log(`Status: ${state?.value.status}`);
// Query
const agents = await client.query('agents/*/state');
console.log(`Found ${agents.length} agents`);
5. Explore the Playground¶
Open the Interactive Playground to try all Akasha features from your browser — no code required.
Next Steps¶
- Installation options — Docker, binary, source, cluster
- Core concepts — Memory layers, pheromones, CAS
- API Reference — All 21 endpoints documented