Skip to main content

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 surviving kill -9 mid-task.
  • Documentation — tutorials, how-to guides, and the SDK reference.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

noeta_sdk-0.6.5.tar.gz (445.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

noeta_sdk-0.6.5-py3-none-any.whl (545.0 kB view details)

Uploaded Python 3

File details

Details for the file noeta_sdk-0.6.5.tar.gz.

File metadata

  • Download URL: noeta_sdk-0.6.5.tar.gz
  • Upload date:
  • Size: 445.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","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}

File hashes

Hashes for noeta_sdk-0.6.5.tar.gz
Algorithm Hash digest
SHA256 5d4f95eb1b548af0dd3de1ef619f7a34d5e6954dd411ea4329573b1fff8f27b9
MD5 593ca745c5b7c59bfc0b5f330743804d
BLAKE2b-256 be71f3c218e8fbd0e3ae15867460104df5a417cc76fab787233a5aded67d3df9

See more details on using hashes here.

File details

Details for the file noeta_sdk-0.6.5-py3-none-any.whl.

File metadata

  • Download URL: noeta_sdk-0.6.5-py3-none-any.whl
  • Upload date:
  • Size: 545.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","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}

File hashes

Hashes for noeta_sdk-0.6.5-py3-none-any.whl
Algorithm Hash digest
SHA256 cd8608969267db3f3934dbc2e60a276d77c5b868577571c8faf414be038881fb
MD5 838ea3f72a9b2861dba21c9085fe512a
BLAKE2b-256 1e94a5352de337ed2dab7612d40e83e258c07ca6c0dd2dd029929235ba4cc91a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page