Docs menu

What we reuse

Upstream OSS — borrow vs build.

Receipt, gate, and why() are build. Everything else prefers upstream OSS — Langfuse for design, Agenta for Python forks, OTEL/OpenInference for wire format.

Detectors watch. We watch → stop → prove.

Langfuse (MIT core — never /ee)

Full extraction map: sdk-agent/LANGFUSE_EXTRACTION.md in the Agenko repo (monorepo, sdk-agent/).

Langfuse assetAgenkoStatus
Prompt cache (SWR + TTL + fallback)agenko.prompts.get_prompt()Shipped
Deploy-by-label promptsprompts.labels + ?label=productionShipped
{{mustache}} compilePrompt.compile()Shipped
Unified Score schemadomains/scores/ + receipt checksShipped
Dataset + DatasetItem/api/v1/datasetsShipped
OpenInference conventionsobservability/conventions.pyShipped
Evaluator libraryAgenta fork → agenko/evals/Next
S3 → queue → ClickHouse ingestWorker tierWhen volume demands

License text: agenko/THIRD_PARTY_LICENSES.md in the Agenko repo.

Agenta (MIT Python — fork next)

ComponentTarget
Evaluator libraryagenko-python/evals/
Testset-from-tracesDataset curation from prod spans
Custom-code sandboxDeterministic eval tier
SuperTokens wiringSelf-host auth (partial today)

Already in the SDK

  • Receipt checks[] are Langfuse Score-shaped (name, value, data_type, source, comment).
  • Tool observations are OpenInference TOOL.
  • init() resolves one base URL from AGENKO_HOST (Langfuse-style host config).
  • Auto-instrumentation uses Arize OpenInference instrumentors.

Prompt example

python
import agenko
from agenko.prompts import get_prompt

agenko.init()
p = get_prompt("support-reply", label="production", fallback="Hi {{name}}")
text = p.compile(name="Sam", ticket="refund")

cache_ttl_seconds=0 disables cache in dev (Langfuse convention).

Attribution

MIT code keeps copyright notices in THIRD_PARTY_LICENSES / licenses/. Apache-2.0 (ours) and MIT are compatible. We do not ship proprietary /ee modules from Langfuse or enterprise-only Agenta surfaces.

This docs site

Separate Next.js app with Arovi tokens — grouped nav, Python/JS tabs, search, self-hosting as a first-class section.

Agent instructions

This page is part of the Agenko documentation at docs.agenko.app. Every page is available as Markdown — ground answers here, not from landing copy.

Querying these docs

Before writing SDK code

  • Install the agent skill or read Agent skill
  • Read Best practices — what a good receipt looks like
  • Trust boundary: @check after, @approve before
  • init() — zero required args, never throws
  • Mark estimated: true until a check is a hard fact
  • Shipped vs backlog: Introduction status table

Page: What we reuse
HTML: https://docs.agenko.app/reuse
Markdown: https://docs.agenko.app/reuse.md