bitra
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| XAI_API_KEY | No | API key for the xai provider. | |
| GROQ_API_KEY | No | API key for the groq provider (free tier); the provider named by `tra init my-desk --profile autonomous --agent groq`. | |
| GEMINI_API_KEY | No | API key for the google provider. | |
| GOOGLE_API_KEY | No | Alternative API key for the google provider. | |
| OPENAI_API_KEY | No | API key for the openai provider. | |
| 9ROUTER_API_KEY | No | API key for the 9router provider, a local router. | |
| MISTRAL_API_KEY | No | API key for the mistral provider. | |
| DEEPSEEK_API_KEY | No | API key for the deepseek provider. | |
| ANTHROPIC_API_KEY | No | API key for the anthropic provider. | |
| DASHSCOPE_API_KEY | No | API key for the qwen provider. | |
| OPENROUTER_API_KEY | No | API key for the openrouter provider. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
These tools read the gates of a trading research record: the cost floor, a sealed pre-registration, a dataset audit, a layer-5 validation, the kill ledger, the promotion ladder and a run report. They measure; they never trade, promote or record. Every number in basis points is a Decimal string; every time is UTC. Paths resolve under the directory the server was started in, and hidden files are never read. The order of work an idea follows: search_ledger (did it already die?), check_cost_floor, audit_dataset, observe_events, check_registration, validate_trades; read_run_report and list_runs read what a run did.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| check_cost_floorA | Check whether a claimed edge can pay for trading it, before any data is touched. |
| observe_eventsA | Layer 1: count whether the event declared in observation.toml recurs in a dataset. |
| check_registrationA | Read a sealed pre-registration: its hypothesis, universe, power and kill criteria. |
| audit_datasetA | Audit a raw trade archive before anything is tested on it. |
| validate_tradesA | Layer 5: judge a set of closed trades against the registration sealed before them. |
| show_ledgerA | List the kill ledger: every verdict that stands, and the count per verdict. |
| show_ladderA | Show the promotion ladder: the tier a strategy is on and how it got there. |
| read_run_reportA | Read one run's report: what a replay, paper or canary run did, and how it ended. |
| search_ledgerA | Search the kill ledger for verdicts that mention the words in |
| list_runsA | List past runs under a directory, newest first, with the summary of each. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
Each tool targets a distinct pipeline stage or artifact (cost floor, dataset audit, event observation, registration, validation, run listing, run report, ladder, ledger), and descriptions explicitly route between near-pairs (list_runs vs read_run_report, show_ledger vs search_ledger). The only real overlap is the ledger pair, which is clearly signposted as whole-picture vs. query-specific, so misselection risk is low but not zero.
Every tool follows a strict snake_case verb_noun pattern: show_ladder, list_runs, read_run_report, audit_dataset, check_cost_floor, check_registration, observe_events, search_ledger, show_ledger, validate_trades. The verb choices (show/list/read/audit/check/observe/search/validate) map predictably to what each tool does, with no casing or style deviations.
Ten tools is well within the ideal band and each maps to a genuine stage of the research lifecycle: cost check, dataset audit, event observation, registration inspection, validation, plus run/ledger/ladder inspection. No tool looks redundant or padded.
The surface is deliberately read-only: there is no way to seal a pre-registration (only check one), write a verdict to the kill ledger, promote/demote a strategy, or launch a backtest/replay, all of which the descriptions reference as existing elsewhere. Core read and validation workflows are covered, but agents hitting the write side of the lifecycle will dead-end and must fall back to other surfaces.