# Beava SDK reference > Beava is a single-binary real-time feature server for fraud, ad-tech, and behavioral analytics. This is the SDK reference: boot configuration, Python SDK, HTTP API, and wire spec. This is the **tier-1 index** (short, structured). For the full plain-text concatenation of every SDK page, see [llms-full.txt](https://beava.dev/sdk/llms-full.txt). Generated by `beava-website/scripts/build-llms-txt.mjs` from the canonical HTML pages under `beava-website/project/sdk/`. Regenerate with `npm run build:llms` after page edits. ## Start here - [Quickstart](https://beava.dev/sdk/python/): Install the beava server, install the Python SDK, push your first event and query the feature — in five minutes. Sections: `#pick-a-path` Pick a path · `#install` 01 Install beava · `#declare` 02 Declare your first feature · `#push-read` 03 Push events, read the feature · `#parameters` App parameters · `#faq` Common questions · `#next` Where to go next ## Server - [Server configuration](https://beava.dev/sdk/server/): Boot the beava server: CLI flags, environment variables, and YAML config. The full surface for spinning up a beava instance. Sections: `#overview` Overview · `#cli` CLI flags · `#subcommands` Subcommands · `#env` Environment variables · `#yaml` YAML config · `#precedence` Precedence · `#defaults` Default ports and paths · `#faq` Common questions · `#next` Where to go next ## Python SDK - [App client (bv.App)](https://beava.dev/sdk/python/app/): bv.App() — the synchronous Python client for the beava feature server. Seven wire-mapped methods: register, push, get, batch_get, reset, ping, close. Sections: `#overview` Overview · `#constructor` Constructor parameters · `#methods` Methods · `#lifecycle` Lifecycle · `#faq` Common questions · `#next` Where to go next - [@bv.event](https://beava.dev/sdk/python/event/): @bv.event — declare event sources and derivations for beava. Class form attaches a typed schema; def form wraps a chain into a stable, addressable name. Sections: `#overview` Overview · `#class-form` Class form · `#def-form` Def form · `#kwargs` Optional kwargs · `#wire-shape` Wire shape · `#faq` Common questions · `#next` Where to go next - [@bv.table](https://beava.dev/sdk/python/table/): @bv.table — the decorator that materializes a per-entity feature row from a group_by(...).agg(...) chain. Single-column keys, composite keys, and global tables. Sections: `#overview` Overview · `#signature` Signature · `#single-key` Single-column key · `#composite-key` Composite key · `#global-table` Global table · `#chain` The chain function · `#wire-shape` Wire shape · `#faq` Common questions · `#next` Where to go next - [bv.col / bv.lit](https://beava.dev/sdk/python/col-lit/): bv.col and bv.lit — the column-reference and literal-value primitives that build predicates and operator field expressions in the beava chain DSL. Sections: `#overview` Overview · `#dsl` Expression DSL · `#where` The where= contract · `#faq` Common questions · `#next` Where to go next - [Operator catalogue](https://beava.dev/sdk/python/operators/): The primitives behind live product reflexes — 55 aggregation operators across seven families (core, sketch, recency, decay, velocity, buffer, geo) that turn raw events into decision features. Every operator's signature, return type, and worked example. Sections: `#overview` Overview · `#glance` At a glance · `#core` Core · `#sketch` Sketch · `#recency` Recency · `#decay` Decay · `#velocity` Velocity · `#buffer` Buffer · `#geo` Geo · `#next` Where to go next - [Errors](https://beava.dev/sdk/python/errors/): The two-tier error model: client-side Python exceptions (RegistrationError, ValidationError, BinaryNotFoundError) and the wire-level error codes the server returns under `error.code`. Sections: `#overview` Overview · `#python-exceptions` Python exceptions · `#wire-codes` Wire error codes · `#faq` Common questions · `#next` Where to go next ## HTTP API - [POST /push](https://beava.dev/sdk/http/push/): POST /push — push a single event to the beava feature server. Verb-style JSON body {event, data}; ACK includes the durable WAL log offset and the registry version stamp. Sections: `#overview` Overview · `#request` Request · `#response` Response · `#errors` Errors · `#example` Worked example: end-to-end · `#tcp` TCP equivalent · `#faq` Common questions · `#next` Where to go next - [POST /get](https://beava.dev/sdk/http/get/): POST /get reads one feature row by entity key. Cold-start (no events for that key) returns {} with HTTP 200 — never a 404. Sections: `#overview` Overview · `#request` Request · `#response` Response · `#features` The features filter · `#composite-keys` Composite keys · `#errors` Errors · `#tcp` TCP equivalent · `#faq` Common questions · `#next` Where to go next - [POST /register](https://beava.dev/sdk/http/register/): POST /register — register event sources and derivations on a running beava server. Hot-reloadable; bumps registry_version on every successful call. Sections: `#overview` Overview · `#request` Request · `#response-success` Response — success · `#dry-run` Dry-run · `#force` Force replace · `#errors` Errors · `#tcp` TCP equivalent · `#faq` Common questions · `#next` Where to go next - [Wire spec](https://beava.dev/sdk/http/wire-spec/): Beava ships two transports — HTTP/1.1 on port 8080 and a custom-framed TCP fast-path on port 8081. Both carry the same JSON envelope per opcode. Reference for routes, frame format, and opcodes. Sections: `#overview` Overview · `#http` HTTP routes · `#tcp-frame` TCP frame format · `#opcodes` TCP opcode table · `#content-type` Content type byte · `#fifo` Strict-FIFO contract · `#errors` Errors · `#http-vs-tcp` HTTP vs TCP — when to use which · `#faq` Common questions · `#next` Where to go next ## Full content - [llms-full.txt](https://beava.dev/sdk/llms-full.txt): All SDK pages concatenated as plain text with markdown headings + fenced code blocks. ~145 KB. Single fetch covers the full surface.