Schema-based storage, intelligent ingestion, and real-time
processing.
Build smarter data applications with less code.
From AI-powered ingestion to distributed queries, FoldDB handles the complexity so you can focus on building.
Drop any JSON and let AI automatically generate schemas, map fields, and structure your data. No manual schema definitions required.
let result = ingestion
.process_json(any_json_data)
.await?;
// Schema auto-generated âĻ
Ask questions in plain English. AI interprets your intent and returns structured results.
Event-driven architecture with automatic transform execution as data flows through.
Built-in peer discovery and networking. Scale horizontally without infrastructure changes.
Trust-based access control at the field level. Multi-tenant isolation out of the box.
S3-backed storage and DynamoDB support. Deploy to AWS Lambda with zero modifications.
Schemas evolve with your data. Add fields, update validation, all without migrations.
Plugin system for Twitter, Reddit, webhooks, and custom data sources.
Clean, intuitive APIs that get out of your way. Ship faster with less boilerplate.
Just send your JSON data â FoldDB automatically analyzes it, generates an optimized schema, and stores it.
use datafold::{IngestionCore, IngestionConfig};
use serde_json::json;
let config = IngestionConfig::from_env()?;
let ingestion = IngestionCore::new(config)?;
// Drop any JSON â AI handles the rest
let data = json!({
"user": "alice",
"action": "purchase",
"total": 99.99
});
let result = ingestion
.process_json_ingestion(data).await?;
Ask questions in plain English and get structured results.
use datafold::DataFoldNode;
let node = DataFoldNode::new_with_defaults().await?;
// Natural language query
let response = node.ai_query(
"Show me all purchases over $50"
).await?;
for item in response.results {
println!("{}: ${}", item.user, item.total);
}
First-class serverless support with DynamoDB multi-tenant isolation.
use datafold::lambda::{LambdaConfig, LambdaContext};
let config = LambdaConfig::new(
LambdaStorage::DynamoDb(DynamoDbConfig {
region: "us-east-1".to_string(),
tables: ExplicitTables::from_prefix("MyApp"),
auto_create: true,
}),
);
LambdaContext::init(config).await?;
Full TypeScript support with intelligent caching and standardized error handling.
import { schemaClient } from '@datafold/client';
const response = await schemaClient.getSchemas();
if (response.success) {
const schemas = response.data;
schemas.forEach(s => console.log(s.name));
}
Install via Cargo or download a pre-built binary.
cargo install datafoldSet your OpenRouter API key for AI features (optional).
export OPENROUTER_API_KEY="sk-..."Start the HTTP server with the web UI.
datafold_http_server --port 9001Open localhost:9001 and start ingesting data.
open http://localhost:9001Join developers building the next generation of data applications with FoldDB.