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.23
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.23.tar.gz | 474.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| noeta_sdk-0.6.23-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.1 MB
Release files / noeta_sdk-0.6.23.tar.gz
| Download URL | noeta_sdk-0.6.23.tar.gz |
|---|---|
| Size | 474.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0926654b99bcf0ed9ae37493af9ba1fca871eb2e0c7c34bc7b8323c6b8ac5523
|
|
BLAKE2b-256 checksum How to use checksums |
0a6a3074ebdad86138a51012815793d26569a88f3cbbad3e5f2f7b4eebbcc9af
|
| 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.23-py3-none-any.whl
| Download URL | noeta_sdk-0.6.23-py3-none-any.whl |
|---|---|
| Size | 576.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
52d18a8e22bda733efb634515ce843216514680789ca9a40db514a4c75932f09
|
|
BLAKE2b-256 checksum How to use checksums |
d50fd92326aeaefd71b9e339290bd4790324d6c6492b04d314afd568b8151a4c
|
| 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}
|