autourgos-starter
The fastest way to get a working Autourgos agent running.
Newcomers to the framework normally have to find and install a core agent
package, an LLM backend, and a memory backend separately, each with its
own README, before they get anything working. autourgos-starter
bundles the recommended default stack as real pip dependencies (nothing
vendored or copied) and gives you one function that wires them together.
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 (setbase_urlto 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
MIT
Metadata
Release files for autourgos-starter 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| autourgos_starter-1.0.3.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| autourgos_starter-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.5 kB
Release files / autourgos_starter-1.0.3.tar.gz
| Download URL | autourgos_starter-1.0.3.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bdd659d9f69d56d2eb533e0fea8014dd23c23c600131c83b2e71278f1bd4e697
|
|
BLAKE2b-256 checksum How to use checksums |
9aed8185df7fcac0ce3c8c784ffaf78b165c0cdce1b092c75445d0fa806a0c23
|
| 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.3-py3-none-any.whl
| Download URL | autourgos_starter-1.0.3-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f11a30a944c46a1c74d20fdeb62cc07ed0f7abd08355cbdeb06dd5d8511e959
|
|
BLAKE2b-256 checksum How to use checksums |
337d1f522c157e44f4b761868bffd4f7149ff10a49fd09abd1edc9f9c255a943
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|