stata-code / setup / openai-agents
Setup guide
Set up stata-code in OpenAI Agents SDK
communitystdiodestructive capableno verified config · noindex
Agent-native Stata bridge for empirical research — run DiD/IV/RDD and publication-ready tables from Claude Code, Jupyter, or VS Code on one token-economy result schema, with StatsPAI cross-validation. | 面向实证研究的智能体 Stata 桥接器——在 Claude Code、Jupyter、VS Code 中用一套省 token 的结果格式跑 DiD/IV/RDD 与出版级表格,并支持 StatsPAI 跨栈交叉验证。
01Configuration
# stata-code via OpenAI Agents SDK
# transport: stdio
# launch: uvx --from stata-code[mcp] stata-code-mcp
OpenAI Agents SDK connects to MCP servers in code. Use its MCP client with the command/URL below; exact API varies by version.
02Steps
- Make sure OpenAI Agents SDK is installed and up to date.
- Wire the server into OpenAI Agents SDK using its MCP client API.
- Provide any required API keys/credentials as environment variables.
- Restart OpenAI Agents SDK and confirm stata-code’s tools appear.
03Other runtimes
04Provenance
config_sourcegenerated from captured install method
last_checked2026-07-26 08:47Z
sourcesGitHub repo search [p4]
Next step
Want agents that act within guardrails? Apex is the live governed-agent product — paced, capped, and fully-logged actions with approvals before anything runs.
Explore Apex →See also: server page · is it safe? · alternatives