Skip to main content

autourgos-starter

Framework: Autourgos Python License: Apache 2.0 Author Contributor Contributor

The fastest way to get a working Autourgos agent running. Bundles the recommended default stack as real pip dependencies (nothing vendored or copied) and gives you one function that wires them together.

from autourgos_starter import create_starter_agent, tool

@tool
def add(a: float, b: float) -> float:
    """Add two numbers together."""
    return a + b

agent = create_starter_agent()
agent.add_tools(add)

result = agent.invoke("What is 12 + 30?")
print(result)

Features

  • One function, one working agent — create_starter_agent() wires autourgos-agent + autourgos-openaichat + autourgos-buffer-memory together with sensible defaults
  • Nothing vendored — every dependency is a real, independently-installable, independently-maintained package
  • Optional scaffolding, not a requirement — swap in a different memory or LLM backend any time by using autourgos-agent directly

Table of Contents


Install

pip install autourgos-starter

Set your API key:

export OPENAI_API_KEY="sk-..."

Quick Start

This whole block is copy-pasteable — no placeholder variables to fill in.

from autourgos_starter import create_starter_agent, tool

@tool
def add(a: float, b: float) -> float:
    """Add two numbers together."""
    return a + b

agent = create_starter_agent()
agent.add_tools(add)

result = agent.invoke("What is 12 + 30?")
print(result)

That's it — two lines to build the agent (create_starter_agent() and agent.add_tools(add)), one line to run it (agent.invoke(...)).


What's Actually Happening

autourgos-starter is just a convenience wrapper. create_starter_agent() does this:

from autourgos_agent import Agent
from autourgos_openaichat import OpenAIChatModel
from autourgos_buffer_memory import ConversationBufferMemory

llm = OpenAIChatModel(model="gpt-4o-mini", api_key=None, system_instruction=None)
memory = ConversationBufferMemory()
agent = Agent(llm=llm, memory=memory)

Three real, independently-installable packages, each maintained on its own:

  • autourgos-agent — the agent loop itself (Agent, tool).
  • autourgos-openaichat — the LLM backend (OpenAIChatModel), talks to the OpenAI Chat Completions API or any OpenAI-compatible endpoint (set base_url to point at a local server such as Ollama, LM Studio, or vLLM).
  • autourgos-buffer-memory — the memory backend (ConversationBufferMemory), an unbounded in-memory conversation buffer.

This package is optional scaffolding, not a requirement to use the Autourgos framework. If you want a different memory backend (e.g. autourgos-summary-memory, autourgos-token-memory) or a different LLM backend (e.g. autourgos-responses), skip autourgos-starter and wire Agent up to those packages directly — that's exactly what this package does under the hood, just with sensible defaults picked for you.


create_starter_agent() Reference

def create_starter_agent(
    api_key: str | None = None,
    model: str = "gpt-4o-mini",
    system_prompt: str | None = None,
    **kwargs,
) -> Agent
Argument Default Meaning
api_key None OpenAI API key. Falls back to the OPENAI_API_KEY env var if not given.
model "gpt-4o-mini" OpenAI model name, e.g. "gpt-4o", "gpt-4o-mini".
system_prompt None Optional system instruction, forwarded to OpenAIChatModel.
**kwargs — Forwarded to Agent — e.g. verbose=True, max_iterations=10, memory=... to override the default ConversationBufferMemory, middleware=[...].

Returns an Agent instance. Call agent.add_tools(...) before agent.invoke(...) / agent.ainvoke(...).


Also Re-Exported

So you don't need to know which sub-package a class lives in:

from autourgos_starter import Agent, tool, OpenAIChatModel, ConversationBufferMemory

ReactAgent is also re-exported as a deprecated alias for Agent, for code written against the pre-rename autourgos-react-agent-based version of this package.


License

Apache License 2.0, Copyright (c) 2026 Jitin Kumar Sengar

Metadata

Release files for autourgos-starter 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autourgos-starter 1.0.4
File Size Uploaded
autourgos_starter-1.0.4.tar.gz 15.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for autourgos-starter 1.0.4
File Interpreter ABI Platform
autourgos_starter-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 28.9 kB

Release files / autourgos_starter-1.0.4.tar.gz

Download URL autourgos_starter-1.0.4.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
84294f316e389f06bed4763e27f163f590c115ff0517a4a85c4c9de8d4b49d66
BLAKE2b-256 checksum
How to use checksums
e1c5a7644326bc47b3742c15a7f85c238def6602558a6d31116641ea649d0bc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release files / autourgos_starter-1.0.4-py3-none-any.whl

Download URL autourgos_starter-1.0.4-py3-none-any.whl
Size 13.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
94293cb8b6288c7da3940d204daf7f7b8dd8e528883c1f0b454233426e874dff
BLAKE2b-256 checksum
How to use checksums
dc1a4b381fe5087ffc0b50f4b42d9115df65d4aee1f1bb10168200d6f90e1eba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release history Release notifications | RSS feed

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

This release

1.0.4 This release

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page