Agents From Scratch
agents_from_scratch is a small Python project for learning agent design from first principles.
It focuses on a clear baseline: tool registration, simple tool routing, and predictable behavior.
Project goals
- Keep the core agent logic small and easy to inspect.
- Provide runnable examples for experimentation.
- Offer a clean package foundation that can grow into more advanced agents.
What is included
SimpleAgent: a minimal text agent with pluggable tools.- Built-in sample tools:
upperfor text transformation.mathfor basic arithmetic evaluation.
- CLI demo entrypoint:
agents-from-scratch-demo. - Example script and tests to show expected behavior.
Quick start
uv sync
uv run agents-from-scratch-demo
Try prompts like:
helpupper: hello worldmath: (2 + 3) * 4what can you do?
Repository layout
agents_from_scratch/: package source codeexamples/: runnable examplestests/: package tests
Package name
The distribution name is agents-from-scratch, and the import package is agents_from_scratch.
Metadata
Release files for agents-from-scratch 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 | Provenance | Actions |
|---|---|---|---|---|
| agents_from_scratch-0.1.0.tar.gz | 8.4 kB | Without provenance | Details for agents_from_scratch-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agents_from_scratch-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for agents_from_scratch-0.1.0-py3-none-any.whl |
Total release size: 20.1 kB
Release files / agents_from_scratch-0.1.0.tar.gz
| Download URL | agents_from_scratch-0.1.0.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
754871a5736f92b51f4278e578e6084dbec389da4789bfc9fe83cf6b71f47ba8
|
|
BLAKE2b-256 checksum How to use checksums |
a1616c89aabf912f5ff2f2c04f03b7b7fb86d0fd490ec1ce2c38bdc4b9ee2b0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / agents_from_scratch-0.1.0-py3-none-any.whl
| Download URL | agents_from_scratch-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
13a94f6607d1a0373d2495dd9d6dd62b00831ee16e4b045f58f556ba61044956
|
|
BLAKE2b-256 checksum How to use checksums |
96a4185d8cb51c6d93f5bfe76ae3ff7a196e393876897c478ebda4a9d421abf9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for agents-from-scratch 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.