Question intake
Student asks a mixed FAQ and account question.
All samples · Agent orchestration
A tool-calling pattern that chooses FAQ lookup or human escalation instead of answering everything directly.
Problem
During the hackathon, students ask repeated schedule and submission questions, but account or secret issues need tutor escalation.
Users
Student teams, tutors, and operations staff handling D-day support.
Why this track
This is the in-curriculum chance to practice ReAct-style orchestration and tool boundaries without building a large agent platform.
Stay minimal. 5-6 nodes. Each arrow is one network hop.
user
Student question
agent
gpt-4o-mini agent loop
tools
Tool schema registry
faq
lookup_faq()
human
escalate_to_human()
state
Team issue state
Edges
Starting prompts. Iterate. Move the system prompt into prompts/system.md so it can be versioned.
You are a hackathon service triage agent. Use lookup_faq for public schedule, submission, and cost questions. Use escalate_to_human for account, key, private data, or unresolved issues. Never claim you fixed an account yourself. Our app cannot call Azure and we also need to know when submission closes. The pattern shape. Read it, run the matching scaffold, then adapt the idea for your own team.
first = client.chat.completions.create(
model=deployment,
messages=messages,
tools=TOOLS,
)
call = first.choices[0].message.tool_calls[0]
result = run_local_tool(call.function.name, call.function.arguments)
messages += [first.choices[0].message, tool_message(call.id, result)]
final = client.chat.completions.create(model=deployment, messages=messages)
# ... your turn: add one safe tool for your domain
Reference: src/techniques/agent_orchestration/ in halla-ai/hackathon-sample-2026
Three screens that prove the prototype works.
Student asks a mixed FAQ and account question.
Debug panel shows FAQ lookup plus tutor escalation note.
Final answer separates public guidance from tutor follow-up.
Uses gpt-4o-mini chat plus tool calls. Keep to one or two tool turns per request; most demos stay below USD 1.
If you finish the 1-day path early, use one question below to make the project more original.