Hi everyone, super new to OpenHands, I'm looking t...
# questions
w
Hi everyone, super new to OpenHands, I'm looking to create a search agent using the SDK, like the one I have already created with Claude Agents SDK. Does the SDK support custom system prompts and custom MCP servers?
w
It does!
I think the Agent class has a
system_prompt
parameter
@chilly-france-44439 we should add autogenerated python API docs to the site
w
Thanks so much
c
i tried to do that a while ago and it seems a bit more noisy than just checking out the source code though..
w
having clear python docs is pretty standard
it also encourages us to keep the comments up to date
we can probably include/exclude certain classes too
c
@nutritious-balloon-65098, please create an issue in the OpenHands/docs repo to mention that we need a reference documentation generated from the python codebase "OpenHands/software-agent-sdk", and auto updated it to the OpenHands/docs repo (there's already an existing GitHub overflow that automatically pull stuff from the sdk repo and update docs, you can mention in the user we should create a new workflow similar to that)
n
I'm on it! Xingyao Wang can track my progress here.
✅ Task Complete: GitHub Issue Created I've successfully created a GitHub issue in the OpenHands/docs repository to request auto-generated Python API reference documentation from the OpenHands/software-agent-sdk codebase. 📝 Issue Details Issue #65: Add auto-generated Python API reference documentation from software-agent-sdk Labels:
enhancement
,
documentation
📦 What's Included in the Issue The issue provides a comprehensive proposal that includes: 1. Justification - Explains why Python API docs are standard practice and beneficial 2. Current Workflows - References the existing automation: ◦
.github/workflows/sync-docs-code-blocks.yml
(syncs code examples) ◦
.github/workflows/sync-agent-sdk-openapi.yml
(syncs OpenAPI specs) 3. Proposed Approach - Suggests creating a similar workflow that: ◦ Checks out the software-agent-sdk repo ◦ Generates Python API documentation (using tools like Sphinx, pdoc, or mkdocstrings) ◦ Converts to Mintlify-compatible MDX format ◦ Auto-commits and pushes to the docs repo ◦ Runs on schedule and on-demand 4. Implementation Guidance - Covers scope, format, navigation, and location considerations 5. Example Workflow - Provides a YAML template following existing patterns 6. Benefits - Lists advantages including easier API discovery and encouraging better docstrings The issue is now open and ready for team discussion and implementation! 🚀 <sub>View full conversation</sub>