Personal Assistant Agent
Standalone Python project for the reusable agent layer extracted from PersonalAssistant.
Included
personal_assistant_agent.agent.Agentpersonal_assistant_agent.agent.AgentConfigpersonal_assistant_agent.agent.AzureOpenAIModelConfigpersonal_assistant_agent.api.create_app()for the FastAPI chat API wrapper
Install
pip install -e .
Run the API locally
uvicorn personal_assistant_agent.api:app --reload --port 8000
Minimal usage
from langchain_core.messages import HumanMessage
from personal_assistant_agent.agent import Agent, AgentConfig
from personal_assistant_agent.enums import LLM_PROVIDER
config = AgentConfig(
nickname="assistant",
host="http://127.0.0.1:1234",
model="google/gemma-3-4b",
temperature=0.2,
provider=LLM_PROVIDER.LMSTUDIO,
)
agent = Agent(config)
response = agent.invoke(HumanMessage(content="Hello"))
print(response.content)
Test
pytest
Metadata
Release files for personal-assistant-agent 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| personal_assistant_agent-0.1.0.tar.gz | 10.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| personal_assistant_agent-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.0 kB
Release files / personal_assistant_agent-0.1.0.tar.gz
| Download URL | personal_assistant_agent-0.1.0.tar.gz |
|---|---|
| Size | 10.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ebac8397cfdca8a2a587160b80604932f3a12863102cfacf26ddc3e8027ad235
|
|
BLAKE2b-256 checksum How to use checksums |
ff0e0ba5e31917c18089408f32487783c5ed972aafa20956297659a979af8290
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / personal_assistant_agent-0.1.0-py3-none-any.whl
| Download URL | personal_assistant_agent-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd2efaffbffabce6a8b137269addc0c66e64de1fdc9d2c02b09ffae45213da38
|
|
BLAKE2b-256 checksum How to use checksums |
314bfdbdbb7c331a300ae4d7bd554d540b818276aa8eee308e82770b88391bc2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|