noeta-sdk
The thin in-process client surface (noeta.sdk facade — query / Client
/ Options / tool / extension interfaces) over the
noeta-runtime kernel, plus the built-in
plugin catalogue (noeta.builtins — every official capability
implementation: the fs/web tool packs, provider adapters, guards, reminders,
memory, browser, app, MCP, sandbox backends, skills, the ReAct policy) and
the official presets. Like
claude-agent-sdk / LangChain: import noeta.sdk, run an agent in-process; no
engine internals, no HTTP server.
Part of the Noeta workspace. Apache-2.0.
Install
pip install noeta-sdk # noeta-runtime comes along as a transitive dependency
Then import noeta.sdk — that single module is the whole public surface. Python 3.11+.
Quickstart — zero credentials
No API key, no network: drive one turn with the deterministic offline provider
from noeta.sdk.testing.
import tempfile
from pathlib import Path
from noeta.sdk import Options, query, LLMResponse, TextBlock, Usage
from noeta.sdk.testing import FakeLLMProvider
provider = FakeLLMProvider(
responses=[
LLMResponse(
stop_reason="end_turn",
content=[TextBlock(text="Hello from a Noeta SDK agent!")],
usage=Usage(uncached=1, output=1),
)
]
)
with tempfile.TemporaryDirectory() as tmp:
result = query(
Options(
system_prompt="You are a concise assistant.",
allowed_tools=("read",),
permission_mode="bypassPermissions",
),
goal="Say hello.",
provider=provider,
workspace_dir=Path(tmp),
model="stub-model",
)
assert result.answer() == "Hello from a Noeta SDK agent!"
query returns the full event-envelope stream for the turn; result.answer()
reads the answer off the terminal envelope. Swap the FakeLLMProvider for a live
adapter from noeta.sdk.providers (AnthropicProvider / OpenAICompatProvider)
to connect a real model — the provider is wiring, not agent identity.
Learn more
- Runnable
examples/— a minimal agent, custom tools, an in-process MCP server, a permission gate, provider swapping, sub-agent delegation, and survivingkill -9mid-task. - Documentation — tutorials, how-to guides, and the SDK reference.
Release files for noeta-sdk 0.6.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| noeta_sdk-0.6.19.tar.gz | 463.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| noeta_sdk-0.6.19-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.0 MB
Release files / noeta_sdk-0.6.19.tar.gz
| Download URL | noeta_sdk-0.6.19.tar.gz |
|---|---|
| Size | 463.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9770c358d365d1dc7de57083d2936b2485b3ed4528a4e3825791f4804bb62667
|
|
BLAKE2b-256 checksum How to use checksums |
c40b17fa784d8e148c8be12e1216f99aaedec1c24ed451c09cdb876cda6aa331
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / noeta_sdk-0.6.19-py3-none-any.whl
| Download URL | noeta_sdk-0.6.19-py3-none-any.whl |
|---|---|
| Size | 565.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e36f6a5ed1d18f91995bdd7a2ea7f2c8a0e78dceca3bb4a25efacb6596b16aa0
|
|
BLAKE2b-256 checksum How to use checksums |
51c943308525081c414e3e5be63d7784bee6eeed5bc70f50d3564308b0963720
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|