add code-first agent example and isolate core dependencies
This commit is contained in:
@@ -57,6 +57,20 @@ cd exports/my_agent
|
||||
PYTHONPATH=core:exports python -m my_agent validate
|
||||
```
|
||||
|
||||
### Option 3: Manual Code-First (Minimal Example)
|
||||
|
||||
If you prefer to start with code rather than CLI wizards, check out the manual agent example:
|
||||
|
||||
```bash
|
||||
# View the minimal example
|
||||
cat core/examples/manual_agent.py
|
||||
|
||||
# Run it (no API keys required)
|
||||
PYTHONPATH=core python core/examples/manual_agent.py
|
||||
```
|
||||
|
||||
This demonstrates the core runtime loop using pure Python functions, skipping the complexity of LLM setup and file-based configuration.
|
||||
|
||||
## Project Structure
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user